Searched refs:getprime_func (Results 1 – 2 of 2) sorted by relevance
/external/python/rsa/rsa/ |
D | key.py | 573 def find_p_q(nbits, getprime_func=rsa.prime.getprime, accurate=True): argument 614 p = getprime_func(pbits) 616 q = getprime_func(qbits) 640 p = getprime_func(pbits) 642 q = getprime_func(qbits) 694 def gen_keys(nbits, getprime_func, accurate=True, exponent=DEFAULT_EXPONENT): argument 712 (p, q) = find_p_q(nbits // 2, getprime_func, accurate) 759 getprime_func = functools.partial(parallel.getprime, poolsize=poolsize) 761 getprime_func = rsa.prime.getprime 764 (p, q, e, d) = gen_keys(nbits, getprime_func, accurate=accurate, exponent=exponent)
|
/external/python/rsa/tests/ |
D | test_key.py | 65 getprime_func=getprime,
|