Home
last modified time | relevance | path

Searched refs:seedlen (Results 1 – 2 of 2) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/library/
Dhmac_drbg.c130 size_t seedlen; in mbedtls_hmac_drbg_reseed() local
145 seedlen = ctx->entropy_len; in mbedtls_hmac_drbg_reseed()
150 memcpy( seed + seedlen, additional, len ); in mbedtls_hmac_drbg_reseed()
151 seedlen += len; in mbedtls_hmac_drbg_reseed()
155 mbedtls_hmac_drbg_update( ctx, seed, seedlen ); in mbedtls_hmac_drbg_reseed()
Dctr_drbg.c291 size_t seedlen = 0; in mbedtls_ctr_drbg_reseed() local
307 seedlen += ctx->entropy_len; in mbedtls_ctr_drbg_reseed()
314 memcpy( seed + seedlen, additional, len ); in mbedtls_ctr_drbg_reseed()
315 seedlen += len; in mbedtls_ctr_drbg_reseed()
321 block_cipher_df( seed, seed, seedlen ); in mbedtls_ctr_drbg_reseed()