Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/math/src/
Decdsa_verify.c51 BigNum* bn_digest);
66 BigNum* bn_digest = NULL; in EcdsaVerifyBuffer() local
123 epid_status = NewBigNum(IPP_SHA256_DIGEST_BITSIZE / 8, &bn_digest); in EcdsaVerifyBuffer()
125 epid_status = CalcHashBn(buf, buf_len, bn_digest); in EcdsaVerifyBuffer()
133 ipp_status = ippsECCPVerifyDSA(bn_digest->ipp_bn, bn_sig_x->ipp_bn, in EcdsaVerifyBuffer()
145 DeleteBigNum(&bn_digest); in EcdsaVerifyBuffer()
273 BigNum* bn_digest) { in CalcHashBn() argument
277 if (!bn_digest || (!buf && (0 != buf_len))) return kEpidBadArgErr; in CalcHashBn()
292 result = ReadBigNum(digest, sizeof(digest), bn_digest); in CalcHashBn()
302 ippsMod_BN(bn_digest->ipp_bn, bn_ec_order->ipp_bn, bn_digest->ipp_bn); in CalcHashBn()