Home
last modified time | relevance | path

Searched refs:keyAliasParams (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_delete_test.c78 g_testKeyExistParams[0].keyAliasParams.blobExist, in LITE_TEST_CASE()
79 g_testKeyExistParams[0].keyAliasParams.blobSize, in LITE_TEST_CASE()
80 g_testKeyExistParams[0].keyAliasParams.blobDataExist, in LITE_TEST_CASE()
81 g_testKeyExistParams[0].keyAliasParams.blobDataSize); in LITE_TEST_CASE()
H A Dhks_exist_test.c83 g_testKeyExistParams[0].keyAliasParams.blobExist, in LITE_TEST_CASE()
84 g_testKeyExistParams[0].keyAliasParams.blobSize, in LITE_TEST_CASE()
85 g_testKeyExistParams[0].keyAliasParams.blobDataExist, in LITE_TEST_CASE()
86 g_testKeyExistParams[0].keyAliasParams.blobDataSize); in LITE_TEST_CASE()
H A Dhks_generate_key_test.c90 g_testGenKeyParams[index].keyAliasParams.blobExist, in LITE_TEST_CASE()
91 g_testGenKeyParams[index].keyAliasParams.blobSize, in LITE_TEST_CASE()
92 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in LITE_TEST_CASE()
93 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in LITE_TEST_CASE()
H A Dhks_derive_test.c94 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
96 &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
128 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_mac_test.c145 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
146 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
173 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
H A Dhks_modify_key_test.c145 int32_t ret = GenerateKeyTwo(&keyAlias, &g_testCipherParams[index].keyAliasParams, in LITE_TEST_CASE()
169 ret = GenerateKeyTwo(&keyAlias, &g_testCipherParams[index].keyAliasParams, in LITE_TEST_CASE()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_delete_test.cpp75 g_testKeyExistParams[0].keyAliasParams.blobExist,
76 g_testKeyExistParams[0].keyAliasParams.blobSize,
77 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
78 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
H A Dhks_exist_test.cpp79 g_testKeyExistParams[0].keyAliasParams.blobExist,
80 g_testKeyExistParams[0].keyAliasParams.blobSize,
81 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
82 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
H A Dhks_generate_key_test.cpp86 g_testGenKeyParams[index].keyAliasParams.blobExist,
87 g_testGenKeyParams[index].keyAliasParams.blobSize,
88 g_testGenKeyParams[index].keyAliasParams.blobDataExist,
89 g_testGenKeyParams[index].keyAliasParams.blobDataSize);
H A Dhks_derive_test.cpp93 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
94 ret = GenerateKey(&keyAliasTest, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
126 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_mac_test.cpp145 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
147 … &(g_testMacParams[index].keyAliasParams), &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
173 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
H A Dhks_delete_test.cpp76 g_testKeyExistParams[0].keyAliasParams.blobExist,
77 g_testKeyExistParams[0].keyAliasParams.blobSize,
78 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
79 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
H A Dhks_exist_test.cpp80 g_testKeyExistParams[0].keyAliasParams.blobExist,
81 g_testKeyExistParams[0].keyAliasParams.blobSize,
82 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
83 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
H A Dhks_generate_key_test.cpp88 g_testGenKeyParams[index].keyAliasParams.blobExist,
89 g_testGenKeyParams[index].keyAliasParams.blobSize,
90 g_testGenKeyParams[index].keyAliasParams.blobDataExist,
91 g_testGenKeyParams[index].keyAliasParams.blobDataSize);
H A Dhks_derive_test.cpp91 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
92 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
124 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_mac_test.cpp144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
145 ret = GenerateKey(&keyTest, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
172 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_test_common_h.h148 struct HksTestBlobParams keyAliasParams; member
155 struct HksTestBlobParams keyAliasParams; member
168 struct HksTestBlobParams keyAliasParams; member
179 struct HksTestBlobParams keyAliasParams; member
191 struct HksTestBlobParams keyAliasParams; member
201 struct HksTestBlobParams keyAliasParams; member
212 struct HksTestBlobParams keyAliasParams; member
218 struct HksTestBlobParams keyAliasParams; member
354 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
H A Dhks_modify_key_test_c.h78 int32_t GenerateKeyTwo(struct HksBlob *keyAlias, const struct HksTestBlobParams *keyAliasParams,
H A Dhks_test_common_c.h62 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_cipher_func.cpp204 ret = GenerateKey(&keyAlias, &g_testCipherParams[index].keyAliasParams, in BaseTestCipher()
262 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
263 ret = GenerateKey(&keyAlias, &g_testEncryptParams[index].keyAliasParams, in BaseTestEncrypt()
293 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
314 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
315 ret = GenerateKey(&keyAlias, &g_testDecryptParams[index].keyAliasParams, in BaseTestDecrypt()
345 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
H A Dhks_test_common_func.cpp534 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams, in GenerateKey() argument
539 keyAliasParams->blobExist, in GenerateKey()
540 keyAliasParams->blobSize, in GenerateKey()
541 keyAliasParams->blobDataExist, in GenerateKey()
542 keyAliasParams->blobDataSize); in GenerateKey()
695 genKeyParam.keyAliasParams.blobExist, in TestGenDefaultKeyAndGetAlias()
696 genKeyParam.keyAliasParams.blobSize, in TestGenDefaultKeyAndGetAlias()
697 genKeyParam.keyAliasParams.blobDataExist, in TestGenDefaultKeyAndGetAlias()
698 genKeyParam.keyAliasParams.blobDataSize); in TestGenDefaultKeyAndGetAlias()
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp174 … KeyParams keyAliasParams = { { keyAlias.val, keyAlias.length, true }, false, DEFAULT_OS_ACCOUNT }; in GetAsyCredentialJson() local
175 int32_t ret = GetLoaderInstance()->exportPublicKey(&keyAliasParams, &serverPk); in GetAsyCredentialJson()
191 ret = GetLoaderInstance()->sign(&keyAliasParams, &messageBuff, P256, &signature); in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/services/identity_manager/src/
H A Didentity_group.c511 … KeyParams keyAliasParams = { { keyAliasBuf.val, keyAliasBuf.length, true }, true, osAccountId }; in AuthGeneratePsk() local
512 ret = GetLoaderInstance()->computeHmacWithThreeStage(&keyAliasParams, seed, sharedSecret); in AuthGeneratePsk()
514 … KeyParams keyAliasParams = { { keyAliasBuf.val, keyAliasBuf.length, true }, false, osAccountId }; in AuthGeneratePsk() local
515 ret = GetLoaderInstance()->computeHmac(&keyAliasParams, seed, sharedSecret); in AuthGeneratePsk()
804 … KeyParams keyAliasParams = { { pskKeyAlias.val, pskKeyAlias.length, true }, false, osAccountId }; in GetSharedSecretForP2pInPake() local
805 ret = GetLoaderInstance()->computeHkdf(&keyAliasParams, &nonceBuff, &keyInfo, &pskBuff); in GetSharedSecretForP2pInPake()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
H A Diso_client_bind_exchange_task.c76 …KeyParams keyAliasParams = { { keyAlias.val, keyAlias.length, true }, false, params->baseParams.os… in DecAndImportInner() local
77 …res = params->baseParams.loader->importSymmetricKey(&keyAliasParams, authCodeBuf, KEY_PURPOSE_MAC,… in DecAndImportInner()
H A Diso_server_bind_exchange_task.c137 …KeyParams keyAliasParams = { { keyAliasBuf.val, keyAliasBuf.length, true }, false, params->basePar… in ImportAuthCode() local
138 …res = params->baseParams.loader->importSymmetricKey(&keyAliasParams, authCodeBuf, KEY_PURPOSE_MAC,… in ImportAuthCode()

12