|
Leancrypto 1.7.2
Post-Quantum Cryptographic Library
|
#include "ext_headers.h"#include "lc_hash.h"#include "lc_rng.h"#include "lc_hmac.h"#include "lc_status.h"
Include dependency graph for lc_kdf_ctr.h:Go to the source code of this file.
Macros | |
| #define | LC_CTR_KDF_DRNG_CTX_ON_STACK(name, hashname) |
| Allocate stack memory for the Counter KDF DRNG context. More... | |
Functions | |
| int | lc_kdf_ctr_init (struct lc_hmac_ctx *hmac_ctx, const uint8_t *key, size_t keylen) |
| Key-based Key Derivation in Counter Mode - SP800-108 - initialization. More... | |
| int | lc_kdf_ctr_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 Counter Mode - SP800-108 - data generation. More... | |
| int | lc_kdf_ctr (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 Counter Mode - SP800-108. More... | |
| enum lc_alg_status_val | lc_kdf_ctr_alg_status (const struct lc_hash *hash) |
| Obtain algorithm status. More... | |
| int | lc_kdf_ctr_rng_alloc (struct lc_rng_ctx **state, const struct lc_hash *hash) |
| Allocation of a Counter KDF DRNG context. More... | |