23#include "ext_headers.h"
69 size_t ivlen,
const uint8_t *label,
size_t labellen,
70 uint8_t *dst,
size_t dlen);
92 const uint8_t *iv,
size_t ivlen,
const uint8_t *label,
93 size_t labellen, uint8_t *dst,
size_t dlen);
void lc_hash(const struct lc_hash *hash, const uint8_t *in, size_t inlen, uint8_t *digest)
Calculate message digest - one-shot.
int lc_kdf_fb_init(struct lc_hmac_ctx *hmac_ctx, const uint8_t *key, size_t keylen)
Key-based Key Derivation in Feedback Mode - SP800-108 - initialization.
int lc_kdf_fb(const struct lc_hash *hash, const uint8_t *key, size_t keylen, const uint8_t *iv, size_t ivlen, const uint8_t *label, size_t labellen, uint8_t *dst, size_t dlen)
One-shot Key-based Key Derivation in Feedback Mode - SP800-108.
int lc_kdf_fb_generate(struct lc_hmac_ctx *hmac_ctx, const uint8_t *iv, size_t ivlen, const uint8_t *label, size_t labellen, uint8_t *dst, size_t dlen)
Key-based Key Derivation in Feedback Mode - SP800-108 - data generation.