Home
last modified time | relevance | path

Searched refs:mgf (Results 1 – 25 of 40) sorted by relevance

12

/external/boringssl/src/third_party/wycheproof_testvectors/
Drsa_pss_misc_test.txt11 [mgf = MGF1]
27 [mgf = MGF1]
43 [mgf = MGF1]
59 [mgf = MGF1]
75 [mgf = MGF1]
91 [mgf = MGF1]
107 [mgf = MGF1]
123 [mgf = MGF1]
139 [mgf = MGF1]
155 [mgf = MGF1]
[all …]
Drsa_oaep_misc_test.txt10 [mgf = MGF1]
76 [mgf = MGF1]
142 [mgf = MGF1]
208 [mgf = MGF1]
274 [mgf = MGF1]
340 [mgf = MGF1]
406 [mgf = MGF1]
472 [mgf = MGF1]
538 [mgf = MGF1]
604 [mgf = MGF1]
[all …]
Drsa_oaep_2048_sha512_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha384_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha256_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_4096_sha512_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_3072_sha512_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha224_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_3072_sha256_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_3072_sha512_mgf1sha512_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha512_mgf1sha512_test.txt10 [mgf = MGF1]
Drsa_oaep_4096_sha256_mgf1sha1_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha224_mgf1sha224_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha384_mgf1sha384_test.txt10 [mgf = MGF1]
Drsa_oaep_3072_sha256_mgf1sha256_test.txt10 [mgf = MGF1]
Drsa_oaep_2048_sha1_mgf1sha1_test.txt10 [mgf = MGF1]
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py119 def _get_padding(padStr, mgf=padding.MGF1, h=hashes.SHA256, label=None): argument
125 return padding.PSS(mgf=mgf(h), salt_length=h.digest_size)
127 return padding.OAEP(mgf=mgf(h), algorithm=h, label=label)
143 def encrypt(self, m, t="pkcs", h="sha256", mgf=None, L=None): argument
144 mgf = mgf or padding.MGF1
146 pad = _get_padding(t, mgf, h, L)
150 def verify(self, M, S, t="pkcs", h="sha256", mgf=None, L=None): argument
152 mgf = mgf or padding.MGF1
154 pad = _get_padding(t, mgf, h, L)
190 def decrypt(self, C, t="pkcs", h="sha256", mgf=None, L=None): argument
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_rsa.py110 mgf=padding.MGF1(hash_alg),
231 mgf=padding.MGF1(algorithm=hashes.SHA256()),
246 mgf=padding.MGF1(algorithm=hashes.SHA512()),
263 mgf=padding.MGF1(algorithm=hashes.SHA256()),
275 mgf=padding.MGF1(algorithm=hashes.SHA256()),
283 mgf=padding.MGF1(algorithm=hashes.SHA256()),
301 mgf=padding.MGF1(algorithm=hashes.SHA256()),
313 mgf=padding.MGF1(algorithm=hashes.SHA256()),
321 mgf=padding.MGF1(algorithm=hashes.SHA256()),
330 mgf=padding.MGF1(algorithm=hashes.SHA256()),
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Dpadding.py36 def __init__(self, mgf, salt_length): argument
37 self._mgf = mgf
53 def __init__(self, mgf, algorithm, label): argument
57 self._mgf = mgf
/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)
339 mgf=padding.MGF1(algorithm=hashes.SHA1()),
360 mgf=padding.MGF1(algorithm=mgf1alg),
369 mgf=DummyMGF(),
376 padding.PSS(mgf=DummyMGF(), salt_length=0)
389 mgf=padding.MGF1(algorithm=hashes.SHA256()),
405 mgf=padding.MGF1(algorithm=hashes.SHA1()),
417 mgf=padding.MGF1(algorithm=hashes.MD5()),
/external/scapy/scapy/layers/tls/
Dcert.py297 def encrypt(self, msg, t="pkcs", h="sha256", mgf=None, L=None): argument
299 return _EncryptAndVerifyRSA.encrypt(self, msg, t, h, mgf, L)
301 def verify(self, msg, sig, t="pkcs", h="sha256", mgf=None, L=None): argument
302 return _EncryptAndVerifyRSA.verify(self, msg, sig, t, h, mgf, L)
494 def verify(self, msg, sig, t="pkcs", h="sha256", mgf=None, L=None): argument
496 return _EncryptAndVerifyRSA.verify(self, msg, sig, t, h, mgf, L)
498 def sign(self, data, t="pkcs", h="sha256", mgf=None, L=None): argument
499 return _DecryptAndSignRSA.sign(self, data, t, h, mgf, L)
639 def encrypt(self, msg, t="pkcs", h="sha256", mgf=None, L=None): argument
641 return self.pubKey.encrypt(msg, t, h, mgf, L)
[all …]
/external/python/cryptography/tests/wycheproof/
Dtest_rsa.py110 mgf=padding.MGF1(mgf_digest),
121 mgf=padding.MGF1(mgf_digest),
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dutils.rst74 ... mgf=padding.MGF1(hashes.SHA256()),
84 ... mgf=padding.MGF1(hashes.SHA256()),
Drsa.rst150 ... mgf=padding.MGF1(hashes.SHA256()),
177 ... mgf=padding.MGF1(hashes.SHA256()),
204 ... mgf=padding.MGF1(hashes.SHA256()),
228 ... mgf=padding.MGF1(hashes.SHA256()),
250 ... mgf=padding.MGF1(algorithm=hashes.SHA256()),
273 ... mgf=padding.MGF1(algorithm=hashes.SHA256()),
292 .. class:: PSS(mgf, salt_length)
304 :param mgf: A mask generation function object. At this time the only
315 .. class:: OAEP(mgf, algorithm, label)
324 :param mgf: A mask generation function object. At this time the only
/external/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/
Dgenerate_rsa_oaep_sha2.py75 mgf=padding.MGF1(algorithm=hashes.SHA1()),
84 mgf=padding.MGF1(algorithm=mgf1alg),

12