Searched refs:add_input (Results 1 – 1 of 1) sorted by relevance
/mbedtls-3.6.0/library/ |
D | ctr_drbg.c | 298 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_update() local 305 if ((ret = block_cipher_df(add_input, additional, add_len)) != 0) { in mbedtls_ctr_drbg_update() 308 if ((ret = ctr_drbg_update_internal(ctx, add_input)) != 0) { in mbedtls_ctr_drbg_update() 313 mbedtls_platform_zeroize(add_input, sizeof(add_input)); in mbedtls_ctr_drbg_update() 488 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_random_with_add() local 502 memset(add_input, 0, MBEDTLS_CTR_DRBG_SEEDLEN); in mbedtls_ctr_drbg_random_with_add() 513 if ((ret = block_cipher_df(add_input, additional, add_len)) != 0) { in mbedtls_ctr_drbg_random_with_add() 516 if ((ret = ctr_drbg_update_internal(ctx, add_input)) != 0) { in mbedtls_ctr_drbg_random_with_add() 549 if ((ret = ctr_drbg_update_internal(ctx, add_input)) != 0) { in mbedtls_ctr_drbg_random_with_add() 556 mbedtls_platform_zeroize(add_input, sizeof(add_input)); in mbedtls_ctr_drbg_random_with_add()
|