Home
last modified time | relevance | path

Searched refs:public_exponent (Results 1 – 14 of 14) sorted by relevance

/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Drsa.py111 def generate_private_key(public_exponent, key_size, backend): argument
118 _verify_rsa_parameters(public_exponent, key_size)
119 return backend.generate_rsa_private_key(public_exponent, key_size)
122 def _verify_rsa_parameters(public_exponent, key_size): argument
123 if public_exponent < 3:
126 if public_exponent & 1 == 0:
134 public_exponent, modulus): argument
156 if public_exponent < 3 or public_exponent >= modulus:
159 if public_exponent & 1 == 0:
/external/openssh/regress/
Dssh2putty.sh21 public_exponent=`
33 echo "rsa2@$PORT:$HOST $public_exponent,$modulus"
/external/vboot_reference/utility/
DdumpRSAPublicKey.c23 int public_exponent = BN_get_word(key->e); in check() local
26 if (public_exponent != 65537) { in check()
28 public_exponent); in check()
/external/python/cryptography/src/cryptography/hazmat/backends/
Dinterfaces.py99 def generate_rsa_private_key(self, public_exponent, key_size): argument
112 def generate_rsa_parameters_supported(self, public_exponent, key_size): argument
/external/python/cryptography/tests/hazmat/backends/
Dtest_openssl.py306 backend.generate_rsa_private_key(public_exponent=1, key_size=2048)
309 backend.generate_rsa_private_key(public_exponent=4, key_size=2048)
313 backend.generate_rsa_private_key(public_exponent=65537,
317 backend.generate_rsa_private_key(public_exponent=65537,
/external/python/cryptography/docs/hazmat/backends/
Dinterfaces.rst219 .. method:: generate_rsa_private_key(public_exponent, key_size)
221 :param int public_exponent: The public exponent of the new key.
230 :raises ValueError: If the public_exponent is not valid.
242 .. method:: generate_rsa_parameters_supported(public_exponent, key_size)
247 :param int public_exponent: The public exponent.
260 ``private_exponent``, ``public_exponent``, or ``modulus`` do not
275 ``public_exponent`` or ``modulus`` do not match the bounds
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dutils.rst66 ... public_exponent=65537,
Drsa.rst17 .. function:: generate_private_key(public_exponent, key_size, backend)
25 new keys. The ``public_exponent`` indicates what one mathematical property
34 ... public_exponent=65537,
39 :param int public_exponent: The public exponent of the new key.
/external/python/cryptography/docs/x509/
Dtutorial.rst35 ... public_exponent=65537,
106 ... public_exponent=65537,
Dreference.rst678 ... public_exponent=65537,
928 ... public_exponent=65537,
1133 ... public_exponent=65537,
/external/python/cryptography/tests/hazmat/primitives/
Dtest_rsa.py155 def test_generate_rsa_keys(self, backend, public_exponent, key_size): argument
156 skey = rsa.generate_private_key(public_exponent, key_size, backend)
165 rsa.generate_private_key(public_exponent=1,
170 rsa.generate_private_key(public_exponent=4,
176 rsa.generate_private_key(public_exponent=65537,
181 rsa.generate_private_key(public_exponent=65537,
/external/scapy/scapy/layers/tls/
Dcert.py262 private_key = rsa.generate_private_key(public_exponent=pubExp,
458 self.key = rsa.generate_private_key(public_exponent=pubExp,
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py366 def generate_rsa_private_key(self, public_exponent, key_size): argument
367 rsa._verify_rsa_parameters(public_exponent, key_size)
373 bn = self._int_to_bn(public_exponent)
384 def generate_rsa_parameters_supported(self, public_exponent, key_size): argument
385 return (public_exponent >= 3 and public_exponent & 1 != 0 and
/external/python/pyopenssl/tests/
Dtest_ssl.py435 public_exponent=65537, key_size=2048, backend=default_backend()