Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DBnMath.c82 crypt_uword_t *result, in AddSame()
83 const crypt_uword_t *op1, in AddSame()
84 const crypt_uword_t *op2, in AddSame()
93 crypt_uword_t a = op1[i]; in AddSame()
94 crypt_uword_t sum = a + op2[i]; in AddSame()
110 crypt_uword_t *result, in CarryProp()
111 const crypt_uword_t *op, in CarryProp()
145 crypt_uword_t stop; in BnAdd()
171 crypt_uword_t word in BnAddWord()
186 crypt_uword_t *result, in SubSame()
[all …]
DBnMemory.c51 crypt_uword_t top // IN: the new top in BnSetTop()
77 crypt_uword_t i; in BnClearTop()
95 crypt_uword_t allocated, // IN: in BnInitializeWord()
96 crypt_uword_t word // IN: in BnInitializeWord()
113 crypt_uword_t allocated in BnInit()
DBnConvert.c59 crypt_uword_t size; in BnFromBytes()
177 crypt_uword_t requiredSize; in BnToBytes()
180 crypt_uword_t count; in BnToBytes()
DCryptPrime.c136 crypt_uword_t temp = prime->d[0] >> 1; in BnIsProbablyPrime()
343 prime->d[prime->size -1] |= ((crypt_uword_t)adjusted << 32); in RsaAdjustPrimeCandidate()
345 prime->d[prime->size - 1] = (crypt_uword_t)adjusted; in RsaAdjustPrimeCandidate()
DCryptRand.c123 crypt_uword_t *pIv; in DfCompute()
124 crypt_uword_t temp[DRBG_IV_SIZE_WORDS] = {0}; in DfCompute()
128 pIv = (crypt_uword_t *)&dfState->iv[iv].words[0]; in DfCompute()
DCryptPrimeSieve.c461 BnAddWord(test, candidate, (crypt_uword_t)(chosen * 2)); in PrimeSelectWithSieve()
DCryptEccData.c84 crypt_uword_t allocate, size, d[BN_MIN_ALLOC(bytes)]; \
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DBnMath_fp.h58 crypt_uword_t word
79 crypt_uword_t word
105 crypt_uword_t word
126 crypt_uword_t word
153 crypt_uword_t w
188 crypt_uword_t maskBit // IN: the bit number for the mask.
DBnMemory_fp.h50 crypt_uword_t top // IN: the new top
66 crypt_uword_t allocated, // IN:
67 crypt_uword_t word // IN:
76 crypt_uword_t allocated
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DBnValues.h71 #define RADIX_MASK ((((crypt_uword_t)1) << RADIX_LOG2) - 1)
79 typedef uint64_t crypt_uword_t; typedef
85 typedef uint32_t crypt_uword_t; typedef
92 #define MAX_CRYPT_UWORD (~((crypt_uword_t)0))
106 crypt_uword_t allocated; \
107 crypt_uword_t size; \
108 crypt_uword_t d[count]; \
127 #define BnGetArray(x) ((crypt_uword_t *)&((x)->d[0]))
130 #define BnGetWord(x, i) (crypt_uword_t)((x)->d[i])
139 ((BnGetSize(bn) == 1) && (BnGetWord(bn, 0) == (crypt_uword_t)word))
[all …]
DCryptRand.h95 crypt_uword_t words[DRBG_KEY_SIZE_WORDS];
101 crypt_uword_t words[DRBG_IV_SIZE_WORDS];
107 crypt_uword_t words[DRBG_SEED_SIZE_WORDS];
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c86 bn->d[i/2] |= (crypt_uword_t)wolfBn->dp[i] << 32; in BnFromWolf()
156 crypt_uword_t i; in MathLibraryCompatibilityCheck()
167 VERIFY(wolfTemp->used * sizeof(fp_digit) == (int)tpmTemp->size * sizeof(crypt_uword_t)); in MathLibraryCompatibilityCheck()
169 VERIFY(((crypt_uword_t*)wolfTemp->dp)[i] == tpmTemp->d[i]); in MathLibraryCompatibilityCheck()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/
DTpmToOsslMath.c193 crypt_uword_t i; in MathLibraryCompatibilityCheck()