/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/security_utils/ |
H A D | wifi_openssl_utils_test.cpp | 50 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 D | wifi_openssl_utils.h | 25 #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 D | rtsp_channel_manager.cpp | 43 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 D | rtsp_channel_manager.cpp | 43 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 D | wifi_openssl_utils.cpp | 88 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 D | encrypt_decrypt.cpp | 72 || (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 D | encrypt_decrypt.cpp | 72 || (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 D | encrypt_decrypt.h | 54 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 D | encrypt_decrypt.h | 54 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 D | connection_manager.cpp | 590 uint8_t encryptedPort[portArraySize + EncryptDecrypt::AES_IV_LEN]; in EncryptPort() 632 uint8_t encrypted[ip.size() + EncryptDecrypt::AES_IV_LEN]; in EncryptIp()
|