Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccSignature.c54 int bitsInMax = BnSizeInBits(max); in EcdsaDigest()
63 shift = BnSizeInBits(bnD) - bitsInMax; in EcdsaDigest()
290 UINT16 maxBytes = (UINT16)BITS_TO_BYTES(BnSizeInBits(reference)); in SchnorrReduce()
352 BnTo2B(ecR->x, e, (NUMBYTES)BITS_TO_BYTES(BnSizeInBits(prime))); in BnSignEcSchnorr()
557 (NUMBYTES)BITS_TO_BYTES(BnSizeInBits(CurveGetOrder(C))); in CryptEccSign()
737 (NUMBYTES)(BITS_TO_BYTES(BnSizeInBits(order)))); in BnValidateSignatureEcSchnorr()
DBnConvert.c185 requiredSize = (BnSizeInBits(bn) + 7) / 8; in BnToBytes()
289 size = (UINT16)BITS_TO_BYTES(BnSizeInBits(CurveGetOrder(AccessCurveData(E)))); in BnPointTo2B()
DCryptPrime.c184 int iterations = MillerRabinRounds(BnSizeInBits(bnW)); in MillerRabin()
205 wLen = BnSizeInBits(bnW); in MillerRabin()
DBnMath.c394 BnSizeInBits( in BnSizeInBits() function
584 size_t bits = BnSizeInBits(limit); in BnGenerateRandomInRange()
DCryptEccKeyExchange.c65 int f = (BnSizeInBits(bnN) + 1) / 2; in avf1()
DCryptPrimeSieve.c430 primeSize = BnSizeInBits(candidate); in PrimeSelectWithSieve()
DCryptEccMain.c597 UINT32 orderBits = BnSizeInBits(order); in BnEccGetPrivate()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DBnMath_fp.h144 BnSizeInBits(
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c222 (BITS_TO_CRYPT_WORDS(BnSizeInBits(multiplicand) in BnMult()
223 + BnSizeInBits(multiplier)))); in BnMult()