HomeSort by relevance Sort by last modified time
    Searched refs:RSAPublicKey (Results 1 - 25 of 46) sorted by null

1 2

  /bootable/recovery/
verifier.h 25 int verify_file(const char* path, const RSAPublicKey *pKeys, unsigned int numKeys);
verifier_test.cpp 26 RSAPublicKey test_key =
install.cpp 178 // DumpPublicKey: this is an RSAPublicKey struct as it would appear
191 static RSAPublicKey*
193 RSAPublicKey* out = NULL;
207 out = (RSAPublicKey*)realloc(out, *numKeys * sizeof(RSAPublicKey));
208 RSAPublicKey* key = out + (*numKeys - 1);
269 RSAPublicKey* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys);
  /system/core/include/mincrypt/
rsa.h 40 typedef struct RSAPublicKey {
45 } RSAPublicKey;
47 int RSA_verify(const RSAPublicKey *key,
  /bootable/bootloader/legacy/libc/
rsa.h 23 typedef const RSAPublicKeyInstance * const RSAPublicKey;
25 int RSA_verify(RSAPublicKey mod,
rsa.c 8 static void subM(RSAPublicKey key,
20 static int geM(RSAPublicKey key,
32 static void montMulAdd(RSAPublicKey key,
57 static void montMul(RSAPublicKey key,
72 static void modpowF4(RSAPublicKey key,
131 int RSA_verify(RSAPublicKey key,
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
RSAPublicKey.java 10 * RSAPublicKey.
15 public class RSAPublicKey
20 public RSAPublicKey(BigInteger e, BigInteger n)
RSAPrivateKey.java 43 public RSAPublicKey getPublicKey()
45 return new RSAPublicKey(e, n);
RSASHA1Verify.java 26 public static RSAPublicKey decodeSSHRSAPublicKey(byte[] key) throws IOException
41 return new RSAPublicKey(e, n);
44 public static byte[] encodeSSHRSAPublicKey(RSAPublicKey pk) throws IOException
146 public static boolean verifySignature(byte[] message, RSASignature ds, RSAPublicKey dpk) throws IOException
  /libcore/luni/src/test/java/tests/security/interfaces/
RSAPublicKeyTest.java 22 import java.security.interfaces.RSAPublicKey;
28 * java.security.interfaces.RSAPublicKey
35 RSAPublicKey key = (RSAPublicKey) gen.generatePublic(new RSAPublicKeySpec(
  /libcore/luni/src/main/java/java/security/interfaces/
RSAPublicKey.java 26 public interface RSAPublicKey extends PublicKey, RSAKey {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
RSAPublicKeyTest.java 26 import java.security.interfaces.RSAPublicKey;
31 * Tests for <code>RSAPublicKey</code> class field
51 key.getSerVerUID(), //RSAPublicKey.serialVersionUID
55 public class checkRSAPublicKey implements RSAPublicKey {
57 return "RSAPublicKey";
  /external/openssl/crypto/rsa/
rsa_asn1.c 95 ASN1_SEQUENCE_cb(RSAPublicKey, rsa_cb) = {
98 } ASN1_SEQUENCE_END_cb(RSA, RSAPublicKey)
111 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPublicKey, RSAPublicKey)
115 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa);
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCERSAPublicKey.java 13 import java.security.interfaces.RSAPublicKey;
17 implements RSAPublicKey
39 RSAPublicKey key)
112 if (!(o instanceof RSAPublicKey))
117 RSAPublicKey key = (RSAPublicKey)o;
RSAUtil.java 5 import java.security.interfaces.RSAPublicKey;
29 RSAPublicKey key)
JDKKeyFactory.java 13 import java.security.interfaces.RSAPublicKey;
112 else if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey)
114 RSAPublicKey k = (RSAPublicKey)key;
169 if (key instanceof RSAPublicKey)
171 return new JCERSAPublicKey((RSAPublicKey)key);
JCERSACipher.java 12 import java.security.interfaces.RSAPublicKey;
116 else if (key instanceof RSAPublicKey)
118 RSAPublicKey k = (RSAPublicKey)key;
250 if (key instanceof RSAPublicKey)
258 param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)key);
265 "mode 2 requires RSAPublicKey");
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLRSAPublicKey.java 21 import java.security.interfaces.RSAPublicKey;
25 public class OpenSSLRSAPublicKey implements RSAPublicKey {
60 static OpenSSLKey getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException {
63 rsaPublicKey.getModulus().toByteArray(),
64 rsaPublicKey.getPublicExponent().toByteArray(),
133 if (!(o instanceof RSAPublicKey)) {
139 RSAPublicKey other = (RSAPublicKey) o;
OpenSSLRSAKeyFactory.java 27 import java.security.interfaces.RSAPublicKey;
95 if (key instanceof RSAPublicKey) {
96 RSAPublicKey rsaKey = (RSAPublicKey) key;
150 throw new InvalidKeySpecException("Must be RSAPublicKey or RSAPrivateKey");
160 if (key instanceof RSAPublicKey) {
161 RSAPublicKey rsaKey = (RSAPublicKey) key;
199 "Key must be RSAPublicKey or RSAPrivateCrtKey or RSAPrivateKey");
ServerKeyExchange.java 23 import java.security.interfaces.RSAPublicKey;
50 private RSAPublicKey key;
163 * Returns RSAPublicKey generated using ServerRSAParams
168 public RSAPublicKey getRSAPublicKey() {
174 key = (RSAPublicKey) kf.generatePublic(new RSAPublicKeySpec(par1,
OpenSSLSignature.java 30 import java.security.interfaces.RSAPublicKey;
188 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey;
189 key = rsaPublicKey.getOpenSSLKey();
190 } else if (publicKey instanceof RSAPublicKey) {
195 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
196 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
  /system/core/libmincrypt/tools/
DumpPublicKey.java 26 import java.security.interfaces.RSAPublicKey;
39 static void check(RSAPublicKey key) throws Exception {
56 static String print(RSAPublicKey key) throws Exception {
119 RSAPublicKey key = (RSAPublicKey) (cert.getPublicKey());
  /system/core/libmincrypt/
rsa.c 32 static void subM(const RSAPublicKey *key, uint32_t *a) {
43 static int geM(const RSAPublicKey *key, const uint32_t *a) {
54 static void montMulAdd(const RSAPublicKey *key,
79 static void montMul(const RSAPublicKey *key,
95 static void modpow3(const RSAPublicKey *key,
162 int RSA_verify(const RSAPublicKey *key,
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
KnownHosts.java 29 import ch.ethz.ssh2.signature.RSAPublicKey;
108 RSAPublicKey rpk = RSASHA1Verify.decodeSSHRSAPublicKey(serverHostKey);
486 if ((key1 instanceof RSAPublicKey) && (key2 instanceof RSAPublicKey))
488 RSAPublicKey savedRSAKey = (RSAPublicKey) key1;
489 RSAPublicKey remoteRSAKey = (RSAPublicKey) key2;
612 if (key instanceof RSAPublicKey)
  /external/openssl/crypto/pem/
pem_all.c 197 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey)

Completed in 587 milliseconds

1 2