Leancrypto 0.12.0
Post-Quantum Cryptographic Library
Loading...
Searching...
No Matches
lc_kdf_dpi.h File Reference
#include "ext_headers.h"
#include "lc_hash.h"
#include "lc_hmac.h"
+ Include dependency graph for lc_kdf_dpi.h:

Go to the source code of this file.

Functions

int lc_kdf_dpi_init (struct lc_hmac_ctx *hmac_ctx, const uint8_t *key, size_t keylen)
 Key-based Key Derivation in Double-Pipeline Mode - SP800-108 - initialization.
 
int lc_kdf_dpi_generate (struct lc_hmac_ctx *hmac_ctx, const uint8_t *label, size_t labellen, uint8_t *dst, size_t dlen)
 Key-based Key Derivation in Double-Pipeline Mode - SP800-108 - data generation.
 
int lc_kdf_dpi (const struct lc_hash *hash, const uint8_t *key, size_t keylen, const uint8_t *label, size_t labellen, uint8_t *dst, size_t dlen)
 One-Shot Key-based Key Derivation in Double-Pipeline Mode - SP800-108.