Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dctr_drbg.c619 } locals; in mbedtls_ctr_drbg_random_with_add() local
630 memset(locals.add_input, 0, MBEDTLS_CTR_DRBG_SEEDLEN); in mbedtls_ctr_drbg_random_with_add()
641 if ((ret = block_cipher_df(locals.add_input, additional, add_len)) != 0) { in mbedtls_ctr_drbg_random_with_add()
644 if ((ret = ctr_drbg_update_internal(ctx, locals.add_input)) != 0) { in mbedtls_ctr_drbg_random_with_add()
663 locals.tmp, MBEDTLS_CTR_DRBG_BLOCKSIZE, &tmp_len); in mbedtls_ctr_drbg_random_with_add()
670 ctx->counter, locals.tmp)) != 0) { in mbedtls_ctr_drbg_random_with_add()
680 memcpy(p, locals.tmp, use_len); in mbedtls_ctr_drbg_random_with_add()
685 if ((ret = ctr_drbg_update_internal(ctx, locals.add_input)) != 0) { in mbedtls_ctr_drbg_random_with_add()
692 mbedtls_platform_zeroize(&locals, sizeof(locals)); in mbedtls_ctr_drbg_random_with_add()