Home
last modified time | relevance | path

Searched refs:pkcs1 (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/
Dtest_pkcs1.py7 from rsa import pkcs1
20 encrypted = pkcs1.encrypt(message, self.pub)
23 decrypted = pkcs1.decrypt(encrypted, self.priv)
31 encrypted = pkcs1.encrypt(message, self.pub)
39 self.assertRaises(pkcs1.DecryptionError, pkcs1.decrypt, encrypted,
48 encrypted1 = pkcs1.encrypt(message, self.pub)
49 encrypted2 = pkcs1.encrypt(message, self.pub)
64 signature = pkcs1.sign(message, self.priv, 'SHA-256')
67 self.assertTrue(pkcs1.verify(message, signature, self.pub))
72 signature = pkcs1.sign(b('je moeder'), self.priv, 'SHA-256')
[all …]
Dtest_bigfile.py11 from rsa import bigfile, varblock, pkcs1
50 signature = pkcs1.sign(msgfile, priv_key, 'MD5')
54 self.assertTrue(pkcs1.verify(msgfile, signature, pub_key))
58 self.assertRaises(pkcs1.VerificationError,
59 pkcs1.verify, msgfile, signature, pub_key)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_service_account.py61 self.assertTrue(rsa.pkcs1.verify(b'Google', signature, pub_key))
64 rsa.pkcs1.verify(b'Orest', signature, pub_key)
66 except rsa.pkcs1.VerificationError:
70 rsa.pkcs1.verify(b'Google', b'bad signature', pub_key)
72 except rsa.pkcs1.VerificationError:
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dbigfile.py42 from rsa import key, common, pkcs1, varblock
65 crypto = pkcs1.encrypt(block, pub_key)
83 cleartext = pkcs1.decrypt(block, priv_key)
D__init__.py35 from rsa.pkcs1 import encrypt, decrypt, sign, verify, DecryptionError, \
Dcli.py30 import rsa.pkcs1
32 HASH_METHODS = sorted(rsa.pkcs1.HASH_METHODS.keys())
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/doc/
Dreference.rst35 .. autoclass:: rsa.pkcs1.CryptoError(Exception)
37 .. autoclass:: rsa.pkcs1.DecryptionError(CryptoError)
39 .. autoclass:: rsa.pkcs1.VerificationError(CryptoError)
Dusage.rst158 :py:class:`rsa.pkcs1.DecryptionError`. If you want to be *sure*, use
166 rsa.pkcs1.DecryptionError: Decryption failed
172 :py:class:`rsa.pkcs1.DecryptionError` exception. It shows where
207 :py:class:`rsa.pkcs1.VerificationError` is thrown:
213 File "/home/sybren/workspace/python-rsa/rsa/pkcs1.py", line 289, in verify
215 rsa.pkcs1.VerificationError: Verification failed
220 :py:class:`rsa.pkcs1.VerificationError` exception. It shows where
Dindex.rst28 the stack trace of a :py:class:`rsa.pkcs1.CryptoError` exception
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dservice_account.py82 rsa_bytes = rsa.pkcs1.sign(assertion_input, self._private_key, 'SHA-256')
94 rsa.pkcs1.sign(blob, self._private_key, 'SHA-256'))
/external/wpa_supplicant_8/src/tls/
DMakefile20 pkcs1.o \
/external/boringssl/src/crypto/obj/
Dobjects.txt162 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 …]
Dobj_mac.num186 pkcs1 186
/external/ipsec-tools/src/racoon/
Deaytest.c121 char *pkcs1 = local
155 printf ("%s", pkcs1);
157 priv = pem_read_buf(pkcs1);