Documentation ¶
Overview ¶
package kdf contains implementations of various key derivation functions
Index ¶
Constants ¶
View Source
const (
MaxInt = int(^uint(0) >> 1)
)
Variables ¶
This section is empty.
Functions ¶
func DeriveConcatKDF ¶
func DeriveConcatKDF(keydatalen int, sharedSecret, algId, partyUInfo, partyVInfo, suppPubInfo, suppPrivInfo []byte, h hash.Hash) []byte
DeriveConcatKDF implements NIST SP 800-56A Concatenation Key Derivation Function. Derives key material of keydatalen bits size given Z (sharedSecret), OtherInfo (AlgorithmID | PartyUInfo | PartyVInfo | SuppPubInfo | SuppPrivInfo) and hash function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.