Home
last modified time | relevance | path

Searched refs:keyAlias (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/huks/test/fuzztest/generatekeyfuzz/
H A Dhuks_hdi_fuzzer.cpp38 struct HksBlob keyAlias = { INIT_KEY_ALIAS_SIZE, myData }; in DoSomethingInterestingWithMyAPI() local
57 (void)g_instance->HuksHdiGenerateKey(&keyAlias, paramSetIn, &key, &out); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/importkeyfuzz/
H A Dhuks_hdi_fuzzer.cpp42 struct HksBlob keyAlias = { SIZE_ALIAS, myData }; in DoSomethingInterestingWithMyAPI() local
58 (void)g_instance->HuksHdiImportKey(&keyAlias, &aesKey, paramSet, &out); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/hdi_service/
H A Dhuks_sa_hdi_struct.h42 * @param keyAlias key alias
48 int32_t (*HuksHdiGenerateKey)(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
53 * @param keyAlias key alias
59 int32_t (*HuksHdiImportKey)(const struct HksBlob *keyAlias, const struct HksBlob *key,
169 * @param keyAlias key alias
174 int32_t (*HuksHdiUpgradeKeyInfo)(const struct HksBlob *keyAlias, const struct HksBlob *keyInfo,
H A Dhuks_hdi_passthrough_adapter.h27 int32_t HuksHdiAdapterGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn,
44 int32_t HuksHdiAdapterImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key,
H A Dhuks_hdi_template.h45 #define HDI_CONVERTER_FUNC_GENERATEKEY(keyAlias, paramSet, keyIn, keyOut, ret, func) \
50 HDI_CONVERTER_PARAM_IN_BLOB(keyAlias, &keyAliasCore) \
54 ret = (func)(HDI_ADAPTER_PARAM(keyAlias, &keyAliasCore), \
60 #define HDI_CONVERTER_FUNC_IMPORTKEY(keyAlias, key, paramSet, keyOut, ret, func) \
65 HDI_CONVERTER_PARAM_IN_BLOB(keyAlias, &keyAliasCore) \
69 ret = (func)(HDI_ADAPTER_PARAM(keyAlias, &keyAliasCore), \
H A Dhuks_hdi_passthrough_adapter.c61 int32_t HuksHdiAdapterGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn, in HuksHdiAdapterGenerateKey() argument
69 return g_coreEngine->HuksHdiGenerateKey(keyAlias, paramSetIn, keyIn, keyOut); in HuksHdiAdapterGenerateKey()
72 int32_t HuksHdiAdapterImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiAdapterImportKey() argument
80 return g_coreEngine->HuksHdiImportKey(keyAlias, key, paramSet, keyOut); in HuksHdiAdapterImportKey()
H A Dhuks_hdi_service.c43 static int32_t HuksGenerateKey(struct IHuks *self, const struct HuksBlob *keyAlias, const struct HuksParamSet *paramSet, in HuksGenerateKey() argument
48 HDI_CONVERTER_FUNC_GENERATEKEY(keyAlias, paramSet, keyIn, encKeyOut, ret, HuksHdiAdapterGenerateKey) in HuksGenerateKey()
52 static int32_t HuksImportKey(struct IHuks *self, const struct HuksBlob *keyAlias, const struct HuksBlob *key, in HuksImportKey() argument
57 HDI_CONVERTER_FUNC_IMPORTKEY(keyAlias, key, paramSet, encKeyOut, ret, HuksHdiAdapterImportKey) in HuksImportKey()
/drivers/peripheral/huks/test/unittest/
H A Dhdi_ihuks_api_function_test.cpp267 struct HuksBlob keyAlias = { in HWTEST_F() local
287 ret = g_huksHdiProxy->GenerateKey(g_huksHdiProxy, &keyAlias, &paramSet, &key, &outKey); in HWTEST_F()
302 struct HuksBlob keyAlias = { in HWTEST_F() local
322 ret = g_huksHdiProxy->ImportKey(g_huksHdiProxy, &keyAlias, &key, &paramSet, &outKey); in HWTEST_F()

Completed in 4 milliseconds