Home
last modified time | relevance | path

Searched refs:RSAPublicKey (Results 1 – 10 of 10) sorted by relevance

/system/core/include/mincrypt/
Drsa.h40 typedef struct RSAPublicKey { struct
46 } RSAPublicKey; argument
48 int RSA_verify(const RSAPublicKey *key,
/system/core/libmincrypt/
Drsa.c33 static void subM(const RSAPublicKey* key, in subM()
45 static int geM(const RSAPublicKey* key, in geM()
57 static void montMulAdd(const RSAPublicKey* key, in montMulAdd()
82 static void montMul(const RSAPublicKey* key, in montMul()
97 static void modpow(const RSAPublicKey* key, in modpow()
249 int RSA_verify(const RSAPublicKey *key, in RSA_verify()
/system/core/libmincrypt/tools/
DDumpPublicKey.java30 import java.security.interfaces.RSAPublicKey;
48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in checkRSA()
88 if (key instanceof RSAPublicKey) { in check()
89 return checkRSA((RSAPublicKey) key, useSHA256); in check()
106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in printRSA()
222 if (key instanceof RSAPublicKey) { in print()
223 return printRSA((RSAPublicKey) key, useSHA256); in print()
/system/extras/verity/
DKeystoreSigner.java37 import org.bouncycastle.asn1.pkcs.RSAPublicKey;
62 private RSAPublicKey keyMaterial;
65 java.security.interfaces.RSAPublicKey k = in BootKey()
66 (java.security.interfaces.RSAPublicKey) key; in BootKey()
67 this.keyMaterial = new RSAPublicKey( in BootKey()
Dgenerate_verity_key.c40 static int convert_to_mincrypt_format(RSA *rsa, RSAPublicKey *pkey) in convert_to_mincrypt_format()
89 RSAPublicKey pkey; in write_public_keyfile()
DVerityVerifier.java32 import java.security.interfaces.RSAPublicKey;
/system/core/fs_mgr/
Dfs_mgr_verity.cpp86 static RSAPublicKey *load_key(const char *path) in load_key()
88 RSAPublicKey* key = static_cast<RSAPublicKey*>(malloc(sizeof(RSAPublicKey))); in load_key()
122 RSAPublicKey *key; in verify_table()
/system/core/libmincrypt/test/
Drsa_test.c74 RSAPublicKey key_15 = {
/system/core/adb/
Dadb_auth_host.cpp62 static int RSA_to_RSAPublicKey(RSA *rsa, RSAPublicKey *pkey) in RSA_to_RSAPublicKey()
149 RSAPublicKey pkey; in write_public_keyfile()
Dadb_auth_client.cpp37 RSAPublicKey key;