update_engine: Rename "chromeos" -> "brillo" in include paths and namespaces
libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.
Bug: 24872993
Change-Id: I770659a95be380a50fe3b2ba9f91d65818f40945
diff --git a/payload_verifier.h b/payload_verifier.h
index faea31d..43011e5 100644
--- a/payload_verifier.h
+++ b/payload_verifier.h
@@ -21,7 +21,7 @@
#include <vector>
#include <base/macros.h>
-#include <chromeos/secure_blob.h>
+#include <brillo/secure_blob.h>
#include "update_engine/update_metadata.pb.h"
@@ -37,16 +37,16 @@
// Returns whether *any* of the decrypted hashes matches the |hash_data|.
// In case of any error parsing the signatures or the public key, returns
// false.
- static bool VerifySignature(const chromeos::Blob& signature_blob,
+ static bool VerifySignature(const brillo::Blob& signature_blob,
const std::string& public_key_path,
- const chromeos::Blob& hash_data);
+ const brillo::Blob& hash_data);
// Decrypts sig_data with the given public_key_path and populates
// out_hash_data with the decoded raw hash. Returns true if successful,
// false otherwise.
- static bool GetRawHashFromSignature(const chromeos::Blob& sig_data,
+ static bool GetRawHashFromSignature(const brillo::Blob& sig_data,
const std::string& public_key_path,
- chromeos::Blob* out_hash_data);
+ brillo::Blob* out_hash_data);
// Returns true if the payload in |payload_path| is signed and its hash can be
// verified using the public key in |public_key_path| with the signature
@@ -59,14 +59,14 @@
// hash should be a pointer to vector of exactly 256 bits. The vector
// will be modified in place and will result in having a length of
// 2048 bits. Returns true on success, false otherwise.
- static bool PadRSA2048SHA256Hash(chromeos::Blob* hash);
+ static bool PadRSA2048SHA256Hash(brillo::Blob* hash);
// Reads the payload from the given |payload_path| into the |out_payload|
// vector. It also parses the manifest protobuf in the payload and returns it
// in |out_manifest| along with the size of the entire metadata in
// |out_metadata_size|.
static bool LoadPayload(const std::string& payload_path,
- chromeos::Blob* out_payload,
+ brillo::Blob* out_payload,
DeltaArchiveManifest* out_manifest,
uint64_t* out_metadata_size);