Home
last modified time | relevance | path

Searched refs:parameter_numbers (Results 1 – 18 of 18) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_dsa.py75 skey_parameters = numbers.public_numbers.parameter_numbers
78 parameter_numbers = parameters.parameter_numbers()
79 assert parameter_numbers.p == skey_parameters.p
80 assert parameter_numbers.q == skey_parameters.q
81 assert parameter_numbers.g == skey_parameters.g
97 skey_parameters = numbers.public_numbers.parameter_numbers
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 …]
Dtest_dh.py83 assert public.parameter_numbers is params
205 p = private.public_numbers.parameter_numbers.p
206 g = private.public_numbers.parameter_numbers.g
264 parameter_numbers = parameters.parameter_numbers()
265 assert isinstance(parameter_numbers, dh.DHParameterNumbers)
266 assert parameter_numbers.p.bit_length() == key_size
301 parameters.parameter_numbers().p)
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 …]
Dfixtures_dsa.py14 parameter_numbers=DSAParameterNumbers(
44 parameter_numbers=DSAParameterNumbers(
94 parameter_numbers=DSAParameterNumbers(
Dtest_serialization.py874 parameter_numbers = pub.parameter_numbers
886 assert parameter_numbers.p == int(
895 assert parameter_numbers.q == int(
898 assert parameter_numbers.g == int(
Dutils.py471 params = pkey.parameter_numbers
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Ddsa.py26 def parameter_numbers(self): member in DSAParametersWithNumbers
141 parameters = numbers.public_numbers.parameter_numbers
190 def __init__(self, y, parameter_numbers): argument
194 if not isinstance(parameter_numbers, DSAParameterNumbers):
200 self._parameter_numbers = parameter_numbers
203 parameter_numbers = utils.read_only_property("_parameter_numbers") variable in DSAPublicNumbers
214 self.parameter_numbers == other.parameter_numbers
Ddh.py50 def __init__(self, y, parameter_numbers): argument
54 if not isinstance(parameter_numbers, DHParameterNumbers):
59 self._parameter_numbers = parameter_numbers
77 parameter_numbers = utils.read_only_property("_parameter_numbers") variable in DHPublicNumbers
133 def parameter_numbers(self): member in DHParameters
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dssh.py73 parameter_numbers = dsa.DSAParameterNumbers(p, q, g)
74 public_numbers = dsa.DSAPublicNumbers(y, parameter_numbers)
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py627 parameter_numbers = numbers.public_numbers.parameter_numbers
633 p = self._int_to_bn(parameter_numbers.p)
634 q = self._int_to_bn(parameter_numbers.q)
635 g = self._int_to_bn(parameter_numbers.g)
645 dsa._check_dsa_parameters(numbers.parameter_numbers)
650 p = self._int_to_bn(numbers.parameter_numbers.p)
651 q = self._int_to_bn(numbers.parameter_numbers.q)
652 g = self._int_to_bn(numbers.parameter_numbers.g)
1857 parameter_numbers = public_numbers.parameter_numbers
1860 ssh._ssh_write_mpint(parameter_numbers.p) +
[all …]
Ddh.py42 def parameter_numbers(self): member in _DHParameters
136 parameter_numbers=dh.DHParameterNumbers(
245 parameter_numbers=dh.DHParameterNumbers(
Ddsa.py90 def parameter_numbers(self): member in _DSAParameters
144 parameter_numbers=dsa.DSAParameterNumbers(
235 parameter_numbers=dsa.DSAParameterNumbers(
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Ddh.rst166 .. method:: parameter_numbers()
390 .. class:: DHPublicNumbers(y, parameter_numbers)
396 .. attribute:: parameter_numbers
Ddsa.rst181 .. class:: DSAPublicNumbers(y, parameter_numbers)
193 .. attribute:: parameter_numbers
266 .. method:: parameter_numbers()
/external/python/cryptography/tests/hazmat/backends/
Dtest_openssl.py143 param_num = parameters.parameter_numbers()
146 param_num = parameters.parameter_numbers()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier.cc1691 std::vector<bool> parameter_numbers(fused_parameters.size(), false); in CheckFusionInstruction() local
1704 if (parameter_numbers[param_no]) { in CheckFusionInstruction()
1709 parameter_numbers[param_no] = true; in CheckFusionInstruction()
1712 for (int i = 0; i < parameter_numbers.size(); i++) { in CheckFusionInstruction()
1713 if (!parameter_numbers[i]) { in CheckFusionInstruction()
/external/scapy/scapy/layers/tls/
Dkeyexchange_tls13.py104 pn = params.parameter_numbers()
Dkeyexchange.py307 default_params = _ffdh_groups['modp2048'][0].parameter_numbers()
753 param_numbers = s.client_kx_ffdh_params.parameter_numbers()
/external/python/cryptography/tests/x509/
Dtest_x509.py3488 assert num.parameter_numbers.g == int(
3499 assert num.parameter_numbers.p == int(
3510 assert num.parameter_numbers.q == int(