Home
last modified time | relevance | path

Searched refs:OH_Huks_ParamSet (Results 1 – 8 of 8) sorted by relevance

/base/security/huks/interfaces/kits/c/include/
Dnative_huks_api.h72 const struct OH_Huks_ParamSet *paramSetIn, struct OH_Huks_ParamSet *paramSetOut);
88 const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *key);
106 const struct OH_Huks_Blob *wrappingKeyAlias, const struct OH_Huks_ParamSet *paramSet,
122 const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_Blob *key);
137 const struct OH_Huks_ParamSet *paramSet);
152 const struct OH_Huks_ParamSet *paramSetIn, struct OH_Huks_ParamSet *paramSetOut);
167 const struct OH_Huks_ParamSet *paramSet);
181 const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_CertChain *certChain);
201 … const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_Blob *handle, struct OH_Huks_Blob *token);
221 …const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *o…
[all …]
Dnative_huks_param.h58 struct OH_Huks_Result OH_Huks_InitParamSet(struct OH_Huks_ParamSet **paramSet);
71 struct OH_Huks_Result OH_Huks_AddParams(struct OH_Huks_ParamSet *paramSet,
83 struct OH_Huks_Result OH_Huks_BuildParamSet(struct OH_Huks_ParamSet **paramSet);
92 void OH_Huks_FreeParamSet(struct OH_Huks_ParamSet **paramSet);
105 struct OH_Huks_Result OH_Huks_CopyParamSet(const struct OH_Huks_ParamSet *fromParamSet,
106 uint32_t fromParamSetSize, struct OH_Huks_ParamSet **paramSet);
119 struct OH_Huks_Result OH_Huks_GetParam(const struct OH_Huks_ParamSet *paramSet, uint32_t tag,
134 struct OH_Huks_Result OH_Huks_FreshParamSet(struct OH_Huks_ParamSet *paramSet, bool isCopy);
145 struct OH_Huks_Result OH_Huks_IsParamSetTagValid(const struct OH_Huks_ParamSet *paramSet);
157 struct OH_Huks_Result OH_Huks_IsParamSetValid(const struct OH_Huks_ParamSet *paramSet, uint32_t siz…
Dnative_huks_api_adapter.h25 int32_t HuksAttestAdapter(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *param…
Dnative_huks_type.h703 struct OH_Huks_ParamSet { struct
735 struct OH_Huks_ParamSet *paramSet;
/base/security/huks/interfaces/kits/c/src/
Dnative_huks_param.c27 struct OH_Huks_Result OH_Huks_InitParamSet(struct OH_Huks_ParamSet **paramSet) in OH_Huks_InitParamSet()
33 struct OH_Huks_Result OH_Huks_AddParams(struct OH_Huks_ParamSet *paramSet, in OH_Huks_AddParams()
41 struct OH_Huks_Result OH_Huks_BuildParamSet(struct OH_Huks_ParamSet **paramSet) in OH_Huks_BuildParamSet()
47 void OH_Huks_FreeParamSet(struct OH_Huks_ParamSet **paramSet) in OH_Huks_FreeParamSet()
52 struct OH_Huks_Result OH_Huks_CopyParamSet(const struct OH_Huks_ParamSet *fromParamSet, in OH_Huks_CopyParamSet()
53 uint32_t fromParamSetSize, struct OH_Huks_ParamSet **paramSet) in OH_Huks_CopyParamSet()
60 struct OH_Huks_Result OH_Huks_GetParam(const struct OH_Huks_ParamSet *paramSet, uint32_t tag, in OH_Huks_GetParam()
67 struct OH_Huks_Result OH_Huks_FreshParamSet(struct OH_Huks_ParamSet *paramSet, bool isCopy) in OH_Huks_FreshParamSet()
73 struct OH_Huks_Result OH_Huks_IsParamSetTagValid(const struct OH_Huks_ParamSet *paramSet) in OH_Huks_IsParamSetTagValid()
79 struct OH_Huks_Result OH_Huks_IsParamSetValid(const struct OH_Huks_ParamSet *paramSet, uint32_t siz… in OH_Huks_IsParamSetValid()
Dnative_huks_api.c35 const struct OH_Huks_ParamSet *paramSetIn, struct OH_Huks_ParamSet *paramSetOut) in OH_Huks_GenerateKeyItem()
43 const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *key) in OH_Huks_ImportKeyItem()
51 const struct OH_Huks_Blob *wrappingKeyAlias, const struct OH_Huks_ParamSet *paramSet, in OH_Huks_ImportWrappedKeyItem()
61 const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_Blob *key) in OH_Huks_ExportPublicKeyItem()
69 const struct OH_Huks_ParamSet *paramSet) in OH_Huks_DeleteKeyItem()
76 const struct OH_Huks_ParamSet *paramSetIn, struct OH_Huks_ParamSet *paramSetOut) in OH_Huks_GetKeyItemParamSet()
84 const struct OH_Huks_ParamSet *paramSet) in OH_Huks_IsKeyItemExist()
91 const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_CertChain *certChain) in OH_Huks_AttestKeyItem()
98 … const struct OH_Huks_ParamSet *paramSet, struct OH_Huks_Blob *handle, struct OH_Huks_Blob *token) in OH_Huks_InitSession()
106 …const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *o… in OH_Huks_UpdateSession()
[all …]
Dnative_huks_api_adapter.c22 int32_t HuksAttestAdapter(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *param… in HuksAttestAdapter()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp797 ASSERT_EQ(sizeof(struct OH_Huks_ParamSet) == sizeof(struct HksParamSet), true);
798 struct OH_Huks_ParamSet paramset;
834 ASSERT_EQ(sizeof(keyInfo.paramSet) == sizeof(struct OH_Huks_ParamSet *), true);