/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/ |
H A D | softbus_aes_encrypt.c | 90 AesCipherKey *cipherKey, const AesInputData *inData, int32_t encMode, AesOutputData *outData) in OpensslAesCfbEncrypt() 126 …yGenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, AesCipherKey *cipherKey) in RootKeyGenerateIvAndSessionKey() 148 … GenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, AesCipherKey *cipherKey) in GenerateIvAndSessionKey() 184 AesCipherKey cipherKey = { 0 }; in SoftBusAesCfbRootEncrypt() local 215 const AesInputData *inData, AesCipherKey *cipherKey, int32_t encMode, AesOutputData *outData) in SoftBusAesCfbEncrypt() 319 …const uint8_t *srcData, uint32_t srcDataLen, AesCipherKey *cipherKey, uint8_t *outData, uint32_t *… in OpensslAesGcmEncrypt() 372 …const uint8_t *srcData, uint32_t srcDataLen, AesCipherKey *cipherKey, uint8_t *outData, uint32_t *… in OpensslAesGcmDecrypt() 424 const AesInputData *inData, AesCipherKey *cipherKey, int32_t encMode, AesOutputData *outData) in SoftBusAesGcmEncrypt()
|
H A D | softbus_adapter_crypto.c | 393 int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptData() 413 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t … in SoftBusEncryptDataWithSeq() 435 int32_t SoftBusDecryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusDecryptData() 455 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t … in SoftBusDecryptDataWithSeq()
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/ |
H A D | dsoftbus_crypto_test.cpp | 280 AesGcmCipherKey cipherKey; variable 302 AesGcmCipherKey cipherKey; variable 325 AesGcmCipherKey cipherKey; variable 345 AesGcmCipherKey cipherKey; variable 368 AesGcmCipherKey cipherKey; variable 390 AesGcmCipherKey cipherKey; variable 410 AesGcmCipherKey cipherKey; variable 433 AesGcmCipherKey cipherKey; variable 460 AesGcmCipherKey cipherKey; variable 494 AesGcmCipherKey cipherKey; variable [all …]
|
H A D | dsoftbus_aes_crypto_test.cpp | 326 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 363 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 405 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 445 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 484 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 527 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 575 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable 621 AesCipherKey cipherKey = { randSession, randKeyLen, randIv, randIvLen }; variable
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/mbedtls/ |
H A D | softbus_aes_encrypt_virtual.c | 42 const AesInputData *inData, AesCipherKey *cipherKey, int32_t encMode, AesOutputData *outData) in SoftBusAesCfbEncrypt() 52 const AesInputData *inData, AesCipherKey *cipherKey, int32_t encMode, AesOutputData *outData) in SoftBusAesGcmEncrypt()
|
H A D | softbus_adapter_crypto.c | 78 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 … 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 … in SoftBusDecryptDataWithSeq()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_common_utils.c | 65 AesGcmCipherKey cipherKey = {.keyLen = in->keyLen}; in LnnEncryptAesGcm() local 98 AesGcmCipherKey cipherKey = {.keyLen = in->keyLen}; in LnnDecryptAesGcm() local
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/key_mgr/inc/ |
H A D | token_key.h | 28 uint8_t cipherKey[HKS_DEFAULT_USER_AT_KEY_LEN]; member
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusdecryptdata_fuzzer/ |
H A D | softbusdecryptdata_fuzzer.cpp | 27 AesGcmCipherKey cipherKey; in SoftBusDecryptDataTest() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusaescrypto_fuzzer/ |
H A D | softbusaescrypto_fuzzer.cpp | 71 AesCipherKey cipherKey = { (uint8_t *)data, size, (uint8_t *)data, size }; in SoftBusAesGcmEncryptFuzzTest() local 121 AesCipherKey cipherKey = { randomSession, size, randomIv, size }; in SoftBusAesCfbEncryptFuzzTest() local
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/ |
H A D | stream_adaptor.cpp | 119 AesGcmCipherKey cipherKey = {0}; in Encrypt() local 146 AesGcmCipherKey cipherKey = {0}; in Decrypt() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/ |
H A D | trans_common_mock.cpp | 61 int32_t SoftBusEncryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t … in SoftBusEncryptDataWithSeq() 67 int32_t SoftBusDecryptDataWithSeq(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t … in SoftBusDecryptDataWithSeq()
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_keyblob_lite.c | 97 static int32_t BuildKeyBlobUsageSpec(const struct HksBlob *cipherKey, const struct HksBlob *random, in BuildKeyBlobUsageSpec() 139 static int32_t EncryptAndDecryptKeyBlob(struct HksBlob *rawKey, struct HksBlob *cipherKey, bool isE… in EncryptAndDecryptKeyBlob() 183 static int32_t EncryptKeyBlob(const struct HksBlob *rawKey, struct HksBlob *cipherKey) in EncryptKeyBlob() 188 static int32_t DecryptKeyBlob(const struct HksBlob *cipherKey, struct HksBlob *rawKey) in DecryptKeyBlob()
|
H A D | hks_keyblob.c | 638 struct HksBlob cipherKey = { 0, NULL }; in GenerateAuthTokenKey() local
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_message.c | 75 AesGcmCipherKey cipherKey = {0}; in TransTdcDecrypt() local 93 AesGcmCipherKey cipherKey = {0}; in TransTdcEncryptWithSeq() local
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_data_cloud_sync.h | 60 unsigned char cipherKey[SESSION_KEY_LENGTH]; member
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_key.c | 434 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in EncryptData() local 467 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in DecryptData() local
|
H A D | auth_session_json.c | 1254 static void DumpRpaCipherKey(char *cipherKey, char *cipherIv, const char *peerIrk, const char *log) in DumpRpaCipherKey() 1271 char cipherKey[SESSION_KEY_STR_LEN] = {0}; in PackCipherRpaInfo() local 1320 char cipherKey[SESSION_KEY_STR_LEN] = {0}; in UnpackCipherRpaInfo() local
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | softbus_message_open_channel.c | 418 AesGcmCipherKey cipherKey = {0}; in TransTdcEncrypt() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_disctributed_net_ledger_test.cpp | 224 unsigned char cipherKey[SESSION_KEY_LENGTH] = {0}; variable 1026 const char *cipherKey = "qqqqqqqqqqqq"; variable
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_manager.c | 409 AesGcmCipherKey cipherKey = { 0 }; in ClientTransProxyDecryptPacketData() local 927 AesGcmCipherKey cipherKey = { 0 }; in ClientTransProxyPackBytes() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_message_test_mock.cpp | 201 int32_t SoftBusEncryptData(AesGcmCipherKey *cipherKey, const unsigned char *input, uint32_t inLen, in SoftBusEncryptData()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_stream_socket.cpp | 1543 AesGcmCipherKey cipherKey = {0}; in Encrypt() local 1571 AesGcmCipherKey cipherKey = {0}; in Decrypt() local
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_message.c | 915 AesGcmCipherKey cipherKey = { 0 }; in TransProxyEncryptFastData() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_ledger_mock.cpp | 567 int32_t LnnSetDLDeviceBroadcastCipherKey(const char *udid, const void *cipherKey) in LnnSetDLDeviceBroadcastCipherKey()
|