/external/chromium_org/third_party/tlslite/tlslite/utils/ |
PyCrypto_RSAKey.py | 1 """PyCrypto RSA implementation.""" 10 from Crypto.PublicKey import RSA 15 self.rsa = RSA.construct( (n, e) ) 17 self.rsa = RSA.construct( (n, e, d, p, q) ) 20 return getattr(self.rsa, name) 23 return self.rsa.has_private() 37 c = stringToNumber(self.rsa.decrypt((s,))) 49 m = stringToNumber(self.rsa.encrypt(s, None)[0] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
RSA.java | 10 import org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi; 15 public class RSA 17 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".rsa."; 50 provider.addAlgorithm("Cipher.RSA", PREFIX + "CipherSpi$NoPadding"); 52 provider.addAlgorithm("Alg.Alias.Cipher.RSA/RAW", "RSA"); 55 // provider.addAlgorithm("Cipher.RSA/PKCS1", PREFIX + "CipherSpi$PKCS1v1_5Padding"); 58 // provider.addAlgorithm("Cipher.RSA/1", PREFIX + "CipherSpi$PKCS1v1_5Padding_PrivateOnly"); 59 // provider.addAlgorithm("Cipher.RSA/2", PREFIX + "CipherSpi$PKCS1v1_5Padding_PublicOnly"); 60 // provider.addAlgorithm("Cipher.RSA/OAEP", PREFIX + "CipherSpi$OAEPPadding") [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
KeyPairGeneratorBenchmark.java | 33 RSA,
|
/external/smack/src/org/xbill/DNS/ |
SSHFPRecord.java | 21 public static final int RSA = 1;
|
IPSECKEYRecord.java | 23 public static final int RSA = 2;
|
/external/chromium_org/net/tools/testserver/ |
minica.py | 36 class RSA(object): 110 KEY = RSA(0x00a71998f2930bfe73d031a87f133d2f378eeeeed52a77e44d0fc9ff6f07ff32cbf3da999de4ed65832afcb0807f98787506539d258a0ce3c2c77967653099a9034a9b115a876c39a8c4e4ed4acd0c64095946fb39eeeb47a0704dbb018acf48c3a1c4b895fc409fb4a340a986b1afc45519ab9eca47c30185c771c64aa5ecf07d, 115 KEY_PEM = '''-----BEGIN RSA PRIVATE KEY----- 129 -----END RSA PRIVATE KEY-----
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLSignature.java | 40 RSA, DSA, EC, 71 * @param algorithm OpenSSL name of the algorithm, e.g. "RSA-SHA1". 78 if ("RSA-MD2".equals(algorithm)) { 126 case RSA: 128 throw new InvalidKeyException("Signature not initialized as RSA"); 142 throw new InvalidKeyException("Need DSA or RSA or EC private key"); 155 if (engineType != EngineType.RSA) { 156 throw new InvalidKeyException("Signature not initialized as RSA"); 162 if (engineType != EngineType.RSA) { 163 throw new InvalidKeyException("Signature not initialized as RSA"); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ |
ossl_typ.h | 140 typedef struct rsa_st RSA;
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ossl_typ.h | 140 typedef struct rsa_st RSA;
|
/external/openssl/crypto/ |
ossl_typ.h | 140 typedef struct rsa_st RSA;
|
/external/openssl/include/openssl/ |
ossl_typ.h | 140 typedef struct rsa_st RSA;
|
/external/dropbear/libtomcrypt/ |
crypt.tex | 121 public key cryptography (via PKCS \#1 RSA, DH or ECCDH), and a plethora of support routines. 172 that for the PRNG needs within the library (\textit{e.g. making a RSA key}). All the developer has to do 319 Certain functions such as (for example) \textit{rsa\_export()} give an output that is variable length. To prevent buffer overflows you 321 \index{rsa\_export()} \index{error\_to\_string()} \index{variable length output} 331 /* ... Make up the RSA key somehow ... */ 343 printf("RSA exported key takes %d bytes\n", x); 351 In the above example if the size of the RSA public key was more than 1024 bytes this function would return an error code 360 Certain functions such as \textit{rsa\_make\_key()} require a Pseudo Random Number Generator (PRNG). These functions do not setup 366 \index{register\_prng()} \index{rsa\_make\_key()} 377 /* make a 1024-bit RSA key with the system RNG * [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
infinite_recursion.py | 619 ('rsa', POINTER(rsa_st)), [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
infinite_recursion.py | 619 ('rsa', POINTER(rsa_st)), [all...] |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |