/external/python/cryptography/tests/hazmat/primitives/ |
D | test_dsa.py | 75 skey_parameters = numbers.public_numbers.parameter_numbers 87 public_numbers = pkey.public_numbers() 88 assert numbers.public_numbers.y == public_numbers.y 89 assert numbers.public_numbers.y == pow( 97 skey_parameters = numbers.public_numbers.parameter_numbers 98 assert numbers.public_numbers.y == pow( 107 DSA_KEY_1024.public_numbers.parameter_numbers.q, 108 DSA_KEY_1024.public_numbers.parameter_numbers.g, 112 DSA_KEY_2048.public_numbers.parameter_numbers.q, 113 DSA_KEY_2048.public_numbers.parameter_numbers.g, [all …]
|
D | fixtures_ec.py | 16 public_numbers=ec.EllipticCurvePublicNumbers( 36 public_numbers=ec.EllipticCurvePublicNumbers( 54 public_numbers=ec.EllipticCurvePublicNumbers( 72 public_numbers=ec.EllipticCurvePublicNumbers( 89 public_numbers=ec.EllipticCurvePublicNumbers( 106 public_numbers=ec.EllipticCurvePublicNumbers( 126 public_numbers=ec.EllipticCurvePublicNumbers( 144 public_numbers=ec.EllipticCurvePublicNumbers( 162 public_numbers=ec.EllipticCurvePublicNumbers( 179 public_numbers=ec.EllipticCurvePublicNumbers( [all …]
|
D | fixtures_rsa.py | 32 public_numbers=RSAPublicNumbers( 61 public_numbers=RSAPublicNumbers( 89 public_numbers=RSAPublicNumbers( 118 public_numbers=RSAPublicNumbers( 149 public_numbers=RSAPublicNumbers( 178 public_numbers=RSAPublicNumbers( 209 public_numbers=RSAPublicNumbers( 241 public_numbers=RSAPublicNumbers( 273 public_numbers=RSAPublicNumbers( 305 public_numbers=RSAPublicNumbers( [all …]
|
D | test_dh.py | 100 assert private.public_numbers is public 205 p = private.public_numbers.parameter_numbers.p 206 g = private.public_numbers.parameter_numbers.g 269 assert isinstance(public.public_numbers(), dh.DHPublicNumbers) 299 symkey_manual = pow(key1.public_key().public_numbers().y, 349 if pub_key2.public_numbers().y >= parameters1.p: 520 assert private_numbers.public_numbers.y == int(vec["y"], 16) 521 assert private_numbers.public_numbers.parameter_numbers.g == int( 523 assert private_numbers.public_numbers.parameter_numbers.p == int( 526 assert private_numbers.public_numbers.parameter_numbers.q == int( [all …]
|
D | fixtures_dsa.py | 13 public_numbers=DSAPublicNumbers( 43 public_numbers=DSAPublicNumbers( 93 public_numbers=DSAPublicNumbers(
|
D | test_serialization.py | 320 numbers = key.public_numbers() 475 numbers = key.public_numbers() 549 assert numbers.public_numbers.e == 65537 550 assert numbers.public_numbers.n == int( 811 assert numbers.public_numbers.n == int( 819 assert numbers.public_numbers.e == 65537 873 pub = num.public_numbers 1031 numbers = key.public_numbers() 1130 numbers = key.public_numbers() 1184 assert key.public_numbers() == ec.EllipticCurvePublicNumbers( [all …]
|
D | test_ec.py | 141 assert numbers.public_numbers.x == 2 142 assert numbers.public_numbers.y == 3 143 assert isinstance(numbers.public_numbers.curve, DummyCurve) 306 assert priv_num.public_numbers.x == vector['x'] 307 assert priv_num.public_numbers.y == vector['y'] 308 assert curve_type().name == priv_num.public_numbers.curve.name 1074 public_num = pn.public_numbers() 1098 assert pn.public_numbers().x == int( 1102 assert pn.public_numbers().y == int( 1217 public_numbers = ec.EllipticCurvePublicNumbers( [all …]
|
D | test_rsa.py | 161 assert isinstance(pkey.public_numbers(), rsa.RSAPublicNumbers) 203 public_numbers=rsa.RSAPublicNumbers( 216 public_num2 = private_num.public_numbers 382 public_numbers=rsa.RSAPublicNumbers( 420 public_numbers=rsa.RSAPublicNumbers( 982 public_key = RSA_KEY_512.public_numbers.public_key(backend) 1425 public_numbers=rsa.RSAPublicNumbers( 1513 public_numbers=rsa.RSAPublicNumbers( 1551 public_numbers=rsa.RSAPublicNumbers( 1817 public_numbers = rsa.RSAPublicNumbers(e=1, n=15) [all …]
|
D | utils.py | 430 public_numbers = rsa.RSAPublicNumbers( 434 public_key = public_numbers.public_key(backend) 457 pkey = skey.public_numbers 470 pkey = skey.public_numbers
|
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | dsa.py | 101 def public_numbers(self): member in DSAPublicKey 141 parameters = numbers.public_numbers.parameter_numbers 146 if numbers.public_numbers.y != pow(parameters.g, numbers.x, parameters.p): 228 def __init__(self, x, public_numbers): argument 232 if not isinstance(public_numbers, DSAPublicNumbers): 236 self._public_numbers = public_numbers 240 public_numbers = utils.read_only_property("_public_numbers") variable in DSAPrivateNumbers 250 self.x == other.x and self.public_numbers == other.public_numbers
|
D | rsa.py | 90 def public_numbers(self): member in RSAPublicKey 270 public_numbers): argument 284 if not isinstance(public_numbers, RSAPublicNumbers): 296 self._public_numbers = public_numbers 304 public_numbers = utils.read_only_property("_public_numbers") variable in RSAPrivateNumbers 320 self.public_numbers == other.public_numbers 334 self.public_numbers,
|
D | dh.py | 19 def __init__(self, x, public_numbers): argument 23 if not isinstance(public_numbers, DHPublicNumbers): 28 self._public_numbers = public_numbers 45 public_numbers = utils.read_only_property("_public_numbers") variable in DHPrivateNumbers 200 def public_numbers(self): member in DHPublicKey
|
D | ec.py | 138 def public_numbers(self): member in EllipticCurvePublicKey 431 def __init__(self, private_value, public_numbers): argument 435 if not isinstance(public_numbers, EllipticCurvePublicNumbers): 442 self._public_numbers = public_numbers 448 public_numbers = utils.read_only_property("_public_numbers") variable in EllipticCurvePrivateNumbers 456 self.public_numbers == other.public_numbers 463 return hash((self.private_value, self.public_numbers))
|
/external/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/ |
D | generate_rsa_oaep_sha2.py | 36 output.append(format(pn.public_numbers.n, "x")) 38 output.append(format(pn.public_numbers.e, "x")) 41 output.append(format(pn.public_numbers.n, "x")) 43 output.append(format(pn.public_numbers.e, "x")) 64 public_numbers=rsa.RSAPublicNumbers(
|
/external/scapy/scapy/layers/tls/ |
D | keyexchange_tls13.py | 68 self.key_exchange = pubkey.public_numbers().y 81 self.key_exchange = pubkey.public_numbers().encode_point() 105 public_numbers = dh.DHPublicNumbers(self.key_exchange, pn) 106 self.pubkey = public_numbers.public_key(default_backend()) 115 public_numbers = import_point(curve, self.key_exchange) 116 self.pubkey = public_numbers.public_key(default_backend())
|
D | keyexchange.py | 327 y = pubkey.public_numbers().y 346 public_numbers = dh.DHPublicNumbers(y, pn) 349 s.server_kx_pubkey = public_numbers.public_key(default_backend()) 571 self.point = pubkey.public_numbers().encode_point() 643 pubNum = k.pubkey.public_numbers() 724 y = pubkey.public_numbers().y 754 public_numbers = dh.DHPublicNumbers(y, param_numbers) 755 s.client_kx_pubkey = public_numbers.public_key(default_backend()) 782 x = pubkey.public_numbers().x 783 y = pubkey.public_numbers().y
|
D | cert.py | 273 pubNum = self.pubkey.public_numbers() 470 public_numbers=pubNum) 475 pubNum = self.pubkey.public_numbers()
|
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/ |
D | ssh.py | 74 public_numbers = dsa.DSAPublicNumbers(y, parameter_numbers) 76 return public_numbers.public_key(backend)
|
/external/scapy/test/ |
D | cert.uts | 35 x_pubNum = x.pubkey.public_numbers() 43 y_pubNum = y.pubkey.public_numbers() 68 z.pubkey.public_numbers().x == 10474865617476949695237000542156651825270426300019272013458514924475… 106 x_pubNum = x.pubkey.public_numbers() 132 y.key.public_key().public_numbers().y == 8629057563777281845206256941009250317988273881091895191392… 220 x_pubNum = x.pubKey.pubkey.public_numbers() 252 pubkey.public_numbers().x == 3987178688175281746349180015490646948656137448666005327832107126183726…
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 396 numbers.public_numbers.e, 397 numbers.public_numbers.n 408 e = self._int_to_bn(numbers.public_numbers.e) 409 n = self._int_to_bn(numbers.public_numbers.n) 627 parameter_numbers = numbers.public_numbers.parameter_numbers 636 pub_key = self._int_to_bn(numbers.public_numbers.y) 1364 public = numbers.public_numbers 1849 public_numbers = key.public_numbers() 1852 ssh._ssh_write_mpint(public_numbers.e) + 1853 ssh._ssh_write_mpint(public_numbers.n) [all …]
|
D | ec.py | 208 public_numbers=self.public_key().public_numbers() 255 def public_numbers(self): member in _EllipticCurvePublicKey
|
D | dh.py | 135 public_numbers=dh.DHPublicNumbers( 229 def public_numbers(self): member in _DHPublicKey
|
D | dsa.py | 143 public_numbers=dsa.DSAPublicNumbers( 221 def public_numbers(self): member in _DSAPublicKey
|
/external/python/cryptography/docs/hazmat/primitives/asymmetric/ |
D | dh.rst | 291 .. method:: public_numbers() 361 .. class:: DHPrivateNumbers(x, public_numbers) 367 .. attribute:: public_numbers
|
D | dsa.rst | 208 .. class:: DSAPrivateNumbers(x, public_numbers) 225 .. attribute:: public_numbers 387 .. method:: public_numbers()
|