Loading fs_mgr/libfs_avb/avb_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ bool ValidatePublicKeyBlob(const uint8_t* key, size_t length, return false; } bool ValidatePublicKeyBlob(const std::string key_blob_to_validate, bool ValidatePublicKeyBlob(const std::string& key_blob_to_validate, const std::vector<std::string>& allowed_key_paths) { std::string allowed_key_blob; if (key_blob_to_validate.empty()) { Loading fs_mgr/libfs_avb/avb_util.h +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, bool ValidatePublicKeyBlob(const uint8_t* key, size_t length, const std::string& expected_key_blob); bool ValidatePublicKeyBlob(const std::string key_blob_to_validate, bool ValidatePublicKeyBlob(const std::string& key_blob_to_validate, const std::vector<std::string>& expected_key_paths); // Detects if whether a partition contains a rollback image. Loading Loading
fs_mgr/libfs_avb/avb_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ bool ValidatePublicKeyBlob(const uint8_t* key, size_t length, return false; } bool ValidatePublicKeyBlob(const std::string key_blob_to_validate, bool ValidatePublicKeyBlob(const std::string& key_blob_to_validate, const std::vector<std::string>& allowed_key_paths) { std::string allowed_key_blob; if (key_blob_to_validate.empty()) { Loading
fs_mgr/libfs_avb/avb_util.h +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, bool ValidatePublicKeyBlob(const uint8_t* key, size_t length, const std::string& expected_key_blob); bool ValidatePublicKeyBlob(const std::string key_blob_to_validate, bool ValidatePublicKeyBlob(const std::string& key_blob_to_validate, const std::vector<std::string>& expected_key_paths); // Detects if whether a partition contains a rollback image. Loading