Home
last modified time | relevance | path

Searched refs:DRBG_Generate (Results 1 – 9 of 9) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ltc/
DTpmToLtcSupport.c64 DRBG_Generate(s_randState, buf, (uint16_t)blen); in LtcRand()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
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()
767 DRBG_Generate( in DRBG_Generate() function
DCryptDes.c175 if(DRBG_Generate(rand, pK, sensitive->sensitive.sym.t.size) == 0) in CryptGenerateKeyDes()
DCryptRsa.c375 DRBG_Generate(rand, mySeed, (UINT16)hLen); in OaepEncode()
518 DRBG_Generate(rand, &padded->buffer[2], (UINT16)ps); in RSAES_PKCS1v1_5Encode()
633 DRBG_Generate(rand, salt, saltSize); in PssEncode()
DCryptUtil.c178 DRBG_Generate(rand, sensitive->sensitive.bits.t.buffer, digestSize); in CryptGenerateKeyedHash()
342 DRBG_Generate(rand, sensitive->sensitive.sym.t.buffer, in CryptGenerateKeySymmetric()
1092 DRBG_Generate(rand, sensitive->seedValue.t.buffer, in CryptCreateObject()
DBnMath.c555 if(DRBG_Generate(rand, large.t.buffer, large.t.size) == large.t.size) in BnGetRandomBits()
DCryptEccMain.c806 DRBG_Generate(NULL, digest.t.buffer, digest.t.size); in CryptEccGenerateKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptRand_fp.h181 DRBG_Generate(
/external/ms-tpm-20-ref/Samples/TPMCmd-DeviceID/Platform/src/
DEPS.c267 if(DRBG_Generate(&rand, seed, size) == 0) in GetSeed()