Home
last modified time | relevance | path

Searched refs:HksBlob (Results 1 – 11 of 11) sorted by relevance

/drivers/peripheral/huks/hdi_service/
Dhuks_sa_hdi_struct.h48 … int32_t (*HuksHdiGenerateKey)(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
49 const struct HksBlob *keyIn, struct HksBlob *keyOut);
59 int32_t (*HuksHdiImportKey)(const struct HksBlob *keyAlias, const struct HksBlob *key,
60 const struct HksParamSet *paramSet, struct HksBlob *keyOut);
71 …int32_t (*HuksHdiImportWrappedKey)(const struct HksBlob *wrappingKeyAlias, const struct HksBlob *k…
72 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut);
81 int32_t (*HuksHdiExportPublicKey)(const struct HksBlob *key, const struct HksParamSet *paramSet,
82 struct HksBlob *keyOut);
92 …int32_t (*HuksHdiInit)(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBl…
93 struct HksBlob *token);
[all …]
Dhuks_hdi_passthrough_adapter.h27 int32_t HuksHdiAdapterGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSe…
28 const struct HksBlob *keyIn, struct HksBlob *keyOut);
30 int32_t HuksHdiAdapterSign(const struct HksBlob *key, const struct HksParamSet *paramSet, const str…
31 struct HksBlob *signature);
33 int32_t HuksHdiAdapterVerify(const struct HksBlob *key, const struct HksParamSet *paramSet,
34 const struct HksBlob *srcData, const struct HksBlob *signature);
36 int32_t HuksHdiAdapterEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
37 const struct HksBlob *plainText, struct HksBlob *cipherText);
39 int32_t HuksHdiAdapterDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
40 const struct HksBlob *cipherText, struct HksBlob *plainText);
[all …]
Dhuks_hdi_passthrough_adapter.c61 int32_t HuksHdiAdapterGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSe… in HuksHdiAdapterGenerateKey()
62 const struct HksBlob *keyIn, struct HksBlob *keyOut) in HuksHdiAdapterGenerateKey()
72 int32_t HuksHdiAdapterImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiAdapterImportKey()
73 const struct HksParamSet *paramSet, struct HksBlob *keyOut) in HuksHdiAdapterImportKey()
83 int32_t HuksHdiAdapterImportWrappedKey(const struct HksBlob *wrappingKeyAlias, const struct HksBlob in HuksHdiAdapterImportWrappedKey()
84 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut) in HuksHdiAdapterImportWrappedKey()
94 int32_t HuksHdiAdapterExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterExportPublicKey()
95 struct HksBlob *keyOut) in HuksHdiAdapterExportPublicKey()
105 int32_t HuksHdiAdapterInit(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterInit()
106 struct HksBlob *handle, struct HksBlob *token) in HuksHdiAdapterInit()
[all …]
Dhuks_sa_type.h26 struct HksBlob { struct
41 struct HksBlob blob; argument
Dhuks_hdi_template.h21 typedef struct HksBlob TargetBlob;
/drivers/peripheral/huks/test/fuzztest/initfuzz/
Dhuks_hdi_fuzzer.cpp46 struct HksBlob key = { SIZE_KEY, myData }; in DoSomethingInterestingWithMyAPI()
50 struct HksBlob handle = { in DoSomethingInterestingWithMyAPI()
55 struct HksBlob inData = { size, myData }; in DoSomethingInterestingWithMyAPI()
70 struct HksBlob out = { in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/importkeyfuzz/
Dhuks_hdi_fuzzer.cpp42 struct HksBlob keyAlias = { SIZE_ALIAS, myData }; in DoSomethingInterestingWithMyAPI()
43 struct HksBlob aesKey = { SIZE_KEY, static_cast<uint8_t *>(myData + SIZE_ALIAS) }; in DoSomethingInterestingWithMyAPI()
54 struct HksBlob out = { in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/agreekeyfuzz/
Dhuks_hdi_fuzzer.cpp40 struct HksBlob privatekey = { PRIVATE_KEY_SIZE, myData + PARAMSET_SIZE }; in DoSomethingInterestingWithMyAPI()
49 struct HksBlob publickey = { in DoSomethingInterestingWithMyAPI()
54 struct HksBlob out = { in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/generatekeyfuzz/
Dhuks_hdi_fuzzer.cpp38 struct HksBlob keyAlias = { INIT_KEY_ALIAS_SIZE, myData }; in DoSomethingInterestingWithMyAPI()
48 struct HksBlob key = { in DoSomethingInterestingWithMyAPI()
53 struct HksBlob out = { in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/importwrappedkeyfuzz/
Dhuks_hdi_fuzzer.cpp40 struct HksBlob wrappedKeyData = { WRAPPED_KEY_DATA, myData }; in DoSomethingInterestingWithMyAPI()
50 struct HksBlob key = { in DoSomethingInterestingWithMyAPI()
55 struct HksBlob out = { in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/unittest/
Dhdi_ihuks_api_compat_test.cpp86 struct HksBlob blob = {0};