/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
H A D | hks_delete_test.c | 78 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 D | hks_exist_test.c | 83 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 D | hks_generate_key_test.c | 90 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 D | hks_derive_test.c | 94 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 D | hks_mac_test.c | 145 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 D | hks_modify_key_test.c | 145 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 D | hks_delete_test.cpp | 75 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 D | hks_exist_test.cpp | 79 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 D | hks_generate_key_test.cpp | 86 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 D | hks_derive_test.cpp | 93 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 D | hks_mac_test.cpp | 145 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 D | hks_delete_test.cpp | 76 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 D | hks_exist_test.cpp | 80 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 D | hks_generate_key_test.cpp | 88 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 D | hks_derive_test.cpp | 91 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 D | hks_mac_test.cpp | 144 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 D | hks_test_common_h.h | 148 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 D | hks_modify_key_test_c.h | 78 int32_t GenerateKeyTwo(struct HksBlob *keyAlias, const struct HksTestBlobParams *keyAliasParams,
|
H A D | hks_test_common_c.h | 62 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_cipher_func.cpp | 204 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 D | hks_test_common_func.cpp | 534 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 D | os_account_adapter_test.cpp | 174 … 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 D | identity_group.c | 511 … 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 D | iso_client_bind_exchange_task.c | 76 …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 D | iso_server_bind_exchange_task.c | 137 …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()
|