Searched refs:g_keyAlias (Results 1 - 3 of 3) sorted by relevance
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_attest_key_ids_test.cpp | 91 static const struct HksBlob g_keyAlias = { sizeof(ALIAS), (uint8_t *)ALIAS }; member 97 { .tag = HKS_TAG_ATTESTATION_ID_ALIAS, .blob = g_keyAlias }, 111 int32_t ret = TestGenerateKey(&g_keyAlias, HKS_PADDING_PSS); in HWTEST_F() 120 ret = HksAttestKeyForDe(&g_keyAlias, paramSet, certChain); in HWTEST_F() 130 ret = HksDeleteKeyForDe(&g_keyAlias, NULL); in HWTEST_F() 147 ret = TestGenerateKey(&g_keyAlias, HKS_PADDING_PSS); in HWTEST_F() 156 ret = HksAttestKeyForDe(&g_keyAlias, paramSet, certChain); in HWTEST_F() 168 ret = HksDeleteKeyForDe(&g_keyAlias, NULL); in HWTEST_F() 187 ret = TestGenerateKey(&g_keyAlias, HKS_PADDING_PSS); in HWTEST_F() 192 ret = HksAttestKeyForDe(&g_keyAlias, paramSe in HWTEST_F() [all...] |
H A D | hks_attest_key_nonids_test.cpp | 59 static const struct HksBlob g_keyAlias = { sizeof(ALIAS), (uint8_t *)ALIAS }; member 65 { .tag = HKS_TAG_ATTESTATION_ID_ALIAS, .blob = g_keyAlias }, 85 int32_t ret = HksGetKeyParamSetForDe(&g_keyAlias, nullptr, paramOutSet); in ValidateCertChain() 104 ret = HksDeleteKeyForDe(&g_keyAlias, nullptr); in ValidateCertChain() 120 int32_t ret = TestGenerateKey(&g_keyAlias, HKS_PADDING_PSS); in HWTEST_F() 125 ret = HksAttestKeyForDe(&g_keyAlias, paramSet, certChain); in HWTEST_F() 141 int32_t ret = TestGenerateKey(&g_keyAlias, HKS_PADDING_PSS); in HWTEST_F() 148 ret = HksAttestKeyForDe(&g_keyAlias, paramSet, certChain); in HWTEST_F() 155 ret = HksAnonAttestKeyForDe(&g_keyAlias, paramSet, certChain); in HWTEST_F() 161 ret = HksDeleteKeyForDe(&g_keyAlias, NUL in HWTEST_F() [all...] |
/base/account/os_account/services/accountmgr/src/ |
H A D | account_file_watcher_manager.cpp | 60 const HksBlob g_keyAlias = { (uint32_t)strlen(ACCOUNT_KEY_ALIAS), (uint8_t *)ACCOUNT_KEY_ALIAS }; member 154 ret = HksGenerateKey(&g_keyAlias, genParamSet, nullptr); in InitEncryptionKey() 170 int32_t ret = HksInit(&g_keyAlias, genParamSet, &handleGenDigest, nullptr); in GetDigestDataFromHuks()
|
Completed in 2 milliseconds