Home
last modified time | relevance | path

Searched refs:AesGcmCipherKey (Results 1 - 17 of 17) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_crypto.h57 } AesGcmCipherKey; typedef
77 int32_t SoftBusEncryptData(AesGcmCipherKey *key, const unsigned char *input, uint32_t inLen,
80 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen,
83 int32_t SoftBusDecryptData(AesGcmCipherKey *key, const unsigned char *input, uint32_t inLen,
86 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen,
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_common_utils.c65 AesGcmCipherKey cipherKey = {.keyLen = in->keyLen}; in LnnEncryptAesGcm()
72 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in LnnEncryptAesGcm()
98 AesGcmCipherKey cipherKey = {.keyLen = in->keyLen}; in LnnDecryptAesGcm()
105 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in LnnDecryptAesGcm()
/foundation/communication/dsoftbus/tests/core/transmission/common/mock/include/
H A Dtrans_common_mock.h38 virtual int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey,
42 virtual int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey,
60 MOCK_METHOD6(SoftBusEncryptDataWithSeq, int32_t (AesGcmCipherKey *, const unsigned char *, uint32_t,
62 MOCK_METHOD6(SoftBusDecryptDataWithSeq, int32_t (AesGcmCipherKey *, const unsigned char *, uint32_t,
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/
H A Dstream_adaptor.cpp119 AesGcmCipherKey cipherKey = {0}; in Encrypt()
134 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in Encrypt()
146 AesGcmCipherKey cipherKey = {0}; in Decrypt()
160 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in Decrypt()
/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_crypto_test.cpp280 AesGcmCipherKey cipherKey; in HWTEST_F()
302 AesGcmCipherKey cipherKey; in HWTEST_F()
325 AesGcmCipherKey cipherKey; in HWTEST_F()
345 AesGcmCipherKey cipherKey; in HWTEST_F()
368 AesGcmCipherKey cipherKey; in HWTEST_F()
390 AesGcmCipherKey cipherKey; in HWTEST_F()
410 AesGcmCipherKey cipherKey; in HWTEST_F()
433 AesGcmCipherKey cipherKey; in HWTEST_F()
460 AesGcmCipherKey cipherKey; in HWTEST_F()
494 AesGcmCipherKey cipherKe in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/
H A Dtrans_common_mock.cpp61 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptDataWithSeq()
67 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptDataWithSeq()
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusdecryptdata_fuzzer/
H A Dsoftbusdecryptdata_fuzzer.cpp27 AesGcmCipherKey cipherKey; in SoftBusDecryptDataTest()
/foundation/communication/dsoftbus/adapter/common/openssl/
H A Dsoftbus_adapter_crypto.c62 static int32_t OpensslEvpInit(EVP_CIPHER_CTX **ctx, const AesGcmCipherKey *cipherkey, bool mode) in OpensslEvpInit()
103 static int32_t PackIvAndTag(EVP_CIPHER_CTX *ctx, const AesGcmCipherKey *cipherkey, uint32_t dataLen, in PackIvAndTag()
127 static int32_t SslAesGcmEncrypt(const AesGcmCipherKey *cipherkey, const unsigned char *plainText, in SslAesGcmEncrypt()
174 static int32_t SslAesGcmDecrypt(const AesGcmCipherKey *cipherkey, const unsigned char *cipherText, in SslAesGcmDecrypt()
397 int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptData()
417 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptDataWithSeq()
439 int32_t SoftBusDecryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptData()
459 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptDataWithSeq()
/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_adapter_crypto.c78 static int32_t MbedAesGcmEncrypt(const AesGcmCipherKey *cipherKey, const unsigned char *plainText, in MbedAesGcmEncrypt()
120 static int32_t MbedAesGcmDecrypt(const AesGcmCipherKey *cipherKey, const unsigned char *cipherText, in MbedAesGcmDecrypt()
269 int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptData()
289 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptDataWithSeq()
311 int32_t SoftBusDecryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptData()
331 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptDataWithSeq()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_key.c434 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in EncryptData()
443 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in EncryptData()
467 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in DecryptData()
476 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in DecryptData()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/
H A Dclient_trans_tcp_direct_message.c75 AesGcmCipherKey cipherKey = {0}; in TransTdcDecrypt()
82 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in TransTdcDecrypt()
93 AesGcmCipherKey cipherKey = {0}; in TransTdcEncryptWithSeq()
100 if (memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)) != EOK) { in TransTdcEncryptWithSeq()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/
H A Dtrans_tcp_direct_message_test_mock.h74 virtual int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen,
124 MOCK_METHOD5(SoftBusEncryptData, int32_t (AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen,
H A Dtrans_tcp_direct_message_test_mock.cpp201 int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptData()
/foundation/communication/dsoftbus/core/transmission/common/src/
H A Dsoftbus_message_open_channel.c420 AesGcmCipherKey cipherKey = {0}; in TransTdcEncrypt()
427 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in TransTdcEncrypt()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_manager.c409 AesGcmCipherKey cipherKey = { 0 }; in ClientTransProxyDecryptPacketData()
417 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in ClientTransProxyDecryptPacketData()
929 AesGcmCipherKey cipherKey = { 0 }; in ClientTransProxyPackBytes()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dvtp_stream_socket.cpp1543 AesGcmCipherKey cipherKey = {0}; in Encrypt()
1557 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in Encrypt()
1571 AesGcmCipherKey cipherKey = {0}; in Decrypt()
1584 (void)memset_s(&cipherKey, sizeof(AesGcmCipherKey), 0, sizeof(AesGcmCipherKey)); in Decrypt()
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_message.c915 AesGcmCipherKey cipherKey = { 0 }; in TransProxyEncryptFastData()

Completed in 19 milliseconds