Home
last modified time | relevance | path

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

/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dctr_drbg.h61 #define MBEDTLS_CTR_DRBG_KEYSIZE 16 macro
68 #define MBEDTLS_CTR_DRBG_KEYSIZE 32 macro
76 #define MBEDTLS_CTR_DRBG_KEYBITS (MBEDTLS_CTR_DRBG_KEYSIZE * 8) /**< The key size for …
77 #define MBEDTLS_CTR_DRBG_SEEDLEN (MBEDTLS_CTR_DRBG_KEYSIZE + MBEDTLS_CTR_DRBG_BLOCKSIZE)…
142 #if MBEDTLS_CTR_DRBG_ENTROPY_LEN >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dctr_drbg.c167 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in block_cipher_df()
208 for (i = 0; i < MBEDTLS_CTR_DRBG_KEYSIZE; i++) { in block_cipher_df()
275 status = ctr_drbg_setup_psa_context(&psa_ctx, tmp, MBEDTLS_CTR_DRBG_KEYSIZE); in block_cipher_df()
281 iv = tmp + MBEDTLS_CTR_DRBG_KEYSIZE; in block_cipher_df()
385 status = ctr_drbg_setup_psa_context(&ctx->psa_ctx, tmp, MBEDTLS_CTR_DRBG_KEYSIZE); in ctr_drbg_update_internal()
391 memcpy(ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal()
517 if (entropy_len >= MBEDTLS_CTR_DRBG_KEYSIZE * 3 / 2) { in good_nonce_len()
542 unsigned char key[MBEDTLS_CTR_DRBG_KEYSIZE]; in mbedtls_ctr_drbg_seed()
545 memset(key, 0, MBEDTLS_CTR_DRBG_KEYSIZE); in mbedtls_ctr_drbg_seed()
575 status = ctr_drbg_setup_psa_context(&ctx->psa_ctx, key, MBEDTLS_CTR_DRBG_KEYSIZE); in mbedtls_ctr_drbg_seed()
[all …]