Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dctr_drbg.c319 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_update_ret() local
325 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
327 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
331 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_update_ret()
520 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_random_with_add() local
532 memset( add_input, 0, MBEDTLS_CTR_DRBG_SEEDLEN ); in mbedtls_ctr_drbg_random_with_add()
546 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
548 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
580 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
586 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_random_with_add()

Completed in 3 milliseconds