Searched refs:pubkey (Results 1 – 7 of 7) sorted by relevance
/packages/modules/adb/daemon/ |
D | auth.cpp | 117 const std::string& pubkey = split[0]; in adbd_tls_client_ca_list() local 118 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_client_ca_list() 119 LOG(ERROR) << "Invalid base64 key " << pubkey; in adbd_tls_client_ca_list() 125 LOG(ERROR) << "Failed to parse key " << pubkey; in adbd_tls_client_ca_list() 164 const std::string& pubkey = split[0]; in adbd_auth_verify() local 165 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_auth_verify() 166 LOG(ERROR) << "Invalid base64 key " << pubkey; in adbd_auth_verify() 172 LOG(ERROR) << "Failed to parse key " << pubkey; in adbd_auth_verify() 323 const std::string& pubkey = split[0]; in adbd_tls_verify_cert() local 324 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_verify_cert() [all …]
|
/packages/modules/adb/client/ |
D | auth.cpp | 71 std::string pubkey; in generate_key() local 76 if (!CalculatePublicKey(&pubkey, rsa)) { in generate_key() 99 if (!android::base::WriteStringToFile(pubkey, file + ".pub")) { in generate_key() 108 unsigned char* pubkey = nullptr; in hash_key() local 109 int len = i2d_RSA_PUBKEY(key, &pubkey); in hash_key() 117 SHA256(pubkey, len, reinterpret_cast<unsigned char*>(&result[0])); in hash_key() 118 OPENSSL_free(pubkey); in hash_key() 330 std::string pubkey; in adb_auth_pubkey() local 331 if (!pubkey_from_privkey(&pubkey, filename)) { in adb_auth_pubkey() 334 pubkey.push_back('\n'); in adb_auth_pubkey() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CertificateStore.java | 130 byte[] pubkey = null; in loadItem() 140 pubkey = hexToBytes(reader.nextString()); in loadItem() 149 if (uuid != null && pubkey != null) { in loadItem() 150 mCertificates.put(uuid, pubkey); in loadItem()
|
/packages/modules/vndk/apex/ |
D | Android.bp | 37 public_key: "com.android.vndk.current.pubkey", 59 public_key: "com.android.vndk.v30.pubkey", 81 public_key: "com.android.vndk.v29.pubkey", 103 public_key: "com.android.vndk.v28.pubkey",
|
D | README.md | 21 public_key: "com.android.vndk.v30.pubkey", 44 avbtool extract_public_key --key com.android.vndk.v30.pem --output com.android.vndk.v30.pubkey
|
/packages/modules/adb/crypto/tests/ |
D | key_test.cpp | 58 const std::string& pubkey = split[0]; in TEST() local 59 ASSERT_EQ(b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)), ANDROID_PUBKEY_ENCODED_SIZE); in TEST()
|
D | rsa_2048_key_test.cpp | 61 const std::string& pubkey = split[0]; in TEST() local 62 ASSERT_EQ(b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)), ANDROID_PUBKEY_ENCODED_SIZE); in TEST()
|