Home
last modified time | relevance | path

Searched refs:RAND_STATE (Results 1 – 25 of 25) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptPrime_fp.h57 RAND_STATE *rand // IN: the random state just
80 RAND_STATE *rand
100 RAND_STATE *rand
144 RAND_STATE *rand // IN: the random state
DCryptRsa_fp.h137 RAND_STATE *rand // IN: random number generator
175 RAND_STATE *rand // IN: the random number generator
205 RAND_STATE *rand // IN: if not NULL, the deterministic
DCryptEccMain_fp.h269 RAND_STATE *rand // IN: state for DRBG
280 RAND_STATE *rand // IN: DRBG state to use
369 RAND_STATE *rand // IN: if not NULL, the deterministic
DCryptEccSignature_fp.h56 RAND_STATE *rand // IN: used in debug of signing
78 RAND_STATE *rand
DBnMath_fp.h217 RAND_STATE *rand
235 RAND_STATE *rand
DRsaKeyCache_fp.h60 RAND_STATE *rand // IN: if not NULL, the deterministic
DCryptDes_fp.h72 RAND_STATE *rand // IN: the "entropy" source for
DCryptPrimeSieve_fp.h128 RAND_STATE *rand // IN: the random number generator state
DCryptRand_fp.h182 RAND_STATE *state,
DCryptUtil_fp.h272 RAND_STATE *rand // IN: the random number generator
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptPrime.c121 RAND_STATE *rand // IN: the random state just in BnIsProbablyPrime()
172 RAND_STATE *rand in MillerRabin()
270 RAND_STATE *rand in RsaCheckPrime()
360 RAND_STATE *rand // IN: the random state in BnGeneratePrimeForRSA()
DRsaKeyCache.c130 RAND_STATE *rand // IN: if not NULL, the deterministic in InitializeKeyCache()
192 RAND_STATE *rand // IN: if not NULL, the deterministic in KeyCacheLoaded()
233 RAND_STATE *rand // IN: if not NULL, the deterministic in GetCachedRsaKey()
DCryptRand.c513 if(DRBG_Generate((RAND_STATE *)&testState, buf, sizeof(buf)) == 0) in DRBG_SelfTest()
532 if(DRBG_Generate((RAND_STATE *)&testState, buf, sizeof(buf)) == 0) in DRBG_SelfTest()
615 return DRBG_Generate((RAND_STATE *)&drbgDefault, buffer, randomSize); in CryptRandomGenerate()
768 RAND_STATE *state, in DRBG_Generate()
774 state = (RAND_STATE *)&drbgDefault; in DRBG_Generate()
DCryptEccSignature.c122 RAND_STATE *rand // IN: used in debug of signing in BnSignEcdsa()
218 RAND_STATE *rand // IN: a random number state in BnSignEcdaa()
316 RAND_STATE *rand // IN: non-NULL when testing in BnSignEcSchnorr()
406 RAND_STATE *rand // IN: random number generator (mostly for in BnSignEcSm2()
507 RAND_STATE *rand in CryptEccSign()
DCryptRsa.c325 RAND_STATE *rand // IN: the random number generator to use in OaepEncode()
503 RAND_STATE *rand in RSAES_PKCS1v1_5Encode()
607 RAND_STATE *rand // IN: random number source in PssEncode()
1070 RAND_STATE *rand // IN: random number generator in CryptRsaEncrypt()
1203 RAND_STATE *rand // IN: the random number generator in CryptRsaSign()
1304 RAND_STATE *rand);
1348 RAND_STATE *rand // IN: if not NULL, the deterministic in CryptRsaGenerateKey()
DCryptDes.c162 RAND_STATE *rand // IN: the "entropy" source for in CryptGenerateKeyDes()
DCryptEccMain.c592 RAND_STATE *rand // IN: state for DRBG in BnEccGetPrivate()
617 RAND_STATE *rand // IN: DRBG state to use in BnEccGenerateKeyPair()
769 RAND_STATE *rand // IN: if not NULL, the deterministic in CryptEccGenerateKey()
DBnMath.c546 RAND_STATE *rand in BnGetRandomBits()
581 RAND_STATE *rand in BnGenerateRandomInRange()
DCryptEccCrypt.c109 # define RANDOM (RAND_STATE *)&dbg in CryptEccEncrypt()
DCryptPrimeSieve.c410 RAND_STATE *rand // IN: the random number generator state in PrimeSelectWithSieve()
DCryptUtil.c129 RAND_STATE *rand // IN: "entropy" source in CryptGenerateKeyedHash()
315 RAND_STATE *rand // IN: the "entropy" source for in CryptGenerateKeySymmetric()
1028 RAND_STATE *rand // IN: the random number generator in CryptCreateObject()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptRand.h167 } RAND_STATE; typedef
173 extern RAND_STATE *s_random;
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DCreateLoaded.c86 RAND_STATE randState; in TPM2_CreateLoaded()
87 RAND_STATE *rand = &randState; in TPM2_CreateLoaded()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Hierarchy/
DCreatePrimary.c120 (RAND_STATE *)&rand); in TPM2_CreatePrimary()
/external/ms-tpm-20-ref/Samples/TPMCmd-DeviceID/Platform/src/
DEPS.c251 RAND_STATE rand; in GetSeed()