/system/update_engine/payload_generator/ |
H A D | xz_chromeos.cc | 23 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) {
|
H A D | bzip.h | 25 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out);
|
H A D | xz.h | 30 bool XzCompress(const brillo::Blob& in, brillo::Blob* out);
|
H A D | zip_unittest.cc | 47 explicit MemoryExtentWriter(brillo::Blob* data) : data_(data) { 67 brillo::Blob* data_; 71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { 86 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 87 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 95 bool ZipCompress(const brillo::Blob& in, brillo::Blob* ou [all...] |
H A D | payload_signer.h | 44 brillo::Blob* out_payload_metadata, 66 static bool SignHash(const brillo::Blob& hash, 68 brillo::Blob* out_signature); 73 const brillo::Blob& hash_data, 75 brillo::Blob* out_signature_blob); 89 brillo::Blob* out_signature_blob); 110 brillo::Blob* out_payload_hash_data, 111 brillo::Blob* out_metadata_hash); 123 const std::vector<brillo::Blob>& payload_signatures, 124 const std::vector<brillo::Blob> [all...] |
H A D | xz_android.cc | 31 // An ISeqInStream implementation that reads all the data from the passed Blob. 33 explicit BlobReaderStream(const brillo::Blob& data) : data_(data) { 46 const brillo::Blob& data_; 52 // An ISeqOutStream implementation that writes all the data to the passed Blob. 54 explicit BlobWriterStream(brillo::Blob* data) : data_(data) { 67 brillo::Blob* data_; 84 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) {
|
H A D | annotated_operation.h | 41 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
|
H A D | block_mapping.h | 44 BlockId AddBlock(const brillo::Blob& block_data); 65 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data); 74 brillo::Blob block_data; 89 bool CompareData(const brillo::Blob& other_block, bool* equals);
|
H A D | payload_signer.cc | 55 bool ConvertSignatureToProtobufBlob(const vector<brillo::Blob>& signatures, 56 brillo::Blob* out_signature_blob) { 59 for (const brillo::Blob& signature : signatures) { 85 const brillo::Blob& signature_blob, 86 const brillo::Blob& metadata_signature_blob, 87 brillo::Blob* out_payload, 105 brillo::Blob payload; 167 LOG(INFO) << "Signature Blob Offset: " << signatures_offset; 184 bool CalculateHashFromPayload(const brillo::Blob& payload, 188 brillo::Blob* out_hash_dat [all...] |
H A D | blob_file_writer_unittest.cc | 43 brillo::Blob blob(blob_size); 48 brillo::Blob stored_blob(blob_size);
|
H A D | bzip.cc | 29 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out) {
|
H A D | delta_diff_utils.h | 103 brillo::Blob* out_data, 111 brillo::Blob* out); 117 bool GenerateBestFullOperation(const brillo::Blob& new_data, 119 brillo::Blob* out_blob,
|
H A D | block_mapping.cc | 34 size_t HashValue(const brillo::Blob& blob) { 43 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { 48 brillo::Blob blob(block_size_); 73 const brillo::Blob& block_data) { 113 bool BlockMapping::UniqueBlock::CompareData(const brillo::Blob& other_block, 120 brillo::Blob blob(block_size); 147 if (mapping.AddBlock(brillo::Blob(block_size, '\0')) != 0)
|
/system/update_engine/payload_consumer/ |
H A D | payload_verifier.h | 40 static bool VerifySignature(const brillo::Blob& signature_blob, 42 const brillo::Blob& hash_data); 47 static bool GetRawHashFromSignature(const brillo::Blob& sig_data, 49 brillo::Blob* out_hash_data); 56 static bool PadRSA2048SHA256Hash(brillo::Blob* hash);
|
H A D | fake_extent_writer.h | 59 brillo::Blob WrittenData() { return written_data_; } 64 brillo::Blob written_data_;
|
H A D | delta_performer_unittest.cc | 120 brillo::Blob GeneratePayload(const brillo::Blob& blob_data, 128 brillo::Blob GeneratePayload(const brillo::Blob& blob_data, 134 EXPECT_TRUE(utils::MakeTempFile("Blob-XXXXXX", &blob_path, nullptr)); 173 brillo::Blob payload_data; 181 brillo::Blob ApplyPayload(const brillo::Blob& payload_data, 184 return ApplyPayloadToData(payload_data, source_path, brillo::Blob(), 193 brillo::Blob ApplyPayloadToDat [all...] |
H A D | bzip_extent_writer_unittest.cc | 79 brillo::Blob buf; 95 brillo::Blob compressed_data(std::begin(kCompressedData), 98 const brillo::Blob::size_type kDecompressedLength = 800 * 1024; // 800 KiB 101 brillo::Blob decompressed_data(kDecompressedLength); 115 brillo::Blob original_compressed_data = compressed_data; 116 for (brillo::Blob::size_type i = 0; i < compressed_data.size(); 126 brillo::Blob output;
|
/system/core/include/utils/ |
H A D | BlobCache.h | 120 // A Blob is an immutable sized unstructured data blob. 121 class Blob : public RefBase { class in class:android::BlobCache 123 Blob(const void* data, size_t size, bool copyData); 124 ~Blob(); 126 bool operator<(const Blob& rhs) const; 133 Blob(const Blob&); 134 void operator=(const Blob&); 142 // mOwnsData indicates whether or not this Blob object should free the 143 // memory pointed to by mData when the Blob get [all...] |
/system/update_engine/common/ |
H A D | hash_calculator.h | 64 const brillo::Blob& raw_hash() const { 80 brillo::Blob* out_hash); 81 static bool RawHashOfData(const brillo::Blob& data, 82 brillo::Blob* out_hash); 84 brillo::Blob* out_hash); 89 static std::string HashOfData(const brillo::Blob& data); 95 brillo::Blob raw_hash_;
|
/system/core/libutils/ |
H A D | BlobCache.cpp | 83 sp<Blob> dummyKey(new Blob(key, keySize, false)); 90 sp<Blob> keyBlob(new Blob(key, keySize, true)); 91 sp<Blob> valueBlob(new Blob(value, valueSize, true)); 112 sp<Blob> valueBlob(new Blob(value, valueSize, true)); 113 sp<Blob> oldValueBlob(mCacheEntries[index].getValue()); 143 sp<Blob> dummyKe 313 BlobCache::Blob::Blob(const void* data, size_t size, bool copyData): function in class:android::BlobCache::Blob [all...] |
/system/update_engine/ |
H A D | fake_file_writer.h | 59 const brillo::Blob& bytes() { 65 brillo::Blob bytes_;
|
/system/webservd/webservd/ |
H A D | config.h | 49 brillo::Blob certificate; 50 brillo::Blob certificate_fingerprint;
|
H A D | utils.h | 47 brillo::Blob StoreCertificate(X509* cert); 54 brillo::Blob GetSha256Fingerprint(X509* cert);
|
/system/security/keystore/ |
H A D | blob.h | 77 class Blob { class 79 Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, 81 Blob(blob b); 83 Blob();
|
H A D | blob.cpp | 31 Blob::Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, function in class:Blob 58 Blob::Blob(blob b) { function in class:Blob 62 Blob::Blob() { function in class:Blob 66 bool Blob::isEncrypted() const { 74 void Blob::setEncrypted(bool encrypted) { 82 void Blob::setFallback(bool fallback) { 90 ResponseCode Blob [all...] |