Searched refs:randomSize (Results 1 – 4 of 4) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptRand.c | 611 UINT16 randomSize, in CryptRandomGenerate() argument 615 return DRBG_Generate((RAND_STATE *)&drbgDefault, buffer, randomSize); in CryptRandomGenerate() 770 UINT16 randomSize // IN: the number of bytes to generate in DRBG_Generate() argument 784 INT32 bytesLeft = randomSize; in DRBG_Generate() 788 if((((kdf->counter * kdf->digestSize) + randomSize) * 8) > kdf->limit) in DRBG_Generate() 847 return randomSize; in DRBG_Generate() 874 if(randomSize > CTR_DRBG_MAX_BYTES_PER_REQUEST) in DRBG_Generate() 875 randomSize = CTR_DRBG_MAX_BYTES_PER_REQUEST; in DRBG_Generate() 885 EncryptDRBG(random, randomSize, &keySchedule, pDRBG_IV(seed), in DRBG_Generate() 898 return randomSize; in DRBG_Generate()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptRand_fp.h | 109 UINT16 randomSize, 184 UINT16 randomSize // IN: the number of bytes to generate
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 904 VkDeviceSize randomSize (de::Random& rng, VkDeviceSize atomSize, VkDeviceSize maxSize) in randomSize() function 930 const VkDeviceSize size = randomSize(rng, atomSize, maxSize); in randomRanges() 1013 const VkDeviceSize size = randomSize(rng, m_atomSize, m_size); in mapRandom() 1337 const VkDeviceSize size = randomSize(rng, atomSize, maxAllocationSize); in allocateRandom()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2037 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2042 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2048 gl.drawArrays(GL_POINTS, randomSize / (int)sizeof(float[4]) - 1, 1); in iterate() 2081 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2086 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2101 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2107 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2111 gl.drawArrays(GL_POINTS, randomSize / (int)sizeof(float[4]) - 1, 1); in iterate() 2116 ptr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, randomSize, GL_MAP_WRITE_BIT); in iterate() 2119 medianTimeMemcpy(ptr, &zeroData[0], randomSize); in iterate()
|