Home
last modified time | relevance | path

Searched refs:HKS_KEY_PURPOSE_MAC (Results 1 – 25 of 30) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_hmac_test.cpp57 .uint32Param = HKS_KEY_PURPOSE_MAC
72 .uint32Param = HKS_KEY_PURPOSE_MAC
85 .uint32Param = HKS_KEY_PURPOSE_MAC
100 .uint32Param = HKS_KEY_PURPOSE_MAC
114 .uint32Param = HKS_KEY_PURPOSE_MAC
130 .uint32Param = HKS_KEY_PURPOSE_MAC
146 .uint32Param = HKS_KEY_PURPOSE_MAC
160 .uint32Param = HKS_KEY_PURPOSE_MAC
175 .uint32Param = HKS_KEY_PURPOSE_MAC
188 .uint32Param = HKS_KEY_PURPOSE_MAC
[all …]
Dhks_access_control_mac_test.cpp58 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
70 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
89 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
100 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
Dhks_import_key_test.cpp158 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
171 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
184 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
197 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
210 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
223 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
236 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
347 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
360 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
387 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
[all …]
Dhks_check_pur_part_test.cpp78 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
199 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
208 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
231 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
Dhks_check_auth_part_test.cpp116 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
128 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
145 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
156 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
Dhks_access_control_test_common.cpp28 .uint32Param = HKS_KEY_PURPOSE_MAC
44 .uint32Param = HKS_KEY_PURPOSE_MAC
132 ret = TestUpdateFinish(&handleHMAC, hmacParamSet, HKS_KEY_PURPOSE_MAC, &inData, &outData); in AuthTokenSign()
389 ret = TestUpdateFinish(&handleHMAC, initParamSet, HKS_KEY_PURPOSE_MAC, &inData, &outData); in CheckAccessHmacTest()
Dhks_import_wrapped_ecdh_suite_test.cpp286 {.tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC},
294 {.tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC},
Dhks_cross_test_common.cpp196 ret = TestUpdateFinish(&handleHMAC, hmacParamSet, HKS_KEY_PURPOSE_MAC, &inData, &outData); in HksCrossTestHmac()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_hmac_mt.cpp48 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
63 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
78 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
93 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
108 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
123 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
138 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
153 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
168 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
183 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC },
[all …]
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_mac_test.c35 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
42 {true, true, HKS_ALG_AES, true, HKS_AES_KEY_SIZE_256, true, HKS_KEY_PURPOSE_MAC,
45 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_mac_test.cpp65 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
72 {true, true, HKS_ALG_AES, true, HKS_AES_KEY_SIZE_256, true, HKS_KEY_PURPOSE_MAC,
75 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_mac_test.cpp64 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
71 {true, true, HKS_ALG_AES, true, HKS_AES_KEY_SIZE_256, true, HKS_KEY_PURPOSE_MAC,
74 { true, true, HKS_KEY_PURPOSE_MAC, true, HKS_DIGEST_SHA256 },
Dhks_session_max_test.cpp66 .uint32Param = HKS_KEY_PURPOSE_MAC }, in GenerateBaseKey()
87 .uint32Param = HKS_KEY_PURPOSE_MAC }, in ConstructInitParamSet()
Dhks_inner_test.cpp39 ret = HksCheckGenKeyPurpose(HKS_ALG_HMAC, HKS_KEY_PURPOSE_MAC);
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c570 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
577 HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP |
584 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
599 HKS_KEY_PURPOSE_UNWRAP | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_AGREE,
612 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
619 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_ENCRYPT | HKS_KEY_PURPOSE_DECRYPT |
633 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
640 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
647 … HKS_KEY_PURPOSE_DERIVE | HKS_KEY_PURPOSE_MAC | HKS_KEY_PURPOSE_WRAP | HKS_KEY_PURPOSE_UNWRAP |
748 uint32_t purposeMac = inputPurpose & HKS_KEY_PURPOSE_MAC; in CheckPurposeUnique()
[all …]
Dhks_check_paramset.c297 if (inputPurpose == HKS_KEY_PURPOSE_MAC) { in CheckGenKeyMacDeriveParams()
304 if (inputPurpose == HKS_KEY_PURPOSE_MAC) { in CheckGenKeyMacDeriveParams()
329 ((purposeParam->uint32Param & HKS_KEY_PURPOSE_MAC) != 0)) { in CoreCheckGenKeyParams()
993 if (purposeParam->uint32Param != HKS_KEY_PURPOSE_MAC) { in CheckMacPurpose()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test.h358 .uint32Param = HKS_KEY_PURPOSE_MAC
373 .uint32Param = HKS_KEY_PURPOSE_MAC
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_auth.c86 if (((purpose & HKS_KEY_PURPOSE_DERIVE) != 0) || ((purpose & HKS_KEY_PURPOSE_MAC) != 0)) { in OptionalParamCheck()
Dhks_keynode.c305 case HKS_KEY_PURPOSE_MAC: in KeyNodeFreeCtx()
Dhks_core_service.c68 { HKS_KEY_PURPOSE_MAC, HksCoreMacThreeStageInit }
78 { HKS_KEY_PURPOSE_MAC, HksCoreMacThreeStageUpdate }
88 { HKS_KEY_PURPOSE_MAC, HksCoreMacThreeStageFinish }
98 { HKS_KEY_PURPOSE_MAC, HksCoreMacThreeStageAbort }
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_key_operation.c91 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC }, in CmKeyOpGenMacKey()
145 { .tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC }, in CmKeyOpCalcMac()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h106 HKS_KEY_PURPOSE_MAC = 128, /* Usable with mac. */ enumerator
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c31 HKS_KEY_PURPOSE_MAC, enumerator
208 .uint32Param = HKS_KEY_PURPOSE_MAC in ComputeHmac()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c30 HKS_KEY_PURPOSE_MAC, enumerator
189 .uint32Param = HKS_KEY_PURPOSE_MAC in ComputeHmac()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp264 AddInt32Property(env, keyPurpose, "HUKS_KEY_PURPOSE_MAC", HKS_KEY_PURPOSE_MAC); in CreateHuksKeyPurpose()

12