Searched refs:random_level (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Drsa.c194 gcry_random_level_t random_level;
205 random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM;
245 p = _gcry_generate_secret_prime (nbits/2, random_level,
247 q = _gcry_generate_secret_prime (nbits/2, random_level,
252 p = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL);
253 q = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL);
193 gcry_random_level_t random_level; local
H A Dprimegen.c245 gcry_random_level_t random_level,
251 prime = gen_prime (nbits, 1, random_level, extra_check, extra_check_arg);
261 gcry_random_level_t random_level,
267 prime = gen_prime (nbits, 0, random_level, extra_check, extra_check_arg);
1123 gcry_random_level_t random_level,
1142 random_level, flags, 1,
242 _gcry_generate_secret_prime(unsigned int nbits, gcry_random_level_t random_level, int (*extra_check)(void*, gcry_mpi_t), void *extra_check_arg) argument
258 _gcry_generate_public_prime(unsigned int nbits, gcry_random_level_t random_level, int (*extra_check)(void*, gcry_mpi_t), void *extra_check_arg) argument
1118 gcry_prime_generate(gcry_mpi_t *prime, unsigned int prime_bits, unsigned int factor_bits, gcry_mpi_t **factors, gcry_prime_check_func_t cb_func, void *cb_arg, gcry_random_level_t random_level, unsigned int flags) argument
H A Ddsa.c258 gcry_random_level_t random_level;
327 random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM;
339 rndbuf = gcry_random_bytes_secure ((qbits+7)/8, random_level);
342 char *r = gcry_random_bytes_secure (2, random_level);
257 gcry_random_level_t random_level; local
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drsa.c193 gcry_random_level_t random_level;
204 random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM;
244 p = _gcry_generate_secret_prime (nbits/2, random_level,
246 q = _gcry_generate_secret_prime (nbits/2, random_level,
251 p = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL);
252 q = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL);
192 gcry_random_level_t random_level; local
H A Dprimegen.c244 gcry_random_level_t random_level,
250 prime = gen_prime (nbits, 1, random_level, extra_check, extra_check_arg);
260 gcry_random_level_t random_level,
266 prime = gen_prime (nbits, 0, random_level, extra_check, extra_check_arg);
1122 gcry_random_level_t random_level,
1141 random_level, flags, 1,
241 _gcry_generate_secret_prime(unsigned int nbits, gcry_random_level_t random_level, int (*extra_check)(void*, gcry_mpi_t), void *extra_check_arg) argument
257 _gcry_generate_public_prime(unsigned int nbits, gcry_random_level_t random_level, int (*extra_check)(void*, gcry_mpi_t), void *extra_check_arg) argument
1117 gcry_prime_generate(gcry_mpi_t *prime, unsigned int prime_bits, unsigned int factor_bits, gcry_mpi_t **factors, gcry_prime_check_func_t cb_func, void *cb_arg, gcry_random_level_t random_level, unsigned int flags) argument
H A Ddsa.c258 gcry_random_level_t random_level;
327 random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM;
339 rndbuf = gcry_random_bytes_secure ((qbits+7)/8, random_level);
342 char *r = gcry_random_bytes_secure (2, random_level);
257 gcry_random_level_t random_level; local

Completed in 46 milliseconds