Home
last modified time | relevance | path

Searched defs:cipherKey (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/
H A Dsoftbus_aes_encrypt.c90 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 Dsoftbus_adapter_crypto.c393 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 Ddsoftbus_crypto_test.cpp280 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 Ddsoftbus_aes_crypto_test.cpp326 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 Dsoftbus_aes_encrypt_virtual.c42 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 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 … 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 Dlnn_common_utils.c65 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 Dtoken_key.h28 uint8_t cipherKey[HKS_DEFAULT_USER_AT_KEY_LEN]; member
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusdecryptdata_fuzzer/
H A Dsoftbusdecryptdata_fuzzer.cpp27 AesGcmCipherKey cipherKey; in SoftBusDecryptDataTest() local
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusaescrypto_fuzzer/
H A Dsoftbusaescrypto_fuzzer.cpp71 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 Dstream_adaptor.cpp119 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 Dtrans_common_mock.cpp61 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 Dhks_keyblob_lite.c97 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 Dhks_keyblob.c638 struct HksBlob cipherKey = { 0, NULL }; in GenerateAuthTokenKey() local
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/
H A Dclient_trans_tcp_direct_message.c75 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 Dlnn_data_cloud_sync.h60 unsigned char cipherKey[SESSION_KEY_LENGTH]; member
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_key.c434 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in EncryptData() local
467 AesGcmCipherKey cipherKey = {.keyLen = sessionKey.len}; in DecryptData() local
H A Dauth_session_json.c1254 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 Dsoftbus_message_open_channel.c418 AesGcmCipherKey cipherKey = {0}; in TransTdcEncrypt() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_disctributed_net_ledger_test.cpp224 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 Dclient_trans_proxy_manager.c409 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 Dtrans_tcp_direct_message_test_mock.cpp201 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 Dvtp_stream_socket.cpp1543 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 Dsoftbus_proxychannel_message.c915 AesGcmCipherKey cipherKey = { 0 }; in TransProxyEncryptFastData() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_ledger_mock.cpp567 int32_t LnnSetDLDeviceBroadcastCipherKey(const char *udid, const void *cipherKey) in LnnSetDLDeviceBroadcastCipherKey()

12