Lines Matching defs:DecapsulationKey
73 type DecapsulationKey struct { struct
74 dk [DecapsulationKeySize]byte
75 encryptionKey
76 decryptionKey
81 func (dk *DecapsulationKey) Bytes() []byte {
89 func (dk *DecapsulationKey) EncapsulationKey() []byte {
114 func generateKey(dk *DecapsulationKey) (*DecapsulationKey, error) {
134 func newKeyFromSeed(dk *DecapsulationKey, seed []byte) (*DecapsulationKey, error) {
151 func newKeyFromExtendedEncoding(dk *DecapsulationKey, dkBytes []byte) (*DecapsulationKey, error) {
179 func kemKeyGen(dk *DecapsulationKey, d, z *[32]byte) *DecapsulationKey {
366 func Decapsulate(dk *DecapsulationKey, ciphertext []byte) (sharedKey []byte, err error) {
377 func kemDecaps(dk *DecapsulationKey, c *[CiphertextSize]byte) (K []byte) {