Home
last modified time | relevance | path

Searched refs:EncryptAesGcm (Results 1 - 2 of 2) sorted by relevance

/base/notification/distributed_notification_service/services/ans/include/
H A Daes_gcm_helper.h31 static bool EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string &key);
/base/notification/distributed_notification_service/services/ans/src/common/
H A Daes_gcm_helper.cpp141 ret = EncryptAesGcm(plainText, cipherText, key); in Encrypt()
169 bool AesGcmHelper::EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string &key) in EncryptAesGcm() function in OHOS::Notification::AesGcmHelper
177 ANS_LOGE("EncryptAesGcm ctx error"); in EncryptAesGcm()
183 ANS_LOGE("EncryptAesGcm RAND_bytes error"); in EncryptAesGcm()
189 ANS_LOGE("EncryptAesGcm EVP_EncryptInit_ex error"); in EncryptAesGcm()
196 ANS_LOGE("EncryptAesGcm EVP_EncryptUpdate error"); in EncryptAesGcm()
201 ANS_LOGE("EncryptAesGcm EVP_EncryptFinal_ex error"); in EncryptAesGcm()
206 ANS_LOGE("EncryptAesGcm EVP_CIPHER_CTX_ctrl error"); in EncryptAesGcm()

Completed in 2 milliseconds