Home
last modified time | relevance | path

Searched refs:prime_size (Results 1 – 3 of 3) sorted by relevance

/third_party/glib/tests/
Dslice-test.c23 static guint prime_size = 1021; /* 769; 509 */ variable
98 memchunks = g_alloca (sizeof (memchunks[0]) * prime_size); in test_memchunk_thread()
99 memset (memchunks, 0, sizeof (memchunks[0]) * prime_size); in test_memchunk_thread()
105 ss[i] = quick_rand32() % prime_size; in test_memchunk_thread()
117 ss[i] = quick_rand32() % prime_size; in test_memchunk_thread()
127 guint sz = quick_rand32() % prime_size; in test_memchunk_thread()
135 for (i = 0; i < prime_size; i++) in test_memchunk_thread()
166 ss[i] = quick_rand32() % prime_size; in test_sliced_mem_thread()
178 ss[i] = quick_rand32() % prime_size; in test_sliced_mem_thread()
188 guint sz = quick_rand32() % prime_size; in test_sliced_mem_thread()
[all …]
/third_party/node/src/
Dnode_crypto_groups.h396 unsigned int prime_size; member
Dnode_crypto.cc5301 group->prime_size, in DiffieHellmanGroup()
5423 const size_t prime_size = ret->size(); in ZeroPadDiffieHellmanSecret() local
5424 if (remainder_size != prime_size) { in ZeroPadDiffieHellmanSecret()
5425 CHECK_LT(remainder_size, prime_size); in ZeroPadDiffieHellmanSecret()
5426 const size_t padding = prime_size - remainder_size; in ZeroPadDiffieHellmanSecret()
6518 group->prime_size, nullptr)); in GenerateKeyPairDH()