Home
last modified time | relevance | path

Searched refs:RADIX_BITS (Results 1 – 13 of 13) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DLibSupport.h42 #ifndef RADIX_BITS
49 # define RADIX_BITS 64 macro
53 # define RADIX_BITS 32 macro
55 # error Unable to determine RADIX_BITS from compiler environment
DBnValues.h61 #if RADIX_BITS == 64
63 #elif RADIX_BITS == 32
73 #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1))
77 #if RADIX_BITS == 64
83 #elif RADIX_BITS == 32
201 #define BN_WORD(name) BN_VAR(name, RADIX_BITS)
206 BN_STRUCT(RADIX_BITS) name##_; \
208 BN_STRUCT_ALLOCATION(RADIX_BITS), initial)
315 # if RADIX_BITS == 32
317 # elif RADIX_BITS == 64
DCryptRand.h67 #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \
68 || ((DRBG_IV_SIZE_BITS % RADIX_BITS) != 0)
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptPrime.c125 #if RADIX_BITS > 32 in BnIsProbablyPrime()
196 i = (int)(bnWm1->size * RADIX_BITS); in MillerRabin()
199 (a < (bnWm1->size * RADIX_BITS)) && in MillerRabin()
334 msw = prime->d[prime->size - 1] >> ((RADIX_BITS == 64) ? 32 : 0); in RsaAdjustPrimeCandidate()
339 #if RADIX_BITS == 64 in RsaAdjustPrimeCandidate()
DBnMath.c335 BN_VAR(mod, RADIX_BITS); in BnModWord()
357 #if RADIX_BITS == 64 in Msb()
382 retVal += (int)(bn->size - 1) * RADIX_BITS; in BnMsb()
429 crypt_uword_t offset = bitNum / RADIX_BITS; in BnSetBit()
430 pAssert(bn->allocated * RADIX_BITS >= bitNum); in BnSetBit()
503 shiftIn = RADIX_BITS - shiftAmount; in BnShiftRight()
DPrimeData.c42 const BN_STRUCT(43 * RADIX_BITS) s_CompositeOfSmallPrimes_ =
DCryptEccData.c57 # if RADIX_BITS > 32
DCryptRsa.c1009 BN_VAR(bnE, RADIX_BITS); in CryptRsaLoadPrivateExponent()
DCryptUtil.c322 if((keyBits % RADIX_BITS) != 0) in CryptGenerateKeySymmetric()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/
DTpmToOsslMath.h57 #if defined THIRTY_TWO_BIT && (RADIX_BITS != 32) \
59 && (RADIX_BITS != 64))
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ltc/
DTpmToLtcMath.h53 #if RADIX_BITS != 32
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c60 #define WOLF_HALF_RADIX (RADIX_BITS == 64 && !defined(FP_64BIT))
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h151 #define RADIX_BITS 32 macro