!112 add an interface,determine whether there is device key

Merge pull request !112 from zhao_zhen_zhou/myfeature
This commit is contained in:
openharmony_ci 2021-11-03 06:13:30 +00:00 committed by Gitee
commit f6d7af6273
2 changed files with 9 additions and 0 deletions

View File

@ -88,6 +88,8 @@ HKS_API_EXPORT int32_t HksUnwrapKey(const struct HksBlob *keyAlias, const struct
HKS_API_EXPORT int32_t HksBnExpMod(struct HksBlob *x, const struct HksBlob *a,
const struct HksBlob *e, const struct HksBlob *n);
HKS_API_EXPORT int32_t HcmIsDeviceKeyExist(const struct HksParamSet *paramSet);
#ifdef __cplusplus
}
#endif

View File

@ -568,3 +568,10 @@ HKS_API_EXPORT int32_t HksBnExpMod(struct HksBlob *x, const struct HksBlob *a,
return HKS_ERROR_NOT_SUPPORTED;
#endif
}
HKS_API_EXPORT int32_t HcmIsDeviceKeyExist(const struct HksParamSet *paramSet)
{
(void)paramSet;
return HKS_ERROR_NOT_SUPPORTED;
}