Home
last modified time | relevance | path

Searched refs:OH_Huks_Result (Results 1 – 6 of 6) sorted by relevance

/base/security/huks/interfaces/kits/c/include/
Dnative_huks_api.h56 struct OH_Huks_Result OH_Huks_GetSdkVersion(struct OH_Huks_Blob *sdkVersion);
71 struct OH_Huks_Result OH_Huks_GenerateKeyItem(const struct OH_Huks_Blob *keyAlias,
87 struct OH_Huks_Result OH_Huks_ImportKeyItem(const struct OH_Huks_Blob *keyAlias,
105 struct OH_Huks_Result OH_Huks_ImportWrappedKeyItem(const struct OH_Huks_Blob *keyAlias,
121 struct OH_Huks_Result OH_Huks_ExportPublicKeyItem(const struct OH_Huks_Blob *keyAlias,
136 struct OH_Huks_Result OH_Huks_DeleteKeyItem(const struct OH_Huks_Blob *keyAlias,
151 struct OH_Huks_Result OH_Huks_GetKeyItemParamSet(const struct OH_Huks_Blob *keyAlias,
166 struct OH_Huks_Result OH_Huks_IsKeyItemExist(const struct OH_Huks_Blob *keyAlias,
180 struct OH_Huks_Result OH_Huks_AttestKeyItem(const struct OH_Huks_Blob *keyAlias,
200 struct OH_Huks_Result OH_Huks_InitSession(const struct OH_Huks_Blob *keyAlias,
[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);
105 struct OH_Huks_Result OH_Huks_CopyParamSet(const struct OH_Huks_ParamSet *fromParamSet,
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…
169 struct OH_Huks_Result OH_Huks_CheckParamMatch(const struct OH_Huks_Param *baseParam, const struct O…
Dnative_huks_type.h651 struct OH_Huks_Result { struct
/base/security/huks/interfaces/kits/c/src/
Dnative_huks_param.c21 static struct OH_Huks_Result ConvertParamResult(int32_t ret) in ConvertParamResult()
24 return *((struct OH_Huks_Result *)(&result)); in ConvertParamResult()
27 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()
52 struct OH_Huks_Result OH_Huks_CopyParamSet(const struct OH_Huks_ParamSet *fromParamSet, 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()
[all …]
Dnative_huks_api.c22 static struct OH_Huks_Result ConvertApiResult(int32_t ret) in ConvertApiResult()
25 return *((struct OH_Huks_Result *)(&result)); in ConvertApiResult()
28 struct OH_Huks_Result OH_Huks_GetSdkVersion(struct OH_Huks_Blob *sdkVersion) in OH_Huks_GetSdkVersion()
34 struct OH_Huks_Result OH_Huks_GenerateKeyItem(const struct OH_Huks_Blob *keyAlias, in OH_Huks_GenerateKeyItem()
42 struct OH_Huks_Result OH_Huks_ImportKeyItem(const struct OH_Huks_Blob *keyAlias, in OH_Huks_ImportKeyItem()
50 struct OH_Huks_Result OH_Huks_ImportWrappedKeyItem(const struct OH_Huks_Blob *keyAlias, in OH_Huks_ImportWrappedKeyItem()
60 struct OH_Huks_Result OH_Huks_ExportPublicKeyItem(const struct OH_Huks_Blob *keyAlias, in OH_Huks_ExportPublicKeyItem()
68 struct OH_Huks_Result OH_Huks_DeleteKeyItem(const struct OH_Huks_Blob *keyAlias, in OH_Huks_DeleteKeyItem()
75 struct OH_Huks_Result OH_Huks_GetKeyItemParamSet(const struct OH_Huks_Blob *keyAlias, in OH_Huks_GetKeyItemParamSet()
83 struct OH_Huks_Result OH_Huks_IsKeyItemExist(const struct OH_Huks_Blob *keyAlias, in OH_Huks_IsKeyItemExist()
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp738 ASSERT_EQ(sizeof(struct OH_Huks_Result) == sizeof(struct HksResult), true);
739 struct OH_Huks_Result result;