Searched refs:randomSize (Results 1 – 8 of 8) sorted by relevance
/external/tpm2/ |
D | CpriRNG.c | 109 INT32 randomSize, in _cpri__GenerateRandom() argument 115 if (randomSize < 0 || randomSize > UINT16_MAX) in _cpri__GenerateRandom() 118 if(RAND_bytes(buffer, randomSize) == 1) in _cpri__GenerateRandom() 119 return (UINT16)randomSize; in _cpri__GenerateRandom() 133 INT32 randomSize, // IN: the size of the request in _cpri__GenerateSeededRandom() argument 143 randomSize * 8, random, NULL, FALSE)); in _cpri__GenerateSeededRandom()
|
D | CpriRNG_fp.h | 12 LIB_EXPORT UINT16 _cpri__GenerateRandom(INT32 randomSize, BYTE *buffer); 14 INT32 randomSize, // IN: the size of the request
|
D | stubs_hash.c | 244 INT32 randomSize, // IN: the size of the request in _cpri__GenerateSeededRandom() argument 254 randomSize * 8, random, NULL, FALSE)); in _cpri__GenerateSeededRandom()
|
D | CryptUtil.c | 109 UINT16 randomSize, // IN: size of random number in CryptGenerateRandom() argument 114 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE); in CryptGenerateRandom() 115 if(randomSize == 0) in CryptGenerateRandom() 118 result = _cpri__GenerateRandom(randomSize, buffer); in CryptGenerateRandom() 119 if(result != randomSize) in CryptGenerateRandom()
|
D | CryptUtil_fp.h | 143 UINT16 CryptGenerateRandom(UINT16 randomSize, // IN: size of random number
|
D | part4.txt | 19413 66 UINT16 randomSize, // IN: size of random number 19418 71 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE); 19419 72 if(randomSize == 0) 19428 76 result = _cpri__GenerateRandom(randomSize, buffer); 19429 77 if(result != randomSize) 26395 …number of bytes requested (randomSize) it is indicative of a failure of the OpenSSL() random number 26400 63 INT32 randomSize, 26406 69 if (randomSize < 0 || randomSize > UINT16_MAX) 26409 72 if(RAND_bytes(buffer, randomSize) == 1) 26410 73 return (UINT16)randomSize; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 563 VkDeviceSize randomSize (de::Random& rng, VkDeviceSize atomSize, VkDeviceSize maxSize) in randomSize() function 589 const VkDeviceSize size = randomSize(rng, atomSize, maxSize); in randomRanges() 662 const VkDeviceSize size = randomSize(rng, m_atomSize, m_size); in mapRandom() 810 const VkDeviceSize size = randomSize(rng, atomSize, availableMem); 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()
|