Home
last modified time | relevance | path

Searched refs:salt_length (Results 1 – 12 of 12) sorted by relevance

/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Dpadding.py36 def __init__(self, mgf, salt_length): argument
39 if (not isinstance(salt_length, six.integer_types) and
40 salt_length is not self.MAX_LENGTH):
43 if salt_length is not self.MAX_LENGTH and salt_length < 0:
46 self._salt_length = salt_length
77 salt_length = emlen - hash_algorithm.digest_size - 2
78 assert salt_length >= 0
79 return salt_length
/external/python/cryptography/tests/hazmat/primitives/
Dtest_rsa.py111 salt_length=padding.PSS.MAX_LENGTH
398 salt_length=padding.PSS.MAX_LENGTH
433 salt_length=padding.PSS.MAX_LENGTH
446 salt_length=padding.PSS.MAX_LENGTH
461 salt_length=padding.PSS.MAX_LENGTH
473 salt_length=padding.PSS.MAX_LENGTH
485 salt_length=padding.PSS.MAX_LENGTH
494 salt_length=padding.PSS.MAX_LENGTH
510 salt_length=padding.PSS.MAX_LENGTH
519 salt_length=padding.PSS.MAX_LENGTH
[all …]
/external/webrtc/rtc_base/
Dssl_stream_adapter.cc56 int* salt_length) { in GetSrtpKeyAndSaltLengths() argument
63 *salt_length = 14; in GetSrtpKeyAndSaltLengths()
69 *salt_length = 12; in GetSrtpKeyAndSaltLengths()
75 *salt_length = 12; in GetSrtpKeyAndSaltLengths()
Dssl_stream_adapter.h71 int* salt_length);
/external/python/cpython3/Modules/clinic/
D_cryptmodule.c.h49 Py_ssize_t salt_length; in crypt_crypt() local
50 salt = PyUnicode_AsUTF8AndSize(args[1], &salt_length); in crypt_crypt()
54 if (strlen(salt) != (size_t)salt_length) { in crypt_crypt()
/external/python/cryptography/tests/wycheproof/
Dtest_rsa.py111 salt_length=wycheproof.testgroup["sLen"]
122 salt_length=wycheproof.testgroup["sLen"]
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dutils.rst75 ... salt_length=padding.PSS.MAX_LENGTH
85 ... salt_length=padding.PSS.MAX_LENGTH
Drsa.rst151 ... salt_length=padding.PSS.MAX_LENGTH
178 ... salt_length=padding.PSS.MAX_LENGTH
205 ... salt_length=padding.PSS.MAX_LENGTH
229 ... salt_length=padding.PSS.MAX_LENGTH
292 .. class:: PSS(mgf, salt_length)
297 Added ``salt_length`` parameter.
307 :param int salt_length: The length of the salt. It is recommended that this
312 Pass this attribute to ``salt_length`` to get the maximum salt length
367 Removed the deprecated ``salt_length`` parameter.
/external/python/cryptography/tests/
Dutils.py291 salt_length = None
302 salt_length = int(line.split(":")[1].strip())
323 "salt_length": salt_length,
334 if salt_length is not None:
335 test_data["salt_length"] = salt_length
/external/python/cryptography/tests/hazmat/backends/
Dtest_openssl.py322 padding.PSS(mgf=padding.MGF1(DummyHashAlgorithm()), salt_length=0)
333 padding.PSS(mgf=padding.MGF1(hashes.SHA1()), salt_length=0)
376 padding.PSS(mgf=DummyMGF(), salt_length=0)
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py125 return padding.PSS(mgf=mgf(h), salt_length=h.digest_size)
/external/python/cryptography/
DCHANGELOG.rst1138 * Removed the, deprecated in 0.4, support for the ``salt_length`` argument to
1140 constructor. The ``salt_length`` should be passed to
1260 * Deprecated ``salt_length`` on