Searched refs:seedlen (Results 1 – 2 of 2) sorted by relevance
130 size_t seedlen; in mbedtls_hmac_drbg_reseed() local145 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()
291 size_t seedlen = 0; in mbedtls_ctr_drbg_reseed() local307 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()