Home
last modified time | relevance | path

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

/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_aes_helper.c143 if (EVP_EncryptInit_ex(ctx, ciper, NULL, NULL, NULL) != 1) { in AesEncrypt()
148 if (EVP_EncryptInit_ex(ctx, NULL, NULL, randomKey->data, iv->blob.data) != 1) { in AesEncrypt()
251 if (EVP_EncryptInit_ex(ctx, ciper, NULL, NULL, NULL) != 1) { in AesGcmEncrypt()
261 if (EVP_EncryptInit_ex(ctx, NULL, NULL, randomKey->data, iv->blob.data) != 1) { in AesGcmEncrypt()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c62 …ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->i… in OpensslBlockCipherCryptInitParams()
105 ret = EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL); in ENABLE_CFI()
341 … ret = EVP_EncryptInit_ex(*ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL); in OpensslAesAeadInit()
359 ret = EVP_EncryptInit_ex(*ctx, NULL, NULL, key->data, aeadParam->nonce.data); in OpensslAesAeadInit()
457 ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key->data, aeadParam->nonce.data); in OpensslAesAeadCryptSetParam()
483 … ret = EVP_EncryptInit_ex(ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL); in OpensslAesAeadCryptInit()
681 ret = EVP_EncryptInit_ex(*ctx, cipher, NULL, NULL, NULL); in OpensslAesCipherInit()
692 …ret = EVP_EncryptInit_ex(*ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->… in OpensslAesCipherInit()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp135 ret = EVP_EncryptInit_ex(*ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherInit()
146 ret = EVP_EncryptInit_ex( in OpensslAesCipherInit()
196 ret = EVP_EncryptInit_ex( in OpensslAesCipherCryptInitParams()
234 ret = EVP_EncryptInit_ex(ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherCryptInit()
/base/security/dlp_permission_service/frameworks/test/mock/
Dopenssl_mock.cpp162 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, in EVP_EncryptInit_ex() function