Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dctr_drbg.c129 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in block_cipher_df()
162 for (i = 0; i < MBEDTLS_CTR_DRBG_KEYSIZE; i++) { in block_cipher_df()
206 iv = tmp + MBEDTLS_CTR_DRBG_KEYSIZE; in block_cipher_df()
286 memcpy(ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal()
412 if (entropy_len >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2) { in good_nonce_len()
437 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in mbedtls_ctr_drbg_seed()
440 memset(key, 0, MBEDTLS_CTR_DRBG_KEYSIZE); in mbedtls_ctr_drbg_seed()
841 mbedtls_ctr_drbg_set_entropy_len(&ctx, MBEDTLS_CTR_DRBG_KEYSIZE); in mbedtls_ctr_drbg_self_test()
842 mbedtls_ctr_drbg_set_nonce_len(&ctx, MBEDTLS_CTR_DRBG_KEYSIZE / 2); in mbedtls_ctr_drbg_self_test()
846 pers_pr, MBEDTLS_CTR_DRBG_KEYSIZE)); in mbedtls_ctr_drbg_self_test()
[all …]
/mbedtls-3.5.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