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/ |
D | openssl_aes_helper.c | 143 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/ |
D | hks_openssl_aes.c | 62 …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/ |
D | dlp_crypt.cpp | 135 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/ |
D | openssl_mock.cpp | 162 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, in EVP_EncryptInit_ex() function
|