Lines Matching refs:pubkey
118 const std::string& pubkey = split[0]; in adbd_tls_client_ca_list() local
119 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_client_ca_list()
120 LOG(ERROR) << "Invalid base64 key " << pubkey; in adbd_tls_client_ca_list()
126 LOG(ERROR) << "Failed to parse key " << pubkey; in adbd_tls_client_ca_list()
165 const std::string& pubkey = split[0]; in adbd_auth_verify() local
166 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_auth_verify()
167 LOG(ERROR) << "Invalid base64 key " << pubkey; in adbd_auth_verify()
173 LOG(ERROR) << "Failed to parse key " << pubkey; in adbd_auth_verify()
324 const std::string& pubkey = split[0]; in adbd_tls_verify_cert() local
325 if (b64_pton(pubkey.c_str(), keybuf, sizeof(keybuf)) != ANDROID_PUBKEY_ENCODED_SIZE) { in adbd_tls_verify_cert()
326 LOG(ERROR) << "Invalid base64 key " << pubkey; in adbd_tls_verify_cert()
332 LOG(ERROR) << "Failed to parse key " << pubkey; in adbd_tls_verify_cert()