Home
last modified time | relevance | path

Searched refs:rsaKey (Results 1 – 18 of 18) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRSAKeyFactory.java87 RSAPublicKey rsaKey = (RSAPublicKey) key; in engineGetKeySpec() local
88 return (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
94 RSAPublicKey rsaKey = in engineGetKeySpec() local
96 return (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
99 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
100 return (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec()
101 rsaKey.getPrivateExponent(), rsaKey.getPrimeP(), rsaKey.getPrimeQ(), in engineGetKeySpec()
102 rsaKey.getPrimeExponentP(), rsaKey.getPrimeExponentQ(), in engineGetKeySpec()
103 rsaKey.getCrtCoefficient()); in engineGetKeySpec()
106 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
[all …]
/external/tpm2/
DRSA_Decrypt.c31 OBJECT *rsaKey; in TPM2_RSA_Decrypt() local
37 rsaKey = ObjectGet(in->keyHandle); in TPM2_RSA_Decrypt()
40 if(rsaKey->publicArea.type != TPM_ALG_RSA) in TPM2_RSA_Decrypt()
44 if( rsaKey->publicArea.objectAttributes.restricted == SET in TPM2_RSA_Decrypt()
45 || rsaKey->publicArea.objectAttributes.decrypt == CLEAR) in TPM2_RSA_Decrypt()
74 result = CryptDecryptRSA(&out->message.t.size, out->message.t.buffer, rsaKey, in TPM2_RSA_Decrypt()
DRSA_Encrypt.c30 OBJECT *rsaKey; in TPM2_RSA_Encrypt() local
36 rsaKey = ObjectGet(in->keyHandle); in TPM2_RSA_Encrypt()
39 if(rsaKey->publicArea.type != TPM_ALG_RSA) in TPM2_RSA_Encrypt()
43 if(rsaKey->publicArea.objectAttributes.decrypt != SET) in TPM2_RSA_Encrypt()
66 result = CryptEncryptRSA(&out->outData.t.size, out->outData.t.buffer, rsaKey, in TPM2_RSA_Encrypt()
DCryptUtil.c778 OBJECT *rsaKey, in BuildRSA() argument
782 key->exponent = rsaKey->publicArea.parameters.rsaDetail.exponent; in BuildRSA()
785 key->publicKey = &rsaKey->publicArea.unique.rsa.b; in BuildRSA()
786 if(rsaKey->attributes.publicOnly || rsaKey->privateExponent.t.size == 0) in BuildRSA()
789 key->privateKey = &(rsaKey->privateExponent.b); in BuildRSA()
896 OBJECT *rsaKey // IN: the RSA key object in CryptLoadPrivateRSA() argument
900 TPMT_PUBLIC *publicArea = &rsaKey->publicArea; in CryptLoadPrivateRSA()
901 TPMT_SENSITIVE *sensitive = &rsaKey->sensitive; in CryptLoadPrivateRSA()
904 result = CryptTestKeyRSA(&(rsaKey->privateExponent.b), in CryptLoadPrivateRSA()
910 rsaKey->attributes.privateExp = SET; in CryptLoadPrivateRSA()
[all …]
DCryptUtil_fp.h69 OBJECT *rsaKey, // IN: internal RSA key
106 OBJECT *rsaKey, // IN: internal RSA key
Dpart4.txt20275 572 OBJECT *rsaKey,
20279 576 key->exponent = rsaKey->publicArea.parameters.rsaDetail.exponent;
20282 579 key->publicKey = &rsaKey->publicArea.unique.rsa.b;
20284 581 if(rsaKey->attributes.publicOnly || rsaKey->privateExponent.t.size == 0)
20287 584 key->privateKey = &(rsaKey->privateExponent.b);
20403 TPM_RC_BINDING public and private parts of rsaKey are not matched
20407 657 OBJECT *rsaKey // IN: the RSA key object
20411 661 TPMT_PUBLIC *publicArea = &rsaKey->publicArea;
20412 662 TPMT_SENSITIVE *sensitive = &rsaKey->sensitive;
20416 666 result = CryptTestKeyRSA(&(rsaKey->privateExponent.b),
[all …]
Dpart3.txt4976 12 OBJECT *rsaKey;
4982 18 rsaKey = ObjectGet(in->keyHandle);
4985 21 if(rsaKey->publicArea.type != TPM_ALG_RSA)
4989 25 if(rsaKey->publicArea.objectAttributes.decrypt != SET)
5012 48 result = CryptEncryptRSA(&out->outData.t.size, out->outData.t.buffer, rsaKey,
5144 12 OBJECT *rsaKey;
5150 18 rsaKey = ObjectGet(in->keyHandle);
5153 21 if(rsaKey->publicArea.type != TPM_ALG_RSA)
5157 25 if( rsaKey->publicArea.objectAttributes.restricted == SET
5158 26 || rsaKey->publicArea.objectAttributes.decrypt == CLEAR)
[all …]
/external/libchrome/crypto/
Dnss_key_util_unittest.cc43 EXPECT_EQ(rsaKey, SECKEY_GetPublicKeyType(public_key.get())); in TEST_F()
44 EXPECT_EQ(rsaKey, SECKEY_GetPrivateKeyType(private_key.get())); in TEST_F()
Drsa_private_key_nss.cc86 if (!key || SECKEY_GetPrivateKeyType(key.get()) != rsaKey) in CreateFromPrivateKeyInfo()
94 if (SECKEY_GetPrivateKeyType(key) != rsaKey) in CreateFromKey()
Dnss_key_util.cc54 if (SECKEY_GetPublicKeyType(result.get()) != rsaKey) in MakeIDFromSPKI()
/external/tpm2/generator/
Draw_commands.txt8575 *rsaKey;
8583 rsaKey = ObjectGet(in->keyHandle);
8585 if(rsaKey->publicArea.type != TPM_ALG_RSA)
8588 if(rsaKey->publicArea.objectAttributes.decrypt != SET)
8627 result = CryptEncryptRSA(&out->outData.t.size, out->outData.t.buffer, rsaKey,
8882 *rsaKey;
8890 rsaKey = ObjectGet(in->keyHandle);
8892 if(rsaKey->publicArea.type != TPM_ALG_RSA)
8896 rsaKey->publicArea.objectAttributes.restricted == SET
8897 || rsaKey->publicArea.objectAttributes.decrypt == CLEAR)
[all …]
Draw_commands_fixed.txt8586 *rsaKey;
8594 rsaKey = ObjectGet(in->keyHandle);
8596 if(rsaKey->publicArea.type != TPM_ALG_RSA)
8599 if(rsaKey->publicArea.objectAttributes.decrypt != SET)
8638 result = CryptEncryptRSA(&out->outData.t.size, out->outData.t.buffer, rsaKey,
8893 *rsaKey;
8901 rsaKey = ObjectGet(in->keyHandle);
8903 if(rsaKey->publicArea.type != TPM_ALG_RSA)
8907 rsaKey->publicArea.objectAttributes.restricted == SET
8908 || rsaKey->publicArea.objectAttributes.decrypt == CLEAR)
[all …]
/external/robolectric/v3/runtime/
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...