Lines Matching refs:Qin
346 TPMS_ECC_POINT *Qin, // IN: point Q in _cpri__EccPointMultiply() argument
359 pAssert((dIn != NULL || uIn != NULL) && (Qin != NULL || dIn != NULL)); in _cpri__EccPointMultiply()
361 if(Qin != NULL && !_cpri__EccIsPointOnCurve(curveId, Qin)) in _cpri__EccPointMultiply()
377 if(Qin != NULL) in _cpri__EccPointMultiply()
381 assert2Bsize(Qin->x.t); in _cpri__EccPointMultiply()
382 assert2Bsize(Qin->x.t); in _cpri__EccPointMultiply()
383 Q = EccInitPoint2B(group, Qin, context); in _cpri__EccPointMultiply()
404 else if(Qin != NULL) in _cpri__EccPointMultiply()
1420 TPMS_ECC_POINT *Qin, // IN: the public point of the key in ValidateSignatureEcdsa() argument
1470 assert2Bsize(Qin->x.t); in ValidateSignatureEcdsa()
1481 || BN_bin2bn(Qin->x.t.buffer, Qin->x.t.size, bnQx) == NULL in ValidateSignatureEcdsa()
1482 || BN_bin2bn(Qin->x.t.buffer, Qin->x.t.size, bnQy) == NULL in ValidateSignatureEcdsa()
1508 if(_cpri__EccPointMultiply(&R, curveId, &U1, Qin, &U2) == CRYPT_SUCCESS) in ValidateSignatureEcdsa()
1546 TPMS_ECC_POINT *Qin, // IN: the public point of the key in ValidateSignatureEcSchnorr() argument
1562 pAssert(rIn != NULL && sIn != NULL && Qin != NULL && digest != NULL); in ValidateSignatureEcSchnorr()
1574 if(_cpri__EccPointMultiply(&pE, curveId, sIn, Qin, &minusR) != CRYPT_SUCCESS) in ValidateSignatureEcSchnorr()
1616 TPMS_ECC_POINT *Qin, // IN: the public point of the key in ValidateSignatureSM2Dsa() argument
1644 cpy_hexTo2B(&Qin->x.b, in ValidateSignatureSM2Dsa()
1646 cpy_hexTo2B(&Qin->y.b, in ValidateSignatureSM2Dsa()
1651 pQ = EccInitPoint2B(group, Qin, context); in ValidateSignatureSM2Dsa()
1743 TPMS_ECC_POINT *Qin, // IN: the public point of the key in _cpri__ValidateSignatureEcc() argument
1754 retVal = ValidateSignatureEcdsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()
1758 retVal = ValidateSignatureEcSchnorr(rIn, sIn, hashAlg, curveId, Qin, in _cpri__ValidateSignatureEcc()
1764 retVal = ValidateSignatureSM2Dsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()