mirror of
https://gitee.com/openharmony/security_huks
synced 2025-03-04 16:37:19 +00:00
!112 add an interface,determine whether there is device key
Merge pull request !112 from zhao_zhen_zhou/myfeature
This commit is contained in:
commit
f6d7af6273
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user