package core:crypto/hkdf
Overview
package hkdf implements the HKDF HMAC-based Extract-and-Expand Key Derivation Function.
Index
Types (0)
This section is empty.
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedures (3)
Procedure Groups (0)
This section is empty.
Types
This section is empty.
Constants
This section is empty.
Variables
This section is empty.
Procedures
expand ¶
expand derives output keying material (OKM) via the HKDF-Expand algorithm, with the specified hash function, pseudorandom key (PRK), and optional info. The dst buffer must be less-than-or-equal to 255 HMAC tags.
extract ¶
extract derives a pseudorandom key (PRK) via the HKDF-Extract algorithm, with the specified hash function, salt, and input keying material (IKM). It requires that the dst buffer be the HMAC tag size for the specified hash function.
extract_and_expand ¶
extract_and_expand derives output keying material (OKM) via the HKDF-Extract and HKDF-Expand algorithms, with the specified has function, salt, input keying material (IKM), and optional info. The dst buffer must be less-than-or-equal to 255 HMAC tags.
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-17 21:11:00.938928800 +0000 UTC