Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/auth/mbedtls/
H A Dmbedtls_crypto.c317 size_t dec_len; in aes_gcm_decrypt() local
340 dec_len = MIN(sizeof(buf), len); in aes_gcm_decrypt()
343 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt()
345 rc = mbedtls_gcm_update(&ctx, pt, dec_len, buf, sizeof(buf), &output_length); in aes_gcm_decrypt()
353 memcpy(pt, buf, dec_len); in aes_gcm_decrypt()
354 pt += dec_len; in aes_gcm_decrypt()
355 len -= dec_len; in aes_gcm_decrypt()
H A Dmbedtls_psa_crypto.c508 size_t dec_len; in aes_gcm_decrypt() local
533 dec_len = MIN(sizeof(buf), len); in aes_gcm_decrypt()
535 psa_status = psa_aead_update(&operation, pt, dec_len, buf, in aes_gcm_decrypt()
543 len -= dec_len; in aes_gcm_decrypt()