Home
last modified time | relevance | path

Searched refs:f_entropy (Results 1 – 10 of 10) sorted by relevance

/external/openthread/third_party/mbedtls/repo/library/
Dctr_drbg.c72 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()
Dhmac_drbg.c180 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/
Dctr_drbg.c66 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()
Dhmac_drbg.c164 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/
Dhmac_drbg.h101 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */
201 int (*f_entropy)(void *, unsigned char *, size_t),
Dctr_drbg.h198 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/
Dssl_test_lib.c111 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/
Dhmac_drbg.h104 int (*f_entropy)(void *, unsigned char *, size_t); /*!< entropy function */ member
204 int (*f_entropy)(void *, unsigned char *, size_t),
Dctr_drbg.h201 int (*f_entropy)(void *, unsigned char *, size_t); member
333 int (*f_entropy)(void *, unsigned char *, size_t),
/external/mbedtls/programs/ssl/
Dssl_test_lib.c115 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()