Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
A Dctr_drbg.c322 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_update_ret() local
328 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
330 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
334 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_update_ret()
523 unsigned char add_input[MBEDTLS_CTR_DRBG_SEEDLEN]; in mbedtls_ctr_drbg_random_with_add() local
535 memset( add_input, 0, MBEDTLS_CTR_DRBG_SEEDLEN ); in mbedtls_ctr_drbg_random_with_add()
549 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
551 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
583 if( ( ret = ctr_drbg_update_internal( ctx, add_input ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
589 mbedtls_platform_zeroize( add_input, sizeof( add_input ) ); in mbedtls_ctr_drbg_random_with_add()

Completed in 3 milliseconds