/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 26 #include <openssl/rsa.h> 86 void operator()(RSA* p) const { 90 typedef UniquePtr<RSA, RSA_Delete> Unique_RSA; 138 Unique_RSA rsa(RSA_new()); 139 if (rsa.get() == NULL) { 140 ALOGE("Could not allocate RSA structure"); 144 rsa->n = BN_bin2bn(reinterpret_cast<const unsigned char*>(keyblob_ptr->modulus), 146 if (rsa->n == NULL) { 151 rsa->e = BN_bin2bn(reinterpret_cast<const unsigned char*>(&keyblob_ptr->public_exponent), 153 if (rsa->e == NULL) [all...] |
/external/wpa_supplicant_8/hs20/client/ |
est.c | 14 #include <openssl/rsa.h> 377 RSA *rsa; local 388 wpa_printf(MSG_INFO, "Generate RSA private key"); 389 write_summary(ctx, "Generate RSA private key"); 405 rsa = EVP_PKEY_get1_RSA(pkey); 406 if (rsa == NULL) 413 if (!PEM_write_RSAPrivateKey(f, rsa, NULL, NULL, 0, NULL,
|
/system/tpm/attestation/common/ |
crypto_utility_impl.cc | 33 #include <openssl/rsa.h> 169 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, 171 if (!rsa.get()) { 177 int length = i2d_RSA_PUBKEY(rsa.get(), &buffer); 192 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, 194 if (!rsa.get()) { 200 int length = i2d_RSAPublicKey(rsa.get(), &buffer); 243 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, 245 if (!rsa.get()) { 251 if (!TpmCompatibleOAEPEncrypt(asym_content, rsa.get() [all...] |
/system/update_engine/payload_generator/ |
payload_signer.cc | 362 RSA* rsa = PEM_read_RSAPrivateKey(fprikey, nullptr, nullptr, nullptr); local 364 TEST_AND_RETURN_FALSE(rsa != nullptr); 365 brillo::Blob signature(RSA_size(rsa)); 369 rsa, 371 RSA_free(rsa);
|
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 304 unsigned char *to, RSA *rsa, int padding) 312 unsigned char *to, RSA *rsa, int padding) 320 unsigned char *to, RSA *rsa, int padding) 323 (struct cryptoapi_rsa_data *) rsa->meth->app_data; 374 len = RSA_size(rsa); 399 unsigned char *to, RSA *rsa, int padding 476 RSA *rsa = NULL, *pub_rsa; local [all...] |
/hardware/libhardware/tests/keymaster/ |
keymaster_test.cpp | 184 void operator()(RSA* p) const { 188 typedef UniquePtr<RSA, RSA_Delete> Unique_RSA; 199 * DER-encoded PKCS#8 format RSA key. Generated using: 407 << "Should generate an RSA key with " << GetParam() << " bit modulus size"; 415 << "Should be able to retrieve RSA public key successfully"; 425 << "Generated key type should be of type RSA"; 427 Unique_RSA rsa(EVP_PKEY_get1_RSA(actual.get())); 428 ASSERT_FALSE(rsa.get() == NULL) 429 << "Should be able to extract RSA key from EVP_PKEY"; 431 ASSERT_EQ(static_cast<unsigned long>(RSA_F4), BN_get_word(rsa.get()->e) [all...] |
/external/libvncserver/webclients/java-applet/ssl/ |
ss_vncviewer | 213 anondh="ALL:RC4+RSA:+SSLv2:@STRENGTH" [all...] |
/external/boringssl/src/ssl/ |
ssl_lib.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, [all...] |
s3_clnt.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 673 * although locked to a version, reuse the value. When using the plain RSA 1643 RSA *rsa = EVP_PKEY_get0_RSA(pkey); local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/opsworks/ |
layer1.py | [all...] |
/external/boringssl/src/ssl/test/ |
bssl_shim.cc | 230 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get()); local 231 if (rsa == NULL) { 236 test_state->private_key_result.resize(RSA_size(rsa)); 237 if (!RSA_decrypt(rsa, out_len, test_state->private_key_result.data(), 238 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) { [all...] |
/prebuilts/android-emulator/darwin-x86_64/lib/ |
ca-bundle.pem | 299 RSA Security 2048 v3 [all...] |
/prebuilts/android-emulator/linux-x86_64/lib/ |
ca-bundle.pem | 299 RSA Security 2048 v3 [all...] |
/prebuilts/android-emulator/windows/lib/ |
ca-bundle.pem | 299 RSA Security 2048 v3 [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cacerts/ |
cacerts.txt | 212 RSA Root Certificate 1 507 RSA Security 2048 v3 [all...] |
/external/curl/lib/vtls/ |
openssl.c | 65 #include <openssl/rsa.h> 2464 RSA *rsa; local [all...] |
/system/keymaster/ |
soft_keymaster_context.cpp | [all...] |
android_keymaster_test.cpp | 254 TEST_P(NewKeyGeneration, Rsa) { [all...] |
/prebuilts/tools/common/m2/repository/biz/aQute/bndlib/1.50.0/ |
bndlib-1.50.0.jar | |
/prebuilts/tools/common/m2/repository/biz/aQute/bnd/1.50.0/ |
bnd-1.50.0.jar | |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/external/google-tv-pairing-protocol/java/jar/ |
bcprov-jdk15-143.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 | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk16/1.46/ |
bcprov-jdk16-1.46.jar | |