Home
last modified time | relevance | path

Searched refs:BN_VAR (Results 1 – 12 of 12) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ltc/
DTpmToLtcMath.c64 BN_VAR(temp, LARGEST_NUMBER_BITS * 2); in BnModMult()
85 BN_VAR(tempResult, LARGEST_NUMBER_BITS * 2); in BnMult()
157 BN_VAR(bnR, MAX_RSA_KEY_BITS); in BnModExp()
158 BN_VAR(bnR2, MAX_RSA_KEY_BITS); in BnModExp()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptRsa.h42 #define BN_RSA(name) BN_VAR(name, MAX_RSA_KEY_BITS)
46 #define BN_PRIME(name) BN_VAR(name, (MAX_RSA_KEY_BITS / 2))
DBnValues.h190 #define BN_VAR(name, bits) \ macro
196 #define BN_MAX(name) BN_VAR(name, LARGEST_NUMBER_BITS)
201 #define BN_WORD(name) BN_VAR(name, RADIX_BITS)
238 #define ECC_NUM(name) BN_VAR(name, ECC_BITS)
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccMain.c461 BN_VAR(right, (MAX_ECC_KEY_BITS * 3)); in BnIsOnCurve()
462 BN_VAR(left, (MAX_ECC_KEY_BITS * 2)); in BnIsOnCurve()
599 BN_VAR(bnExtraBits, MAX_ECC_KEY_BITS + 64); in BnEccGetPrivate()
600 BN_VAR(nMinus1, MAX_ECC_KEY_BITS); in BnEccGetPrivate()
DCryptEccSignature.c93 BN_VAR(bnT1, MAX_ECC_PARAMETER_BYTES * 2 * 8); in BnSchnorrSign()
127 BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); in BnSignEcdsa()
589 BN_VAR(bnE, MAX(MAX_ECC_KEY_BYTES, MAX_DIGEST_SIZE) * 8); in BnValidateSignatureEcdsa()
DBnConvert.c196 BN_VAR(bnL, LARGEST_NUMBER_BITS * 2); in BnToBytes()
DCryptPrime.c140 BN_VAR(n, LARGEST_NUMBER_BITS); in BnIsProbablyPrime()
DBnMath.c335 BN_VAR(mod, RADIX_BITS); in BnModWord()
DCryptRsa.c1009 BN_VAR(bnE, RADIX_BITS); in CryptRsaLoadPrivateExponent()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/
DTpmToOsslMath.h67 BN_VAR(name##Bn, (bits)); \
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c155 BN_VAR(tpmTemp, 64 * 8); // allocate some space for a test value in MathLibraryCompatibilityCheck()
191 BN_VAR(temp, LARGEST_NUMBER_BITS * 2); in BnModMult()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/
DTpmToOsslMath.c198 BN_VAR(tpmTemp, sizeof(test) * 8); // allocate some space for a test value in MathLibraryCompatibilityCheck()