Home
last modified time | relevance | path

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 Dopenssl_aes_helper.c197 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 Dhks_openssl_aes.c65 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 Ddlp_crypt.cpp142 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 Daes_gcm_helper.cpp237 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 Dopenssl_mock.cpp176 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