Searched refs:randnum (Results 1 – 7 of 7) sorted by relevance
/external/python/rsa/tests/ |
D | test_prime.py | 23 import rsa.randnum 59 orig_randint = rsa.randnum.randint 60 rsa.randnum.randint = fake_randint 77 rsa.randnum.randint = orig_randint
|
/external/ltp/lib/ |
D | random_range.c | 351 long randnum; in random_range() local 352 randnum = divider(min, max, 0, -1); in random_range() 353 return (long)(min + ((randnum % nmults) * mult)); in random_range() 438 long randnum; in random_rangel() local 439 randnum = divider(min, max, 0, -1); in random_rangel() 440 return (long)(min + ((randnum % nmults) * mult)); in random_rangel() 455 long long randnum; in random_rangell() local 526 randnum = divider(min, max, 0, -1); in random_rangell() 527 return (long long)(min + ((randnum % nmults) * mult)); in random_rangell()
|
/external/python/rsa/rsa/ |
D | prime.py | 25 import rsa.randnum 100 a = rsa.randnum.randint(n - 3) + 1 166 integer = rsa.randnum.read_random_odd_int(nbits)
|
D | parallel.py | 33 import rsa.randnum 38 integer = rsa.randnum.read_random_odd_int(nbits)
|
D | key.py | 43 import rsa.randnum 430 blind_r = rsa.randnum.randint(self.n - 1) 446 blind_r = rsa.randnum.randint(self.n - 1)
|
/external/toybox/toys/pending/ |
D | dhcp.c | 568 uint32_t randnum; in getxid() local 572 xreadall(fd, &randnum, sizeof(randnum)); in getxid() 574 return randnum; in getxid()
|
/external/python/rsa/doc/ |
D | usage.rst | 248 >>> import rsa.randnum 249 >>> aes_key = rsa.randnum.read_random_bits(128)
|