mirror of
https://gitee.com/openharmony/security_huks
synced 2024-12-13 17:46:02 +00:00
add an interface,determine whether there is device key.
Signed-off-by: zhao-zhen-zhou <zhaozhenzhou@huawei.com>
This commit is contained in:
parent
391f408220
commit
a63e6ec9c9
@ -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…
Reference in New Issue
Block a user