Searched refs:getprime_func (Results 1 – 2 of 2) sorted by relevance
/external/python/rsa/rsa/ |
D | key.py | 590 getprime_func: typing.Callable[[int], int] = rsa.prime.getprime, 632 p = getprime_func(pbits) 634 q = getprime_func(qbits) 658 p = getprime_func(pbits) 660 q = getprime_func(qbits) 713 getprime_func: typing.Callable[[int], int], 733 (p, q) = find_p_q(nbits // 2, getprime_func, accurate) 782 def getprime_func(nbits: int) -> int: function 785 getprime_func = rsa.prime.getprime 788 (p, q, e, d) = gen_keys(nbits, getprime_func, accurate=accurate, exponent=exponent)
|
/external/python/rsa/tests/ |
D | test_key.py | 74 getprime_func=getprime,
|