Searched refs:dec_len (Results 1 – 2 of 2) sorted by relevance
| /trusted-firmware-a-latest/drivers/auth/mbedtls/ |
| D | mbedtls_crypto.c | 299 size_t dec_len; in aes_gcm_decrypt() local 322 dec_len = MIN(sizeof(buf), len); in aes_gcm_decrypt() 325 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt() 327 rc = mbedtls_gcm_update(&ctx, pt, dec_len, buf, sizeof(buf), &output_length); in aes_gcm_decrypt() 335 memcpy(pt, buf, dec_len); in aes_gcm_decrypt() 336 pt += dec_len; in aes_gcm_decrypt() 337 len -= dec_len; in aes_gcm_decrypt()
|
| D | mbedtls_psa_crypto.c | 578 size_t dec_len; in aes_gcm_decrypt() local 601 dec_len = MIN(sizeof(buf), len); in aes_gcm_decrypt() 604 rc = mbedtls_gcm_update(&ctx, dec_len, pt, buf); in aes_gcm_decrypt() 606 rc = mbedtls_gcm_update(&ctx, pt, dec_len, buf, sizeof(buf), &output_length); in aes_gcm_decrypt() 614 memcpy(pt, buf, dec_len); in aes_gcm_decrypt() 615 pt += dec_len; in aes_gcm_decrypt() 616 len -= dec_len; in aes_gcm_decrypt()
|