Home
last modified time | relevance | path

Searched defs:blob (Results 1 – 25 of 55) sorted by relevance

123

/system/nvram/core/
Dpersistence.cpp46 storage::Status EncodeObject(const Object& object, Blob* blob) { in EncodeObject()
67 storage::Status DecodeObject(const Blob& blob, Object* object) { in DecodeObject()
100 Blob blob; in LoadHeader() local
109 Blob blob; in StoreHeader() local
118 Blob blob; in LoadSpace() local
127 Blob blob; in StoreSpace() local
/system/nvram/hal/
Dfake_nvram_storage.cpp78 nvram::storage::Status LoadFile(const char* name, nvram::Blob* blob) { in LoadFile()
115 nvram::storage::Status StoreFile(const char* name, const nvram::Blob& blob) { in StoreFile()
170 Status LoadHeader(Blob* blob) { in LoadHeader()
174 Status StoreHeader(const Blob& blob) { in StoreHeader()
178 Status LoadSpace(uint32_t index, Blob* blob) { in LoadSpace()
186 Status StoreSpace(uint32_t index, const Blob& blob) { in StoreSpace()
Dmemory_storage.cpp42 Status Store(const Blob& blob) { in Store()
81 Status LoadHeader(Blob* blob) { in LoadHeader()
85 Status StoreHeader(const Blob& blob) { in StoreHeader()
89 Status LoadSpace(uint32_t index, Blob* blob) { in LoadSpace()
94 Status StoreSpace(uint32_t index, const Blob& blob) { in StoreSpace()
/system/nvram/core/tests/
Dfake_storage.cpp31 Status Load(Blob* blob) { in Load()
44 Status Store(const Blob& blob) { in Store()
127 Status LoadHeader(Blob* blob) { in LoadHeader()
131 Status StoreHeader(const Blob& blob) { in StoreHeader()
143 Status LoadSpace(uint32_t index, Blob* blob) { in LoadSpace()
148 Status StoreSpace(uint32_t index, const Blob& blob) { in StoreSpace()
/system/update_engine/payload_consumer/
Dextent_reader_unittest.cc64 void ReadExtents(vector<Extent> extents, brillo::Blob* blob) { in ReadExtents()
96 brillo::Blob blob(1); in TEST_F() local
105 brillo::Blob blob(1); in TEST_F() local
115 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize + 1); in TEST_F() local
155 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize); in TEST_F() local
/system/core/fs_mgr/liblp/
Dwriter.cpp88 std::string* blob) { in ValidateAndSerializeMetadata()
188 const std::string& blob, in WritePrimaryMetadata()
206 const std::string& blob, in WriteBackupMetadata()
224 const std::string& blob, in WriteMetadata()
240 static bool DefaultWriter(int fd, const std::string& blob) { in DefaultWriter()
289 std::string blob = SerializeGeometry(metadata.geometry); in FlashPartitionTable() local
337 std::string blob; in UpdatePartitionTable() local
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h241 const uint8_t* const & accessBlobData(const keymaster_key_blob_t* blob) { in accessBlobData()
245 const uint8_t*& accessBlobData(keymaster_key_blob_t* blob) { in accessBlobData()
249 const size_t& accessBlobSize(const keymaster_key_blob_t* blob) { in accessBlobSize()
253 size_t& accessBlobSize(keymaster_key_blob_t* blob) { in accessBlobSize()
258 const uint8_t* const & accessBlobData(const keymaster_blob_t* blob) { in accessBlobData()
262 const uint8_t*& accessBlobData(keymaster_blob_t* blob) { in accessBlobData()
266 const size_t & accessBlobSize(const keymaster_blob_t* blob) { in accessBlobSize()
270 size_t& accessBlobSize(keymaster_blob_t* blob) { in accessBlobSize()
/system/update_engine/payload_generator/
Dblock_mapping.cc35 size_t HashValue(const brillo::Blob& blob) { in HashValue()
49 brillo::Blob blob(block_size_); in AddDiskBlock() local
121 brillo::Blob blob(block_size); in CompareData() local
Dblob_file_writer.cc23 off_t BlobFileWriter::StoreBlob(const brillo::Blob& blob) { in StoreBlob()
Dblob_file_writer_unittest.cc42 brillo::Blob blob(blob_size); in TEST() local
Dannotated_operation.cc39 bool AnnotatedOperation::SetOperationBlob(const brillo::Blob& blob, in SetOperationBlob()
Dsquashfs_filesystem.cc57 bool ReadSquashfsHeader(const brillo::Blob blob, in ReadSquashfsHeader()
315 brillo::Blob blob(kSquashfsSuperBlockSize); in CreateFromFile() local
386 bool SquashfsFilesystem::IsSquashfsImage(const brillo::Blob& blob) { in IsSquashfsImage()
Dblock_mapping_unittest.cc47 brillo::Blob blob(block_size_); in TEST_F() local
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp95 const KeymasterKeyBlob& blob, in ExportKey()
219 keymaster_key_blob_t blob = {}; in GenerateKey() local
242 keymaster_key_blob_t blob = {}; in GenerateKey() local
269 keymaster_key_blob_t blob = {}; in ImportKey() local
298 keymaster_key_blob_t blob = {}; in ImportKey() local
Dkeymaster1_engine.cpp85 keymaster_key_blob_t blob; in GenerateKey() local
109 keymaster_key_blob_t blob; in ImportKey() local
135 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey()
175 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey()
357 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey()
Dkeymaster0_engine.cpp158 inline keymaster_key_blob_t* duplicate_blob(const keymaster_key_blob_t& blob) { in duplicate_blob()
225 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(*from_d); in keyblob_dup() local
237 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(ptr); in keyblob_free() local
260 bool Keymaster0Engine::Keymaster0Sign(const void* signing_params, const keymaster_key_blob_t& blob, in Keymaster0Sign()
/system/keymaster/tests/
Dwrapped_key_test.cpp56 string blob2string(keymaster_blob_t& blob) { in blob2string()
61 string keyblob2string(keymaster_key_blob_t& blob) { in keyblob2string()
Dkey_blob_test.cpp306 keymaster_key_blob_t blob = {buf.get() + i, kBufSize - i}; in TEST_F() local
330 keymaster_key_blob_t blob = {buf, 0}; in TEST_F() local
346 keymaster_key_blob_t blob = {buf, 0}; in TEST_F() local
/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp111 const KeymasterKeyBlob& blob, in parseKeymaster1HwBlob()
141 keymaster_error_t Keymaster1PassthroughContext::ParseKeyBlob(const KeymasterKeyBlob& blob, in ParseKeyBlob()
216 KeymasterKeyBlob* blob, in CreateKeyBlob()
Dsoft_keymaster_context.cpp199 KeymasterKeyBlob* blob, in CreateKeyBlob()
243 keymaster_error_t SoftKeymasterContext::ParseKeyBlob(const KeymasterKeyBlob& blob, in ParseKeyBlob()
396 const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, in ParseKeymaster1HwBlob()
427 keymaster_error_t SoftKeymasterContext::ParseKeymaster0HwBlob(const KeymasterKeyBlob& blob, in ParseKeymaster0HwBlob()
/system/libufdt/tests/src/
Dufdt_overlay_test_app.c47 struct fdt_header *blob = ufdt_install_blob(base_buf, blob_len); in apply_overlay_files() local
Dufdt_verify_overlay_app.cpp51 struct fdt_header *blob = nullptr; in verify_overlay_files() local
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp122 inline static keymaster_blob_t hidlVec2KmBlob(const hidl_vec<uint8_t>& blob) { in hidlVec2KmBlob()
128 inline static keymaster_key_blob_t hidlVec2KmKeyBlob(const hidl_vec<uint8_t>& blob) { in hidlVec2KmKeyBlob()
134 inline static hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_key_blob_t& blob) { in kmBlob2hidlVec()
141 inline static hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_blob_t& blob) { in kmBlob2hidlVec()
Dkeystore_aidl_hidl_marshalling_utils.cpp43 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out) { in writeKeymasterBlob()
54 android::status_t writeKeymasterBlob(const ::std::vector<int32_t>& blob, android::Parcel* out) { in writeKeymasterBlob()
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp173 const KeymasterKeyBlob& blob, KeymasterKeyBlob* key_material, AuthorizationSet* hw_enforced, in ParseOldSoftkeymasterBlob()
243 keymaster_error_t ParseOcbAuthEncryptedBlob(const KeymasterKeyBlob& blob, in ParseOcbAuthEncryptedBlob()

123