/external/vboot_reference/firmware/lib/cryptolib/ |
D | rsa_utility.c | 29 RSAPublicKey* RSAPublicKeyNew(void) { in RSAPublicKeyNew() 30 RSAPublicKey* key = (RSAPublicKey*) VbExMalloc(sizeof(RSAPublicKey)); in RSAPublicKeyNew() 38 void RSAPublicKeyFree(RSAPublicKey* key) { in RSAPublicKeyFree() 48 RSAPublicKey* RSAPublicKeyFromBuf(const uint8_t* buf, uint64_t len) { in RSAPublicKeyFromBuf() 49 RSAPublicKey* key = RSAPublicKeyNew(); in RSAPublicKeyFromBuf() 84 const RSAPublicKey* key, in RSAVerifyBinary_f() 89 RSAPublicKey* verification_key = NULL; in RSAVerifyBinary_f() 104 verification_key = (RSAPublicKey*) key; /* Supress const warning. */ in RSAVerifyBinary_f() 125 const RSAPublicKey* key, in RSAVerifyBinaryWithDigest_f() 129 RSAPublicKey* verification_key = NULL; in RSAVerifyBinaryWithDigest_f() [all …]
|
D | rsa.c | 18 static void subM(const RSAPublicKey *key, uint32_t *a) { in subM() 29 static int geM(const RSAPublicKey *key, uint32_t *a) { in geM() 40 static void montMulAdd(const RSAPublicKey *key, in montMulAdd() 65 static void montMul(const RSAPublicKey *key, in montMul() 81 static void modpowF4(const RSAPublicKey *key, in modpowF4() 130 int RSAVerify(const RSAPublicKey *key, in RSAVerify()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | rsa.h | 25 typedef struct RSAPublicKey { struct 31 } RSAPublicKey; argument 36 int RSAVerify(const RSAPublicKey *key, 56 const RSAPublicKey* key, 65 const RSAPublicKey* key, 82 RSAPublicKey* RSAPublicKeyNew(void); 85 void RSAPublicKeyFree(RSAPublicKey* key); 92 RSAPublicKey* RSAPublicKeyFromBuf(const uint8_t* buf, uint64_t len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | RSAPublicKey.java | 14 public class RSAPublicKey class 20 public static RSAPublicKey getInstance( in getInstance() 27 public static RSAPublicKey getInstance( in getInstance() 30 if (obj instanceof RSAPublicKey) in getInstance() 32 return (RSAPublicKey)obj; in getInstance() 37 return new RSAPublicKey(ASN1Sequence.getInstance(obj)); in getInstance() 43 public RSAPublicKey( in RSAPublicKey() method in RSAPublicKey 51 private RSAPublicKey( in RSAPublicKey() method in RSAPublicKey
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | BCRSAPublicKey.java | 9 import java.security.interfaces.RSAPublicKey; 21 implements RSAPublicKey 48 RSAPublicKey key) in BCRSAPublicKey() 65 …org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInsta… in populateFromPublicKeyInfo() 109 …jectPublicKeyInfo(algorithmIdentifier, new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), g… in getEncoded() 124 if (!(o instanceof RSAPublicKey)) in equals() 129 RSAPublicKey key = (RSAPublicKey)o; in equals()
|
D | KeyFactorySpi.java | 9 import java.security.interfaces.RSAPublicKey; 36 if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey) in engineGetKeySpec() 38 RSAPublicKey k = (RSAPublicKey)key; in engineGetKeySpec() 67 if (key instanceof RSAPublicKey) in engineTranslateKey() 69 return new BCRSAPublicKey((RSAPublicKey)key); in engineTranslateKey()
|
D | CipherSpi.java | 12 import java.security.interfaces.RSAPublicKey; 121 else if (key instanceof RSAPublicKey) in engineGetKeySize() 123 RSAPublicKey k = (RSAPublicKey)key; in engineGetKeySize() 275 if (key instanceof RSAPublicKey) in engineInit() 283 param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)key); in engineInit()
|
D | RSAUtil.java | 5 import java.security.interfaces.RSAPublicKey; 42 RSAPublicKey key) in generatePublicKeyParameter()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | RsaKeyTest.java | 25 import java.security.interfaces.RSAPublicKey; 1429 private void checkPublicKey(RSAPublicKey pub, RSAPrivateKey priv) { in checkPublicKey() 1437 RSAPublicKey pub = (RSAPublicKey) keypair.getPublic(); in checkKeyPair() 1473 RSAPublicKey pub = (RSAPublicKey) kf.generatePublic(spec); in testEncodeDecodePublic() 1492 RSAPublicKey unusedKey = (RSAPublicKey) kf.generatePublic(spec); in testModifiedPublicKeyDecoding()
|
D | RsaSignatureTest.java | 28 import java.security.interfaces.RSAPublicKey; 1086 RSAPublicKey pub = (RSAPublicKey) keyPair.getPublic(); in testBasic()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | PoloChallengeResponse.java | 25 import java.security.interfaces.RSAPublicKey; 89 if (!(clientPubKey instanceof RSAPublicKey) || in getAlpha() 90 !(serverPubKey instanceof RSAPublicKey)) { in getAlpha() 94 RSAPublicKey clientPubRsa = (RSAPublicKey) clientPubKey; in getAlpha() 95 RSAPublicKey serverPubRsa = (RSAPublicKey) serverPubKey; in getAlpha()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLRSAPublicKey.java | 24 import java.security.interfaces.RSAPublicKey; 35 public class OpenSSLRSAPublicKey implements RSAPublicKey, OpenSSLKeyHolder { 71 static OpenSSLKey getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException { in getInstance() 144 if (!(o instanceof RSAPublicKey)) { in equals() 150 RSAPublicKey other = (RSAPublicKey) o; in equals()
|
D | OpenSSLRSAKeyFactory.java | 27 import java.security.interfaces.RSAPublicKey; 93 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 94 RSAPublicKey rsaKey = (RSAPublicKey) key; in engineGetKeySpec() 103 RSAPublicKey rsaKey = in engineGetKeySpec() 104 (RSAPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded)); in engineGetKeySpec() 193 } else if (key instanceof RSAPublicKey) { in engineTranslateKey() 194 RSAPublicKey rsaKey = (RSAPublicKey) key; in engineTranslateKey()
|
D | OpenSSLSignatureRawRSA.java | 27 import java.security.interfaces.RSAPublicKey; 114 } else if (publicKey instanceof RSAPublicKey) { in engineInitVerify() 115 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey; in engineInitVerify()
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_common.h | 98 RSAPublicKey *PublicKeyToRSA(const VbPublicKey *key); 106 const RSAPublicKey *key); 113 const RSAPublicKey *key); 132 uint64_t size, const RSAPublicKey *key); 150 uint64_t size, const RSAPublicKey *key);
|
/external/libconstrainedcrypto/include/constrainedcrypto/ |
D | rsa.h | 40 typedef struct RSAPublicKey { struct 46 } RSAPublicKey; argument 48 int RSA_verify(const RSAPublicKey *key,
|
/external/libconstrainedcrypto/ |
D | rsa.c | 33 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()
|
/external/vboot_reference/tests/ |
D | rsa_utility_tests.c | 29 int RSAVerify(const RSAPublicKey *key, in RSAVerify() 43 RSAPublicKey* key; in TestUtils() 78 RSAPublicKey* key; in TestKeyFromBuffer() 132 RSAPublicKey key; in TestVerifyBinary() 170 RSAPublicKey key; in TestVerifyBinaryWithDigest()
|
D | rsa_padding_test.c | 17 static void TestSignatures(RSAPublicKey* key) { in TestSignatures() 40 static void TestRSAVerify(RSAPublicKey* key) { in TestRSAVerify() 67 RSAPublicKey* key; in main()
|
D | vboot_common2_tests.c | 21 RSAPublicKey *rsa; in VerifyPublicKeyToRSA() 49 RSAPublicKey *rsa; in VerifyDataTest() 84 RSAPublicKey *rsa; in VerifyDigestTest() 123 RSAPublicKey *rsa; in VerifyKernelPreambleTest()
|
D | vboot_firmware_tests.c | 31 static RSAPublicKey data_key; 124 uint64_t size, const RSAPublicKey* key) { in VerifyFirmwarePreamble() 133 RSAPublicKey* PublicKeyToRSA(const VbPublicKey* key) { in PublicKeyToRSA() 142 void RSAPublicKeyFree(RSAPublicKey* key) { in RSAPublicKeyFree() 187 const RSAPublicKey* key) { in VerifyDigest()
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
D | ChainStrengthAnalyzer.java | 23 import java.security.interfaces.RSAPublicKey; 76 if (pubkey instanceof RSAPublicKey) { in checkKeyLength() 77 int modulusLength = ((RSAPublicKey) pubkey).getModulus().bitLength(); in checkKeyLength()
|
D | CertificatePriorityComparator.java | 21 import java.security.interfaces.RSAPublicKey; 150 } else if (pkey instanceof RSAPublicKey) { in getKeySize() 151 return ((RSAPublicKey) pkey).getModulus().bitLength(); in getKeySize()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 123 RSAPublicKey *PublicKeyToRSA(const VbPublicKey *key) in PublicKeyToRSA() 125 RSAPublicKey *rsa; in PublicKeyToRSA() 147 const RSAPublicKey *key) in VerifyData() 172 const RSAPublicKey *key) in VerifyDigest() 255 RSAPublicKey *rsa; in KeyBlockVerify() 309 uint64_t size, const RSAPublicKey *key) in VerifyFirmwarePreamble() 396 uint64_t size, const RSAPublicKey *key) in VerifyKernelPreamble()
|
/external/vboot_reference/host/lib/ |
D | file_keys.c | 52 RSAPublicKey* RSAPublicKeyFromFile(const char* input_file) { in RSAPublicKeyFromFile() 54 RSAPublicKey* key = NULL; in RSAPublicKeyFromFile()
|