Home
last modified time | relevance | path

Searched refs:BnUnsignedCmp (Results 1 – 7 of 7) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptPrime.c213 || (BnUnsignedCmp(bnB, bnWm1) >= 0))); in MillerRabin()
224 || (BnUnsignedCmp(bnZ, bnWm1) == 0)) in MillerRabin()
232 if(BnUnsignedCmp(bnZ, bnWm1) == 0) in MillerRabin()
DCryptEccSignature.c388 return (BnUnsignedCmp(bn, bnC) == 0); in BnHexEqual()
450 if(BnUnsignedCmp(bnT, bnN) == 0) in BnSignEcSm2()
621 if(BnUnsignedCmp(ecR->x, bnR) != 0) in BnValidateSignatureEcdsa()
689 OK = OK && (BnUnsignedCmp(bnR, bnRp) == 0); in BnValidateSignatureEcSm2()
748 OK = BnUnsignedCmp(bnEx, bnR) == 0; in BnValidateSignatureEcSchnorr()
802 if((BnUnsignedCmp(bnS, order) >= 0) in CryptEccValidateSignature()
803 || (BnUnsignedCmp(bnR, order) >= 0)) in CryptEccValidateSignature()
DCryptEccMain.c485 if(BnUnsignedCmp(left, right) == 0) in BnIsOnCurve()
501 && (BnUnsignedCmp(x, CurveGetOrder(AccessCurveData(E))) < 0)); in BnIsValidPrivateEcc()
512 return !BnEqualZero(bnD) && (BnUnsignedCmp(bnD, BnGetCurveOrder(curveId)) < 0); in CryptEccIsValidPrivateKey()
DBnMath.c280 BnUnsignedCmp( in BnUnsignedCmp() function
594 && (BnEqualZero(dest) || (BnUnsignedCmp(dest, limit) >= 0))); in BnGenerateRandomInRange()
DCryptRsa.c99 if(BnUnsignedCmp(Z->P, Z->Q) < 0) in MakePgreaterThanQ()
1427 if(BnUnsignedCmp(Z->P, Z->Q) < 0) in CryptRsaGenerateKey()
1478 if(BnUnsignedCmp(temp2, temp1) != 0) in CryptRsaGenerateKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DBnMath_fp.h91 BnUnsignedCmp(
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMathOnByteBuffers.c162 if(BnUnsignedCmp(bnM, bnN) >= 0) in ModExpB()