Searched refs:seedlen (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | hmac_prng.c | 140 unsigned int seedlen, in tc_hmac_prng_reseed() argument 148 seedlen < MIN_SLEN || in tc_hmac_prng_reseed() 149 seedlen > MAX_SLEN) { in tc_hmac_prng_reseed() 163 update(prng, seed, seedlen); in tc_hmac_prng_reseed() 168 update(prng, seed, seedlen); in tc_hmac_prng_reseed()
|
A D | ctr_prng.c | 186 unsigned int seedlen = (unsigned int)TC_AES_KEY_SIZE + (unsigned int)TC_AES_BLOCK_SIZE; in tc_ctr_prng_reseed() local 187 if ((0 != ctx) && (entropyLen >= seedlen)) { in tc_ctr_prng_reseed()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | hmac_drbg.c | 158 size_t seedlen; in mbedtls_hmac_drbg_reseed() local 175 seedlen = ctx->entropy_len; in mbedtls_hmac_drbg_reseed() 180 memcpy( seed + seedlen, additional, len ); in mbedtls_hmac_drbg_reseed() 181 seedlen += len; in mbedtls_hmac_drbg_reseed() 185 if( ( ret = mbedtls_hmac_drbg_update_ret( ctx, seed, seedlen ) ) != 0 ) in mbedtls_hmac_drbg_reseed() 193 mbedtls_platform_zeroize( seed, seedlen ); in mbedtls_hmac_drbg_reseed()
|
A D | ctr_drbg.c | 383 size_t seedlen = 0; in mbedtls_ctr_drbg_reseed() local 401 seedlen += ctx->entropy_len; in mbedtls_ctr_drbg_reseed() 408 memcpy( seed + seedlen, additional, len ); in mbedtls_ctr_drbg_reseed() 409 seedlen += len; in mbedtls_ctr_drbg_reseed() 415 if( ( ret = block_cipher_df( seed, seed, seedlen ) ) != 0 ) in mbedtls_ctr_drbg_reseed()
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | hmac_prng.h | 140 unsigned int seedlen, const uint8_t *additional_input,
|
Completed in 7 milliseconds