Searched refs:pkcs1 (Results 1 – 20 of 20) sorted by relevance
/external/python/rsa/tests/ |
D | test_pkcs1.py | 22 from rsa import pkcs1 34 encrypted = pkcs1.encrypt(message, self.pub) 37 decrypted = pkcs1.decrypt(encrypted, self.priv) 44 encrypted = pkcs1.encrypt(message, self.pub) 53 self.assertRaises(pkcs1.DecryptionError, pkcs1.decrypt, encrypted, 62 encrypted1 = pkcs1.encrypt(message, self.pub) 63 encrypted2 = pkcs1.encrypt(message, self.pub) 102 signature = pkcs1.sign(message, self.priv, 'SHA-256') 103 self.assertEqual('SHA-256', pkcs1.verify(message, signature, self.pub)) 111 signature = pkcs1.sign(message, self.priv, 'SHA3-256') [all …]
|
/external/python/rsa/rsa/ |
D | pkcs1_v2.py | 23 pkcs1, 51 hash_length = pkcs1.HASH_METHODS[hasher]().digest_size 55 hash_list=', '.join(sorted(pkcs1.HASH_METHODS.keys())) 73 pkcs1.compute_hash(
|
D | __init__.py | 25 from rsa.pkcs1 import encrypt, decrypt, sign, verify, DecryptionError, \
|
D | cli.py | 27 import rsa.pkcs1 29 HASH_METHODS = sorted(rsa.pkcs1.HASH_METHODS.keys())
|
/external/python/oauth2client/oauth2client/ |
D | _pure_python_crypt.py | 90 return rsa.pkcs1.verify(message, signature, self._pubkey) 91 except (ValueError, rsa.pkcs1.VerificationError): 148 return rsa.pkcs1.sign(message, self._key, 'SHA-256')
|
/external/python/rsa/doc/ |
D | reference.rst | 45 .. autoclass:: rsa.pkcs1.CryptoError(Exception) 47 .. autoclass:: rsa.pkcs1.DecryptionError(CryptoError) 49 .. autoclass:: rsa.pkcs1.VerificationError(CryptoError)
|
D | usage.rst | 139 :py:class:`rsa.pkcs1.DecryptionError`. If you want to be *sure*, use 147 rsa.pkcs1.DecryptionError: Decryption failed 153 :py:class:`rsa.pkcs1.DecryptionError` exception. It shows where 197 :py:class:`rsa.pkcs1.VerificationError` is thrown: 203 File "/home/sybren/workspace/python-rsa/rsa/pkcs1.py", line 289, in verify 205 rsa.pkcs1.VerificationError: Verification failed 210 :py:class:`rsa.pkcs1.VerificationError` exception. It shows where
|
D | index.rst | 28 the stack trace of a :py:class:`rsa.pkcs1.CryptoError` exception
|
/external/rust/crates/ring/src/rsa/ |
D | padding.rs | 113 fn pkcs1_encode(pkcs1: &PKCS1, m_hash: &digest::Digest, m_out: &mut [u8]) { in pkcs1_encode() 116 let digest_len = pkcs1.digestinfo_prefix.len() + pkcs1.digest_alg.output_len; in pkcs1_encode() 129 let (digest_prefix, digest_dst) = em[3 + pad_len..].split_at_mut(pkcs1.digestinfo_prefix.len()); in pkcs1_encode() 130 digest_prefix.copy_from_slice(pkcs1.digestinfo_prefix); in pkcs1_encode()
|
/external/wpa_supplicant_8/src/tls/ |
D | Makefile | 9 pkcs1.o \
|
/external/python/oauth2client/tests/ |
D | test_service_account.py | 86 self.assertTrue(rsa.pkcs1.verify(b'Google', signature, pub_key)) 88 with self.assertRaises(rsa.pkcs1.VerificationError): 89 rsa.pkcs1.verify(b'Orest', signature, pub_key) 90 with self.assertRaises(rsa.pkcs1.VerificationError): 91 rsa.pkcs1.verify(b'Google', b'bad signature', pub_key)
|
/external/boringssl/src/crypto/obj/ |
D | objects.txt | 162 pkcs 1 : pkcs1 163 pkcs1 1 : : rsaEncryption 164 pkcs1 2 : RSA-MD2 : md2WithRSAEncryption 165 pkcs1 3 : RSA-MD4 : md4WithRSAEncryption 166 pkcs1 4 : RSA-MD5 : md5WithRSAEncryption 167 pkcs1 5 : RSA-SHA1 : sha1WithRSAEncryption 169 pkcs1 7 : RSAES-OAEP : rsaesOaep 170 pkcs1 8 : MGF1 : mgf1 171 pkcs1 9 : PSPECIFIED : pSpecified 172 pkcs1 10 : RSASSA-PSS : rsassaPss [all …]
|
D | obj_mac.num | 184 pkcs1 186
|
/external/scapy/scapy/layers/tls/crypto/ |
D | hkdf.py | 12 from scapy.layers.tls.crypto.pkcs1 import _get_hash
|
D | cipher_aead.py | 19 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
|
/external/ipsec-tools/src/racoon/ |
D | eaytest.c | 121 char *pkcs1 = local 155 printf ("%s", pkcs1); 157 priv = pem_read_buf(pkcs1);
|
/external/scapy/scapy/layers/tls/ |
D | keyexchange_tls13.py | 19 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
|
D | record.py | 30 from scapy.layers.tls.crypto.pkcs1 import randstring, pkcs_i2osp
|
D | keyexchange.py | 21 from scapy.layers.tls.crypto.pkcs1 import pkcs_i2osp, pkcs_os2ip
|
D | cert.py | 50 from scapy.layers.tls.crypto.pkcs1 import (pkcs_os2ip, pkcs_i2osp, _get_hash,
|