Home
last modified time | relevance | path

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

/mbedtls-3.4.0/include/mbedtls/
Dctr_drbg.h65 #define MBEDTLS_CTR_DRBG_KEYSIZE 16 macro
72 #define MBEDTLS_CTR_DRBG_KEYSIZE 32 macro
80 #define MBEDTLS_CTR_DRBG_KEYBITS ( MBEDTLS_CTR_DRBG_KEYSIZE * 8 ) /**< The key size for …
81 #define MBEDTLS_CTR_DRBG_SEEDLEN ( MBEDTLS_CTR_DRBG_KEYSIZE + MBEDTLS_CTR_DRBG_BLOCKSIZE…
149 #if MBEDTLS_CTR_DRBG_ENTROPY_LEN >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2
/mbedtls-3.4.0/library/
Dctr_drbg.c125 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in block_cipher_df()
157 for( i = 0; i < MBEDTLS_CTR_DRBG_KEYSIZE; i++ ) in block_cipher_df()
206 iv = tmp + MBEDTLS_CTR_DRBG_KEYSIZE; in block_cipher_df()
289 memcpy( ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal()
411 if( entropy_len >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2 ) in good_nonce_len()
435 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in mbedtls_ctr_drbg_seed()
438 memset( key, 0, MBEDTLS_CTR_DRBG_KEYSIZE ); in mbedtls_ctr_drbg_seed()
835 mbedtls_ctr_drbg_set_entropy_len( &ctx, MBEDTLS_CTR_DRBG_KEYSIZE ); in mbedtls_ctr_drbg_self_test()
836 mbedtls_ctr_drbg_set_nonce_len( &ctx, MBEDTLS_CTR_DRBG_KEYSIZE / 2 ); in mbedtls_ctr_drbg_self_test()
840 pers_pr, MBEDTLS_CTR_DRBG_KEYSIZE ) ); in mbedtls_ctr_drbg_self_test()
[all …]