Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc383 EVP_CIPHER_CTX decryption_context; in AesDecrypt() local
384 EVP_CIPHER_CTX_init(&decryption_context); in AesDecrypt()
385 if (!EVP_DecryptInit_ex(&decryption_context, cipher, nullptr, key_buffer, in AesDecrypt()
390 if (!EVP_DecryptUpdate(&decryption_context, output_buffer, &output_size, in AesDecrypt()
393 EVP_CIPHER_CTX_cleanup(&decryption_context); in AesDecrypt()
399 if (!EVP_DecryptFinal_ex(&decryption_context, output_buffer, &output_size)) { in AesDecrypt()
401 EVP_CIPHER_CTX_cleanup(&decryption_context); in AesDecrypt()
406 EVP_CIPHER_CTX_cleanup(&decryption_context); in AesDecrypt()