Searched refs:entropylen (Results 1 – 5 of 5) sorted by relevance
/openssl/providers/implementations/kdfs/ |
H A D | hmacdrbg_kdf.c | 36 size_t entropylen, noncelen; member 64 OPENSSL_clear_free(ctx->entropy, ctx->entropylen); in hmac_drbg_kdf_reset() 102 || !ossl_prov_memdup(src->entropy, src->entropylen, in hmac_drbg_kdf_dup() 103 &dst->entropy , &dst->entropylen) in hmac_drbg_kdf_dup() 127 || ctx->entropylen == 0 in hmac_drbg_kdf_derive() 130 || !ossl_drbg_hmac_init(drbg, ctx->entropy, ctx->entropylen, in hmac_drbg_kdf_derive() 197 hmac->entropylen = size; in hmac_drbg_kdf_set_ctx_params()
|
/openssl/providers/implementations/rands/ |
H A D | drbg.c | 353 size_t noncelen = 0, entropylen = 0; in ossl_prov_drbg_instantiate() local 438 entropylen = get_entropy(drbg, &entropy, min_entropy, in ossl_prov_drbg_instantiate() 441 if (entropylen < min_entropylen in ossl_prov_drbg_instantiate() 442 || entropylen > max_entropylen) { in ossl_prov_drbg_instantiate() 449 cleanup_entropy(drbg, entropy, entropylen); in ossl_prov_drbg_instantiate() 453 cleanup_entropy(drbg, entropy, entropylen); in ossl_prov_drbg_instantiate() 489 size_t entropylen = 0; in ossl_prov_drbg_reseed_unlocked() local 562 entropylen = get_entropy(drbg, &entropy, drbg->strength, in ossl_prov_drbg_reseed_unlocked() 565 if (entropylen < drbg->min_entropylen in ossl_prov_drbg_reseed_unlocked() 566 || entropylen > drbg->max_entropylen) { in ossl_prov_drbg_reseed_unlocked() [all …]
|
H A D | drbg_local.h | 75 const unsigned char *entropy, size_t entropylen, 182 const unsigned char *entropy, size_t entropylen,
|
H A D | drbg_ctr.c | 308 const unsigned char *entropy, size_t entropylen, in drbg_ctr_instantiate() argument 323 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen)) in drbg_ctr_instantiate() 352 const unsigned char *entropy, size_t entropylen, in drbg_ctr_reseed() argument 361 if (!ctr_update(drbg, entropy, entropylen, adin, adinlen, NULL, 0)) in drbg_ctr_reseed()
|
/openssl/crypto/ |
H A D | deterministic_nonce.c | 132 const unsigned char *entropy, size_t entropylen, in kdf_setup() argument 153 (void *)entropy, entropylen); in kdf_setup()
|
Completed in 18 milliseconds