/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_hmac_test.cpp | 57 .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 …]
|
D | hks_access_control_mac_test.cpp | 58 { .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 },
|
D | hks_import_key_test.cpp | 158 { .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 …]
|
D | hks_check_pur_part_test.cpp | 78 { .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 },
|
D | hks_check_auth_part_test.cpp | 116 { .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 },
|
D | hks_access_control_test_common.cpp | 28 .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()
|
D | hks_import_wrapped_ecdh_suite_test.cpp | 286 {.tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC}, 294 {.tag = HKS_TAG_PURPOSE, .uint32Param = HKS_KEY_PURPOSE_MAC},
|
D | hks_cross_test_common.cpp | 196 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/ |
D | hks_hmac_mt.cpp | 48 { .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/ |
D | hks_mac_test.c | 35 { 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/ |
D | hks_mac_test.cpp | 65 { 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/ |
D | hks_mac_test.cpp | 64 { 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 },
|
D | hks_session_max_test.cpp | 66 .uint32Param = HKS_KEY_PURPOSE_MAC }, in GenerateBaseKey() 87 .uint32Param = HKS_KEY_PURPOSE_MAC }, in ConstructInitParamSet()
|
D | hks_inner_test.cpp | 39 ret = HksCheckGenKeyPurpose(HKS_ALG_HMAC, HKS_KEY_PURPOSE_MAC);
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_base_check.c | 570 … 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 …]
|
D | hks_check_paramset.c | 297 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/ |
D | hks_cross_test.h | 358 .uint32Param = HKS_KEY_PURPOSE_MAC 373 .uint32Param = HKS_KEY_PURPOSE_MAC
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_auth.c | 86 if (((purpose & HKS_KEY_PURPOSE_DERIVE) != 0) || ((purpose & HKS_KEY_PURPOSE_MAC) != 0)) { in OptionalParamCheck()
|
D | hks_keynode.c | 305 case HKS_KEY_PURPOSE_MAC: in KeyNodeFreeCtx()
|
D | hks_core_service.c | 68 { 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/ |
D | cert_manager_key_operation.c | 91 { .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/ |
D | hks_type.h | 106 HKS_KEY_PURPOSE_MAC = 128, /* Usable with mac. */ enumerator
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
D | huks_adapter.c | 31 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/ |
D | huks_adapter.c | 30 HKS_KEY_PURPOSE_MAC, enumerator 189 .uint32Param = HKS_KEY_PURPOSE_MAC in ComputeHmac()
|
/base/security/huks/interfaces/kits/napi/src/ |
D | huks_napi.cpp | 264 AddInt32Property(env, keyPurpose, "HUKS_KEY_PURPOSE_MAC", HKS_KEY_PURPOSE_MAC); in CreateHuksKeyPurpose()
|