comparison libtomcrypt/src/math/rand_bn.c @ 1711:e9dba7abd939

Merge libtomcrypt v1.18.2
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Jun 2020 23:16:13 +0800
parents 6dba84798cd5
children
comparison
equal deleted inserted replaced
1710:1ff2a1034c52 1711:e9dba7abd939
6 * The library is free for all purposes without any express 6 * The library is free for all purposes without any express
7 * guarantee it works. 7 * guarantee it works.
8 */ 8 */
9 #include "tomcrypt.h" 9 #include "tomcrypt.h"
10 10
11 #ifdef LTC_MDSA 11 #if defined(LTC_MDSA) || defined(LTC_MECC)
12 /** 12 /**
13 Generate a random number N with given bitlength (note: MSB can be 0) 13 Generate a random number N with given bitlength (note: MSB can be 0)
14 */ 14 */
15 15
16 int rand_bn_bits(void *N, int bits, prng_state *prng, int wprng) 16 int rand_bn_bits(void *N, int bits, prng_state *prng, int wprng)