Lines Matching refs:rIn
34694 … This function validates an ECDSA signature. rIn and sIn shoudl have been checked to make sure that
34709 1280 TPM2B_ECC_PARAMETER *rIn, // IN: r component of the signature
34747 1318 // rIn and sIn are known to be greater than zero (was checked by the caller).
34748 1319 if( _math__uComp(rIn->t.size, rIn->t.buffer, n->size, n->buffer) >= 0
34778 1344 assert2Bsize(rIn->t);
34797 1363 || BN_bin2bn(rIn->t.buffer, rIn->t.size, bnR) == NULL
34808 1374 t = (digest->size > rIn->t.size) ? rIn->t.size : digest->size;
34857 …This function is used to validate an EC Schnorr signature. rIn and sIn are required to be greater …
34868 1416 TPM2B_ECC_PARAMETER *rIn, // IN: r component of the signature
34892 1440 pAssert(rIn != NULL && sIn != NULL && Qin != NULL && digest != NULL);
34896 1444 // if sIn or rIn are not between 1 and N-1, signature check fails
34897 1445 // sIn and rIn were verified to be non-zero by the caller
34899 1447 || _math__uComp(rIn->b.size, rIn->b.buffer, n->size, n->buffer) >= 0
34905 1453 rIn->t.size, rIn->t.buffer,
34935 1478 if(_math__uComp(rIn->t.size, rIn->t.buffer,
34956 1488 TPM2B_ECC_PARAMETER *rIn, // IN: r component of the signature
35012 1538 BnFrom2B(bnR, &rIn->b);
35018 1544 pAssert(cmp_2B2hex(&rIn->b,
35101 1610 TPM2B_ECC_PARAMETER *rIn, // IN: r component of the signat…
35115 1624 if(_math__Normalize2B(&rIn->b) == 0 || _math__Normalize2B(&sIn->b) == 0)
35126 1630 retVal = ValidateSignatureEcdsa(rIn, sIn, curveId, Qin, digest);
35131 1635 retVal = ValidateSignatureEcSchnorr(rIn, sIn, hashAlg, curveId, Qin,
35138 1642 retVal = ValidateSignatureSM2Dsa(rIn, sIn, curveId, Qin, digest);