Home
last modified time | relevance | path

Searched refs:MBEDTLS_CTR_DRBG_KEYSIZE (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dctr_drbg.h68 #define MBEDTLS_CTR_DRBG_KEYSIZE 16 macro
75 #define MBEDTLS_CTR_DRBG_KEYSIZE 32 macro
83 #define MBEDTLS_CTR_DRBG_KEYBITS ( MBEDTLS_CTR_DRBG_KEYSIZE * 8 ) /**< The key size for …
84 #define MBEDTLS_CTR_DRBG_SEEDLEN ( MBEDTLS_CTR_DRBG_KEYSIZE + MBEDTLS_CTR_DRBG_BLOCKSIZE…
152 #if MBEDTLS_CTR_DRBG_ENTROPY_LEN >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2
A Dcompat-1.3.h693 #define CTR_DRBG_KEYSIZE MBEDTLS_CTR_DRBG_KEYSIZE
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dctr_drbg.c131 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in block_cipher_df()
163 for( i = 0; i < MBEDTLS_CTR_DRBG_KEYSIZE; i++ ) in block_cipher_df()
212 iv = tmp + MBEDTLS_CTR_DRBG_KEYSIZE; in block_cipher_df()
295 memcpy( ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal()
430 if( entropy_len >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2 ) in good_nonce_len()
454 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in mbedtls_ctr_drbg_seed()
457 memset( key, 0, MBEDTLS_CTR_DRBG_KEYSIZE ); in mbedtls_ctr_drbg_seed()
850 mbedtls_ctr_drbg_set_entropy_len( &ctx, MBEDTLS_CTR_DRBG_KEYSIZE ); in mbedtls_ctr_drbg_self_test()
855 pers_pr, MBEDTLS_CTR_DRBG_KEYSIZE ) ); in mbedtls_ctr_drbg_self_test()
875 mbedtls_ctr_drbg_set_entropy_len( &ctx, MBEDTLS_CTR_DRBG_KEYSIZE); in mbedtls_ctr_drbg_self_test()
[all …]

Completed in 17 milliseconds