Home
last modified time | relevance | path

Searched refs:imageSign (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/update/sys_installer_lite/frameworks/source/verify/
H A Dhota_verify.c103 static int32 HotaSignVerifyByHash(const uint8 *hash, uint32 hashLen, const uint8 *imageSign, uint32… in HotaSignVerifyByHash() argument
107 if ((hash == NULL) || (imageSign == NULL)) { in HotaSignVerifyByHash()
122 ret = AppVerifyData(&rsa, hash, hashLen, imageSign, signLen); in HotaSignVerifyByHash()
132 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen) in HotaSignVerify() argument
134 if ((image == NULL) || (imageSign == NULL)) { in HotaSignVerify()
146 int ret = HotaSignVerifyByHash(imageHashLocal, HASH_LENGTH, imageSign, signLen); in HotaSignVerify()
H A Dhota_verify.h37 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen);