Home
last modified time | relevance | path

Searched refs:BITS_TO_CRYPT_WORDS (Results 1 – 5 of 5) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DBnValues.h73 #define BITS_TO_CRYPT_WORDS(bits) RADIX_DIV((bits) + (RADIX_BITS - 1)) macro
74 #define BYTES_TO_CRYPT_WORDS(bytes) BITS_TO_CRYPT_WORDS(bytes * 8)
172 #define BN_STRUCT_ALLOCATION(bits) (BITS_TO_CRYPT_WORDS(bits) + 1)
244 {BITS_TO_CRYPT_WORDS ( bits ), 0,{0}}; \
246 {BITS_TO_CRYPT_WORDS ( bits ), 0,{0}}; \
248 {BITS_TO_CRYPT_WORDS ( bits ), 0,{0}}; \
DCryptRand.h82 #define DRBG_KEY_SIZE_WORDS (BITS_TO_CRYPT_WORDS(DRBG_KEY_SIZE_BITS))
85 #define DRBG_IV_SIZE_WORDS (BITS_TO_CRYPT_WORDS(DRBG_IV_SIZE_BITS))
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptPrime.c366 pAssert(prime->allocated >= BITS_TO_CRYPT_WORDS(bits)); in BnGeneratePrimeForRSA()
370 prime->size = BITS_TO_CRYPT_WORDS(bits); in BnGeneratePrimeForRSA()
DBnMath.c475 finalSize = BITS_TO_CRYPT_WORDS(maskBit); in BnMaskBits()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c222 (BITS_TO_CRYPT_WORDS(BnSizeInBits(multiplicand) in BnMult()