Searched refs:BnEqualZero (Results 1 – 9 of 9) sorted by relevance
97 if(BnEqualZero(bnT1)) in BnSchnorrSign()106 return (BnEqualZero(bnS)) ? TPM_RC_NO_RESULT : TPM_RC_SUCCESS; in BnSchnorrSign()161 if(BnEqualZero(ecR->x)) in BnSignEcdsa()186 } while(BnEqualZero(bnS)); in BnSignEcdsa()447 if(BnEqualZero(bnR)) in BnSignEcSm2()471 if(BnEqualZero(bnS)) in BnSignEcSm2()672 OK = !BnEqualZero(bnT); in BnValidateSignatureEcSm2()800 if(BnEqualZero(bnR) || BnEqualZero(bnS)) in CryptEccValidateSignature()
1017 if(BnEqualZero(bnE)) in CryptRsaLoadPrivateExponent()1026 VERIFY(BnEqualZero(bnQr)); in CryptRsaLoadPrivateExponent()1419 if(BnEqualZero(Z->Q)) in CryptRsaGenerateKey()1451 if(BnEqualZero(Z->Q)) in CryptRsaGenerateKey()
500 retVal = (!BnEqualZero(x) in BnIsValidPrivateEcc()512 return !BnEqualZero(bnD) && (BnUnsignedCmp(bnD, BnGetCurveOrder(curveId)) < 0); in CryptEccIsValidPrivateKey()
156 if(BnEqualZero(pQeB->z)) in C_2_2_MQV()
594 && (BnEqualZero(dest) || (BnUnsignedCmp(dest, limit) >= 0))); in BnGenerateRandomInRange()
106 pAssert(!BnEqualZero(divisor)); in BnDiv()221 OK = OK && !BnEqualZero(result->z); in BnEccModMult()256 OK = OK && !BnEqualZero(result->z); in BnEccModMult2()
252 pAssert(!BnEqualZero(divisor)); in BnDiv()441 return !BnEqualZero(R->z); in BnEccModMult()483 return !BnEqualZero(R->z); in BnEccModMult2()519 return !BnEqualZero(R->z); in BnEccAdd()
297 if(BnEqualZero(divisor)) in BnDiv()566 return !BnEqualZero(R->z); in BnEccModMult()598 return !BnEqualZero(R->z); in BnEccModMult2()624 return !BnEqualZero(R->z); in BnEccAdd()
135 #define BnEqualZero(bn) (BnGetSize(bn) == 0) macro