Home
last modified time | relevance | path

Searched refs:AES_IV_LEN (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/security_utils/
H A Dwifi_openssl_utils_test.cpp50 const uint8_t iv[AES_IV_LEN] = {0xa8, 0x2b, 0xce, 0x21, 0xa8, 0x2b, 0xce, 0x21, 0xa8, 0x2b, 0xce, 0x21};
61 memcpy_s(info.iv, AES_IV_LEN, iv, AES_IV_LEN); in HWTEST_F()
/foundation/communication/wifi/wifi/base/security_utils/include/
H A Dwifi_openssl_utils.h25 #define AES_IV_LEN 12 macro
29 uint8_t iv[AES_IV_LEN];
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_channel_manager.cpp43 unsigned int realPktlen = length - EncryptDecrypt::AES_IV_LEN; in OnDataReceived()
164 std::unique_ptr<uint8_t[]> encryptContent = std::make_unique<uint8_t[]>(pktlen + EncryptDecrypt::AES_IV_LEN); in SendData()
168 errno_t ret = memcpy_s(encryptContent.get(), pktlen + EncryptDecrypt::AES_IV_LEN, dataFrame.c_str(), pktlen); in SendData()
179 if (!ret || (outputData.length != static_cast<int>(pktlen) + static_cast<int>(EncryptDecrypt::AES_IV_LEN))) { in SendData()
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_channel_manager.cpp43 unsigned int realPktlen = length - EncryptDecrypt::AES_IV_LEN; in OnDataReceived()
164 std::unique_ptr<uint8_t[]> encryptContent = std::make_unique<uint8_t[]>(pktlen + EncryptDecrypt::AES_IV_LEN); in SendData()
168 errno_t ret = memcpy_s(encryptContent.get(), pktlen + EncryptDecrypt::AES_IV_LEN, dataFrame.c_str(), pktlen); in SendData()
179 if (!ret || (outputData.length != static_cast<int>(pktlen) + static_cast<int>(EncryptDecrypt::AES_IV_LEN))) { in SendData()
/foundation/communication/wifi/wifi/base/security_utils/src/
H A Dwifi_openssl_utils.cpp88 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, AES_IV_LEN, nullptr) != 1) { in OpensslAesEncrypt()
150 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, AES_IV_LEN, nullptr) != 1) { in OpensslAesDecrypt()
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/
H A Dencrypt_decrypt.cpp72 || (sessionKey.length != AES_KEY_LEN) || (sessionIV.length != AES_IV_LEN)) { in AES128Encry()
119 || (sessionKey.length != AES_KEY_LEN) || (sessionIV.length != AES_IV_LEN)) { in AES128Decrypt()
422 ConstPacketData iv = { sessionIV, AES_IV_LEN }; in EncryptData()
474 ConstPacketData iv = { sessionIV, AES_IV_LEN }; in DecryptData()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/src/
H A Dencrypt_decrypt.cpp72 || (sessionKey.length != AES_KEY_LEN) || (sessionIV.length != AES_IV_LEN)) { in AES128Encry()
119 || (sessionKey.length != AES_KEY_LEN) || (sessionIV.length != AES_IV_LEN)) { in AES128Decrypt()
422 ConstPacketData iv = { sessionIV, AES_IV_LEN }; in EncryptData()
474 ConstPacketData iv = { sessionIV, AES_IV_LEN }; in DecryptData()
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/include/
H A Dencrypt_decrypt.h54 static const unsigned int AES_IV_LEN = 16; member in OHOS::CastEngine::CastEngineService::final
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/
H A Dencrypt_decrypt.h54 static const unsigned int AES_IV_LEN = 16; member in OHOS::CastEngine::CastEngineService::final
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Dconnection_manager.cpp590 uint8_t encryptedPort[portArraySize + EncryptDecrypt::AES_IV_LEN]; in EncryptPort()
632 uint8_t encrypted[ip.size() + EncryptDecrypt::AES_IV_LEN]; in EncryptIp()

Completed in 7 milliseconds