/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A 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()
|
/ohos5.0/foundation/communication/wifi/wifi/base/security_utils/src/ |
H A D | wifi_openssl_utils.cpp | 84 if (EVP_EncryptInit_ex(ctx, cipher, nullptr, nullptr, nullptr) != 1) { in OpensslAesEncrypt() 92 if (EVP_EncryptInit_ex(ctx, nullptr, nullptr, info->key, info->iv) != 1) { in OpensslAesEncrypt()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_aes.c | 63 …ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->i… in OpensslBlockCipherCryptInitParams() 106 ret = EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL); in ENABLE_CFI() 361 … ret = EVP_EncryptInit_ex(*ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL); in OpensslAesAeadInit() 379 ret = EVP_EncryptInit_ex(*ctx, NULL, NULL, key->data, aeadParam->nonce.data); in OpensslAesAeadInit() 477 ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key->data, aeadParam->nonce.data); in OpensslAesAeadCryptSetParam() 503 … ret = EVP_EncryptInit_ex(ctx, GetAeadCipherType(key->size, usageSpec->mode), NULL, NULL, NULL); in OpensslAesAeadCryptInit() 893 ret = EVP_EncryptInit_ex(*ctx, cipher, NULL, NULL, NULL); in OpensslAesCipherInit() 904 …ret = EVP_EncryptInit_ex(*ctx, NULL, NULL, key->data, (cipherParam == NULL) ? NULL : cipherParam->… in OpensslAesCipherInit()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 311 …if (EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, (unsigned char *)aesGcmParam->key->buf, NULL)… in SetAesEncryptParam() 320 if (EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, aesGcmParam->iv->buf) != OPENSSL_SUCCESS) { in SetAesEncryptParam() 393 …if (EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, (unsigned char *)aesGcmParam->key->buf, NULL)… in SetAesDecryptParam()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/ |
H A D | softbus_adapter_crypto.c | 76 ret = EVP_EncryptInit_ex(*ctx, cipher, NULL, NULL, NULL); in OpensslEvpInit() 140 ret = EVP_EncryptInit_ex(ctx, NULL, NULL, cipherkey->key, cipherkey->iv); in SslAesGcmEncrypt() 496 if (EVP_EncryptInit_ex(ctx, cipher, NULL, key->key, key->iv) != 1) { in SoftBusEncryptDataByCtr()
|
H A D | softbus_aes_encrypt.c | 295 if (EVP_EncryptInit_ex(*ctx, cipher, NULL, NULL, NULL) != 1) { in GcmOpensslEvpInit() 329 if (EVP_EncryptInit_ex(ctx, NULL, NULL, cipherKey->key, cipherKey->iv) != 1) { in OpensslAesGcmEncrypt()
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_crypt.cpp | 140 ret = EVP_EncryptInit_ex(*ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherInit() 151 ret = EVP_EncryptInit_ex( in OpensslAesCipherInit() 201 ret = EVP_EncryptInit_ex( in OpensslAesCipherCryptInitParams() 239 ret = EVP_EncryptInit_ex(ctx, cipher, nullptr, nullptr, nullptr); in OpensslAesCipherCryptInit()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | openssl_crypto.cpp | 91 if (EVP_EncryptInit_ex(ctx.get(), EVP_aes_256_gcm(), NULL, in AESEncrypt()
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 424 … if (EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, param->key->buf, NULL) != OPENSSL_SUCCESS) { in SetAesEncryptParam() 432 if (EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, param->iv->buf) != OPENSSL_SUCCESS) { in SetAesEncryptParam()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | aes_gcm_helper.cpp | 190 if (!EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), nullptr, in EncryptAesGcm()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_openssl.c | 85 if (EVP_EncryptInit_ex(cryptPara->ctx, cipher, NULL, cryptPara->key, cryptPara->iv) == 0) { in InitEncryptCtx()
|
/ohos5.0/base/security/dlp_permission_service/frameworks/test/mock/ |
H A D | openssl_mock.cpp | 162 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, in EVP_EncryptInit_ex() function
|