Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::Cryptography::Hkdf Struct Reference

Static Public Member Functions

static Result derive (HashType type, Span< const uint8_t > salt, Span< const uint8_t > ikm, Span< const uint8_t > info, Span< uint8_t > output)
 Derive output keying material with RFC5869 HKDF built on top of the native HMAC primitive.
 
static Result derive (Backend backend, HashType type, Span< const uint8_t > salt, Span< const uint8_t > ikm, Span< const uint8_t > info, Span< uint8_t > output)
 Derive output keying material using HMAC from a specific backend.
 

Member Function Documentation

◆ derive() [1/2]

static Result SC::Cryptography::Hkdf::derive ( Backend backend,
HashType type,
Span< const uint8_t > salt,
Span< const uint8_t > ikm,
Span< const uint8_t > info,
Span< uint8_t > output )
static

Derive output keying material using HMAC from a specific backend.

◆ derive() [2/2]

static Result SC::Cryptography::Hkdf::derive ( HashType type,
Span< const uint8_t > salt,
Span< const uint8_t > ikm,
Span< const uint8_t > info,
Span< uint8_t > output )
static

Derive output keying material with RFC5869 HKDF built on top of the native HMAC primitive.

Note
Output is limited to 255 times the selected hash output size. An empty salt uses HashLen zero bytes. On failure output can contain partial keying material and must be treated as unusable.

The documentation for this struct was generated from the following file: