Searched refs:EVP_DecryptInit_ex (Results 1 - 5 of 5) sorted by relevance
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_aes_helper.c | 197 if (EVP_DecryptInit_ex(ctx, ciper, NULL, NULL, NULL) != 1) { in AesDecrypt() 202 if (EVP_DecryptInit_ex(ctx, NULL, NULL, randomKey->data, iv->blob.data) != 1) { in AesDecrypt() 306 if (EVP_DecryptInit_ex(ctx, ciper, NULL, NULL, NULL) != 1) { in AesGcmDecrypt() 316 if (EVP_DecryptInit_ex(ctx, NULL, NULL, randomKey->data, iv->blob.data) != 1) { in AesGcmDecrypt()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_aes.c | 65 ret = EVP_DecryptInit_ex(ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->iv.data);
in OpensslBlockCipherCryptInitParams() 108 ret = EVP_DecryptInit_ex(ctx, cipher, NULL, NULL, NULL);
in OpensslBlockCipherCryptInit() 363 ret = EVP_DecryptInit_ex(*ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL);
in OpensslAesAeadInit() 381 ret = EVP_DecryptInit_ex(*ctx, NULL, NULL, key->data, aeadParam->nonce.data);
in OpensslAesAeadInit() 479 ret = EVP_DecryptInit_ex(ctx, NULL, NULL, key->data, aeadParam->nonce.data);
in OpensslAesAeadCryptSetParam() 505 ret = EVP_DecryptInit_ex(ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL);
in OpensslAesAeadCryptInit() 895 ret = EVP_DecryptInit_ex(*ctx, cipher, NULL, NULL, NULL);
in OpensslAesCipherInit() 906 ret = EVP_DecryptInit_ex(*ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->iv.data);
in OpensslAesCipherInit()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_crypt.cpp | 142 ret = EVP_DecryptInit_ex(*ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherInit() 154 ret = EVP_DecryptInit_ex( in OpensslAesCipherInit() 204 ret = EVP_DecryptInit_ex( in OpensslAesCipherCryptInitParams() 241 ret = EVP_DecryptInit_ex(ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherCryptInit()
|
/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | aes_gcm_helper.cpp | 237 if (!EVP_DecryptInit_ex(ctx, EVP_aes_256_gcm(), nullptr, in DecryptAesGcm() 239 ANS_LOGE("DecryptAesGcm EVP_DecryptInit_ex error"); in DecryptAesGcm()
|
/base/security/dlp_permission_service/frameworks/test/mock/ |
H A D | openssl_mock.cpp | 176 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, in EVP_DecryptInit_ex() function 179 if (IsFuncNeedMock("EVP_DecryptInit_ex")) { in EVP_DecryptInit_ex() 183 EvpDecryptInitEx func = reinterpret_cast<EvpDecryptInitEx>(GetOpensslLibFunc("EVP_DecryptInit_ex")); in EVP_DecryptInit_ex()
|
Completed in 6 milliseconds