Searched refs:p_entropy (Results 1 – 5 of 5) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_hmac_drbg.function | 176 entropy_ctx p_entropy; 187 p_entropy.len = unhexify( entropy, entropy_hex ); 188 p_entropy.p = entropy; 194 memcpy( data, entropy, p_entropy.len ); 195 memcpy( data + p_entropy.len, custom, custom_len ); 197 data, p_entropy.len + custom_len ) == 0 ); 209 TEST_ASSERT( mbedtls_hmac_drbg_seed( &ctx, md_info, mbedtls_entropy_func, &p_entropy, 236 entropy_ctx p_entropy; 248 p_entropy.len = unhexify( entropy, entropy_hex ); 249 p_entropy.p = entropy; [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | hmac_drbg.h | 92 void *p_entropy; /*!< context for the entropy function */ member 136 void *p_entropy,
|
D | ctr_drbg.h | 104 void *p_entropy; /*!< context for the entropy function */ member 141 void *p_entropy,
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ctr_drbg.c | 76 void *p_entropy, in mbedtls_ctr_drbg_seed_entropy_len() argument 89 ctx->p_entropy = p_entropy; in mbedtls_ctr_drbg_seed_entropy_len() 107 void *p_entropy, in mbedtls_ctr_drbg_seed() argument 111 return( mbedtls_ctr_drbg_seed_entropy_len( ctx, f_entropy, p_entropy, custom, len, in mbedtls_ctr_drbg_seed() 301 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, in mbedtls_ctr_drbg_reseed()
|
D | hmac_drbg.c | 142 if( ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) != 0 ) in mbedtls_hmac_drbg_reseed() 170 void *p_entropy, in mbedtls_hmac_drbg_seed() argument 191 ctx->p_entropy = p_entropy; in mbedtls_hmac_drbg_seed()
|