Searched refs:key_path (Results 1 - 4 of 4) sorted by relevance

/system/extras/verity/
H A Dbuild_verity_metadata.py47 def sign_verity_table(table, signer_path, key_path, signer_args=None):
53 cmd = [signer_path, table_file.name, key_path, signature_file.name]
56 cmd = [signer_path] + args_list + [table_file.name, key_path, signature_file.name]
H A Dverity_verifier.cpp52 static int verify_table(const char* key_path, const uint8_t* signature, size_t signature_size, argument
59 std::unique_ptr<RSA, decltype(&RSA_free)> key(load_key(key_path), RSA_free);
/system/update_engine/payload_consumer/
H A Ddelta_performer_unittest.cc815 base::FilePath key_path; local
839 EXPECT_TRUE(performer_.GetPublicKeyFromResponse(&key_path));
840 EXPECT_FALSE(key_path.empty());
841 EXPECT_EQ(unlink(key_path.value().c_str()), 0);
844 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
850 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
853 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
859 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
862 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
868 EXPECT_FALSE(performer_.GetPublicKeyFromResponse(&key_path));
[all...]
/system/vold/
H A DExt4Crypt.cpp316 static bool store_key(const std::string& key_path, const std::string& tmp_path, argument
318 if (path_exists(key_path)) {
319 LOG(ERROR) << "Already exists, cannot create key at: " << key_path;
326 if (rename(tmp_path.c_str(), key_path.c_str()) != 0) {
327 PLOG(ERROR) << "Unable to move new key to location: " << key_path;
330 LOG(DEBUG) << "Created key " << key_path;
421 auto key_path = de_dir + "/" + entry->d_name; local
423 if (!android::vold::retrieveKey(key_path, kEmptyAuthentication, &key)) return false;

Completed in 142 milliseconds