Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/math/src/
Decdsa_verify.c55 static EpidStatus ValidateSignature(BigNum const* bn_sig_x,
64 BigNum* bn_sig_x = NULL; in EcdsaVerifyBuffer() local
76 epid_status = NewBigNum(sizeof(sig->x), &bn_sig_x); in EcdsaVerifyBuffer()
79 epid_status = ReadBigNum(&sig->x, sizeof(sig->x), bn_sig_x); in EcdsaVerifyBuffer()
89 epid_status = ValidateSignature(bn_sig_x, bn_sig_y); in EcdsaVerifyBuffer()
133 ipp_status = ippsECCPVerifyDSA(bn_digest->ipp_bn, bn_sig_x->ipp_bn, in EcdsaVerifyBuffer()
146 DeleteBigNum(&bn_sig_x); in EcdsaVerifyBuffer()
313 static EpidStatus ValidateSignature(BigNum const* bn_sig_x, in ValidateSignature() argument
319 if (!bn_sig_x || !bn_sig_y) return kEpidBadArgErr; in ValidateSignature()
338 ipp_status = ippsCmpZero_BN(bn_sig_x->ipp_bn, &sig_x_cmp0); in ValidateSignature()
[all …]
Decdsa_sign.c46 BigNum* bn_sig_x = NULL; in EcdsaSignBuffer() local
151 epid_status = NewBigNum(sizeof(secp256r1_r), &bn_sig_x); in EcdsaSignBuffer()
177 bn_sig_x->ipp_bn, bn_sig_y->ipp_bn, ec_ctx); in EcdsaSignBuffer()
186 sts = ippsGetOctString_BN(sig->x.data, sizeof(sig->x), bn_sig_x->ipp_bn); in EcdsaSignBuffer()
198 DeleteBigNum(&bn_sig_x); in EcdsaSignBuffer()