Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccSignature.c97 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()
DCryptRsa.c1017 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()
DCryptEccMain.c500 retVal = (!BnEqualZero(x) in BnIsValidPrivateEcc()
512 return !BnEqualZero(bnD) && (BnUnsignedCmp(bnD, BnGetCurveOrder(curveId)) < 0); in CryptEccIsValidPrivateKey()
DCryptEccKeyExchange.c156 if(BnEqualZero(pQeB->z)) in C_2_2_MQV()
DBnMath.c594 && (BnEqualZero(dest) || (BnUnsignedCmp(dest, limit) >= 0))); in BnGenerateRandomInRange()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ltc/
DTpmToLtcMath.c106 pAssert(!BnEqualZero(divisor)); in BnDiv()
221 OK = OK && !BnEqualZero(result->z); in BnEccModMult()
256 OK = OK && !BnEqualZero(result->z); in BnEccModMult2()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c252 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()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/
DTpmToOsslMath.c297 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()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DBnValues.h135 #define BnEqualZero(bn) (BnGetSize(bn) == 0) macro