Searched refs:f_entropy (Results 1 – 10 of 10) sorted by relevance
/external/openthread/third_party/mbedtls/repo/library/ |
D | ctr_drbg.c | 72 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_free() 98 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_set_nonce_len() 380 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) ) in mbedtls_ctr_drbg_reseed_internal() 389 if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal() 448 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed() 466 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()
|
D | hmac_drbg.c | 180 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core() 198 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core() 246 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed() 273 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed() 347 if( ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()
|
/external/mbedtls/library/ |
D | ctr_drbg.c | 66 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_free() 92 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_set_nonce_len() 361 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) ) in mbedtls_ctr_drbg_reseed_internal() 370 if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal() 429 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed() 445 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()
|
D | hmac_drbg.c | 164 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core() 182 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core() 230 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed() 257 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed() 331 if( ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()
|
/external/mbedtls/include/mbedtls/ |
D | hmac_drbg.h | 101 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */ 201 int (*f_entropy)(void *, unsigned char *, size_t),
|
D | ctr_drbg.h | 198 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); 330 int (*f_entropy)(void *, unsigned char *, size_t),
|
/external/openthread/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_test_lib.c | 111 int ( *f_entropy )( void *, unsigned char *, size_t ) = in rng_seed() local 119 f_entropy, &rng->entropy, in rng_seed() 132 f_entropy, &rng->entropy, in rng_seed()
|
/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
D | hmac_drbg.h | 104 int (*f_entropy)(void *, unsigned char *, size_t); /*!< entropy function */ member 204 int (*f_entropy)(void *, unsigned char *, size_t),
|
D | ctr_drbg.h | 201 int (*f_entropy)(void *, unsigned char *, size_t); member 333 int (*f_entropy)(void *, unsigned char *, size_t),
|
/external/mbedtls/programs/ssl/ |
D | ssl_test_lib.c | 115 int ( *f_entropy )( void *, unsigned char *, size_t ) = in rng_seed() local 123 f_entropy, &rng->entropy, in rng_seed() 136 f_entropy, &rng->entropy, in rng_seed()
|