Home
last modified time | relevance | path

Searched refs:encryptParam (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_sc_initiator.c161 HciLeEncryptParam encryptParam; in SMP_ScPairJustworkOrNumericMasterStep7() local
165 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->peer.random, SMP_RANDOM_DATA_LEN); in SMP_ScPairJustworkOrNumericMasterStep7()
166 (void)memcpy_s(encryptParam.plaintextData, sizeof(encryptParam.plaintextData), cryptAesCmacZ, CRYPT_AESCMAC_Z_LEN); in SMP_ScPairJustworkOrNumericMasterStep7()
169 &encryptParam, SMP_SC_PAIR_JUSTWORKORNUMERIC_MASTER_STEP_8, NULL, SMP_USING_HW_AES128_PAIR); in SMP_ScPairJustworkOrNumericMasterStep7()
174 (void)memset_s(encryptParam.key, SMP_ENCRYPT_KEY_LEN, 0x00, SMP_ENCRYPT_KEY_LEN); in SMP_ScPairJustworkOrNumericMasterStep7()
235 HciLeEncryptParam encryptParam; in SMP_ScPairJustworkOrNumericMasterStep10() local
249 SMP_MemoryReverseCopy(encryptParam.key, SALT, sizeof(encryptParam.key)); in SMP_ScPairJustworkOrNumericMasterStep10()
251 encryptParam in SMP_ScPairJustworkOrNumericMasterStep10()
463 HciLeEncryptParam encryptParam; SMP_ScPairPasskeyEntryMasterStep7() local
591 HciLeEncryptParam encryptParam; SMP_ScPairPasskeyEntryMasterStep12() local
666 HciLeEncryptParam encryptParam; SMP_ScPairPasskeyEntryMasterStep15() local
748 HciLeEncryptParam encryptParam; SMP_ScPairOobMasterStep9() local
904 HciLeEncryptParam encryptParam; SMP_ScPairOobMasterStep15() local
971 HciLeEncryptParam encryptParam; SMP_ScPairCommonMasterStep3() local
1045 HciLeEncryptParam encryptParam; SMP_ScPairCommonMasterStep6() local
1119 HciLeEncryptParam encryptParam; SMP_ScPairCommonMasterStep9() local
1222 HciLeEncryptParam encryptParam; SMP_ScPairCommonMasterStep13() local
[all...]
H A Dsmp_sc_accepter.c128 HciLeEncryptParam encryptParam; in SMP_ScPairJustworkOrNumericSlaveStep5() local
138 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->local.random, SMP_RANDOM_DATA_LEN); in SMP_ScPairJustworkOrNumericSlaveStep5()
139 (void)memcpy_s(encryptParam.plaintextData, sizeof(encryptParam.plaintextData), cryptAesCmacZ, CRYPT_AESCMAC_Z_LEN); in SMP_ScPairJustworkOrNumericSlaveStep5()
141 SMP_SendLeEncryptCmd(&encryptParam, SMP_SC_PAIR_JUSTWORKORNUMERIC_SLAVE_STEP_6, NULL, SMP_USING_HW_AES128_PAIR); in SMP_ScPairJustworkOrNumericSlaveStep5()
146 (void)memset_s(encryptParam.key, SMP_ENCRYPT_KEY_LEN, 0x00, SMP_ENCRYPT_KEY_LEN); in SMP_ScPairJustworkOrNumericSlaveStep5()
233 HciLeEncryptParam encryptParam; in SMP_ScPairJustworkOrNumericSlaveStep9() local
253 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->peer.random, sizeof(encryptParam.key)); in SMP_ScPairJustworkOrNumericSlaveStep9()
256 encryptParam in SMP_ScPairJustworkOrNumericSlaveStep9()
516 HciLeEncryptParam encryptParam; SMP_ScPairPasskeyEntrySlaveStep8() local
621 HciLeEncryptParam encryptParam; SMP_ScPairPasskeyEntrySlaveStep12() local
793 HciLeEncryptParam encryptParam; SMP_ScPairOobSlaveStep9() local
972 HciLeEncryptParam encryptParam; SMP_ScPairCommonSlaveStep1() local
1040 HciLeEncryptParam encryptParam; SMP_ScPairCommonSlaveStep4() local
1111 HciLeEncryptParam encryptParam; SMP_ScPairCommonSlaveStep7() local
1190 HciLeEncryptParam encryptParam; SMP_ScPairCommonSlaveStep10() local
1266 HciLeEncryptParam encryptParam; SMP_ScPairCommonSlaveStep13() local
[all...]
H A Dsmp_oob.c42 HciLeEncryptParam encryptParam; in SMP_GenerateScOobDataStep1() local
62 (void)memcpy_s(encryptParam.key, sizeof(encryptParam.key), g_smpScOobMng.random, SMP_RANDOM_DATA_LEN); in SMP_GenerateScOobDataStep1()
63 (void)memcpy_s(encryptParam.plaintextData, sizeof(encryptParam.plaintextData), cryptAesCmacZ, CRYPT_AESCMAC_Z_LEN); in SMP_GenerateScOobDataStep1()
65 int ret = SMP_SendLeEncryptCmd(&encryptParam, SMP_GENERATE_SC_OOB_DATA_STEP_2, NULL, SMP_USING_HW_AES128_PAIR); in SMP_GenerateScOobDataStep1()
69 (void)memset_s(encryptParam.key, SMP_ENCRYPT_KEY_LEN, 0x00, SMP_ENCRYPT_KEY_LEN); in SMP_GenerateScOobDataStep1()
H A Dsmp_tool.c274 HciLeEncryptParam encryptParam; in SMP_CryptographicC1Step1() local
294 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->TK, SMP_TK_LEN); in SMP_CryptographicC1Step1()
295 SMP_MemoryReverseCopy(encryptParam.plaintextData, param->output, sizeof(param->output)); in SMP_CryptographicC1Step1()
296 int ret = SMP_SendLeEncryptCmd(&encryptParam, step, NULL, SMP_USING_HW_AES128_PAIR); in SMP_CryptographicC1Step1()
320 HciLeEncryptParam encryptParam; in SMP_CryptographicC1Step2() local
338 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->TK, SMP_TK_LEN); in SMP_CryptographicC1Step2()
339 SMP_MemoryReverseCopy(encryptParam.plaintextData, param->output, sizeof(param->output)); in SMP_CryptographicC1Step2()
340 int ret = SMP_SendLeEncryptCmd(&encryptParam, step, NULL, SMP_USING_HW_AES128_PAIR); in SMP_CryptographicC1Step2()
592 HciLeEncryptParam encryptParam; in SMP_CryptographicAesCmacStep3() local
616 (void)memcpy_s(encryptParam in SMP_CryptographicAesCmacStep3()
653 HciLeEncryptParam encryptParam; SMP_CryptographicAesCmacStep4() local
[all...]
H A Dsmp.c784 HciLeEncryptParam encryptParam; in SMP_GenSignTask() local
796 (void)memcpy_s(encryptParam.key, SMP_CSRK_LEN, param->csrk, SMP_CSRK_LEN); in SMP_GenSignTask()
797 (void)memcpy_s(encryptParam.plaintextData, sizeof(encryptParam.plaintextData), cryptAesCmacZ, CRYPT_AESCMAC_Z_LEN); in SMP_GenSignTask()
799 int ret = SMP_SendLeEncryptCmd(&encryptParam, SMP_GENERATE_SIGNATURE_STEP_1, encCmd, SMP_USING_HW_AES128_SIGN); in SMP_GenSignTask()
800 (void)memset_s(encryptParam.key, SMP_ENCRYPT_KEY_LEN, 0x00, SMP_ENCRYPT_KEY_LEN); in SMP_GenSignTask()
859 HciLeEncryptParam encryptParam; in SMP_AsyncResoRpaTask() local
866 (void)memcpy_s(encryptParam.key, sizeof(encryptParam.key), param->irk, sizeof(encryptParam in SMP_AsyncResoRpaTask()
906 HciLeEncryptParam encryptParam; SMP_GenRpaTask() local
1093 HciLeEncryptParam encryptParam; SMP_AuthReqReplyStepTransMaster() local
1195 HciLeEncryptParam encryptParam; SMP_AuthReqReplyNumericSlave() local
[all...]
H A Dsmp_legacy.c202 HciLeEncryptParam encryptParam; in SMP_LegacyPairMasterStep9() local
222 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->TK, SMP_TK_LEN); in SMP_LegacyPairMasterStep9()
223 SMP_MemoryReverseCopy(encryptParam.plaintextData, cryptS1Param.output, sizeof(cryptS1Param.output)); in SMP_LegacyPairMasterStep9()
225 ret = SMP_SendLeEncryptCmd(&encryptParam, SMP_LEGACY_PAIR_MASTER_STEP_10, NULL, SMP_USING_HW_AES128_PAIR); in SMP_LegacyPairMasterStep9()
576 HciLeEncryptParam encryptParam; in SMP_LegacyPairSlaveStep10() local
596 SMP_MemoryReverseCopy(encryptParam.key, SMP_GetPairMng()->TK, SMP_TK_LEN); in SMP_LegacyPairSlaveStep10()
597 SMP_MemoryReverseCopy(encryptParam.plaintextData, cryptS1Param.output, sizeof(cryptS1Param.output)); in SMP_LegacyPairSlaveStep10()
599 ret = SMP_SendLeEncryptCmd(&encryptParam, SMP_LEGACY_PAIR_SLAVE_STEP_11, NULL, SMP_USING_HW_AES128_PAIR); in SMP_LegacyPairSlaveStep10()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dhuks_master.cpp537 HksParam encryptParam[] = { in GenHuksOptionParamEx() local
553 ret = HksAddParams(paramSet, encryptParam, HKS_ARRAY_SIZE(encryptParam)); in GenHuksOptionParamEx()
591 HksParam encryptParam[] = { in GenHuksOptionParam() local
607 ret = HksAddParams(paramSet, encryptParam, HKS_ARRAY_SIZE(encryptParam)); in GenHuksOptionParam()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_encryption_util.cpp326 struct HksParam encryptParam[] = { in EncryptParamSet() local
333 HksAddParams(*encryParamSet, encryptParam, sizeof(encryptParam) / sizeof(HksParam)); in EncryptParamSet()

Completed in 11 milliseconds