Documentation ¶
Overview ¶
Package mlkem768 provides a KEM wrapper that uses our KEM interfaces.
Index ¶
Constants ¶
View Source
const ( SeedSize = 64 CiphertextSize = mlkem768.CiphertextSize PublicKeySize = mlkem768.EncapsulationKeySize PrivateKeySize = PublicKeySize + mlkem768.DecapsulationKeySize )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func (*PrivateKey) Equal ¶
func (p *PrivateKey) Equal(privkey kem.PrivateKey) bool
func (*PrivateKey) MarshalBinary ¶
func (p *PrivateKey) MarshalBinary() ([]byte, error)
func (*PrivateKey) Public ¶
func (p *PrivateKey) Public() kem.PublicKey
func (*PrivateKey) Scheme ¶
func (p *PrivateKey) Scheme() kem.Scheme
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func (*PublicKey) MarshalBinary ¶
func (*PublicKey) MarshalText ¶
Click to show internal directories.
Click to hide internal directories.