Home
last modified time | relevance | path

Searched defs:blob (Results 1 – 25 of 66) 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/keymaster/include/keymaster/
Dandroid_keymaster_utils.h83 inline const uint8_t* const& accessBlobData(const keymaster_key_blob_t* blob) { in accessBlobData()
86 inline const uint8_t*& accessBlobData(keymaster_key_blob_t* blob) { in accessBlobData()
89 inline const size_t& accessBlobSize(const keymaster_key_blob_t* blob) { in accessBlobSize()
92 inline size_t& accessBlobSize(keymaster_key_blob_t* blob) { in accessBlobSize()
96 inline const uint8_t* const& accessBlobData(const keymaster_blob_t* blob) { in accessBlobData()
99 inline const uint8_t*& accessBlobData(keymaster_blob_t* blob) { in accessBlobData()
102 inline const size_t& accessBlobSize(const keymaster_blob_t* blob) { in accessBlobSize()
105 inline size_t& accessBlobSize(keymaster_blob_t* blob) { in accessBlobSize()
/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/hardware/interfaces/wifi/keystore/1.0/default/test/
DWifiLegacyKeystoreIntegrationTest.cpp166 static bool LegacyKeystorePut(const std::string& alias, const std::vector<uint8_t>& blob, in LegacyKeystorePut()
191 std::optional<std::vector<uint8_t>> blob(std::vector<uint8_t>{}); in LegacyKeystoreGet() local
210 auto blob = LegacyKeystoreGet(TESTALIAS); in TEST_P() local
232 std::vector<uint8_t> blob; in TEST_P() local
265 std::vector<uint8_t> blob; in TEST_P() local
427 std::vector<uint8_t> blob; in TEST_P() 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/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.cc39 brillo::Blob blob(kBlobSize); 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()
310 brillo::Blob blob(kSquashfsSuperBlockSize); in CreateFromFile() local
381 bool SquashfsFilesystem::IsSquashfsImage(const brillo::Blob& blob) { in IsSquashfsImage()
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp93 keymaster_error_t ExportKey(keymaster_key_format_t format, const KeymasterKeyBlob& blob, in ExportKey()
211 keymaster_key_blob_t blob = {}; in GenerateKey() local
231 keymaster_key_blob_t blob = {}; in GenerateKey() local
254 keymaster_key_blob_t blob = {}; in ImportKey() local
279 keymaster_key_blob_t blob = {}; in ImportKey() local
Dkeymaster1_engine.cpp82 keymaster_key_blob_t blob; in GenerateKey() local
105 keymaster_key_blob_t blob; in ImportKey() local
128 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey()
167 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey()
337 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey()
/system/security/keystore2/src/km_compat/
Dlib.rs185 let blob = generate_rsa_key(legacy.as_ref(), false, false); in test_upgrade_key() localVariable
194 let blob = generate_rsa_key(legacy.as_ref(), false, false); in test_delete_key() localVariable
271 let blob = generate_aes_key(legacy.as_ref()); in test_begin_abort() localVariable
283 let blob = generate_aes_key(legacy.as_ref()); in test_begin_update_finish() localVariable
385 let blob = generate_rsa_key(legacy.as_ref(), false, false); in test_get_key_characteristics() localVariable
/system/keymaster/ng/include/
DKeyMintUtils.h87 inline vector<uint8_t> kmBlob2vector(const keymaster_key_blob_t& blob) { in kmBlob2vector()
92 inline vector<uint8_t> kmBlob2vector(const keymaster_blob_t& blob) { in kmBlob2vector()
/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.cpp313 keymaster_key_blob_t blob = {buf.get() + i, kBufSize - i}; in TEST_F() local
336 keymaster_key_blob_t blob = {buf, 0}; in TEST_F() local
352 keymaster_key_blob_t blob = {buf, 0}; in TEST_F() local
/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp117 parseKeymaster1HwBlob(const keymaster1_device_t* device, const KeymasterKeyBlob& blob, in parseKeymaster1HwBlob()
143 Keymaster1PassthroughContext::ParseKeyBlob(const KeymasterKeyBlob& blob, in ParseKeyBlob()
216 const KeymasterKeyBlob& key_material, KeymasterKeyBlob* blob, AuthorizationSet* hw_enforced, in CreateKeyBlob()
Dsoft_keymaster_context.cpp182 KeymasterKeyBlob* blob, in CreateKeyBlob()
223 keymaster_error_t SoftKeymasterContext::ParseKeyBlob(const KeymasterKeyBlob& blob, in ParseKeyBlob()
336 const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, in ParseKeymaster1HwBlob()
/system/security/keystore2/aidl/android/security/legacykeystore/
DILegacyKeystore.aidl79 void put(in String alias, int uid, in byte[] blob); in put()
/system/security/keystore2/src/
Dlegacy_blob.rs412 let blob = in new_from_stream_decrypt_with() localVariable
556 let blob = Self::read_generic_blob(&self.make_chr_filename(uid, alias, prefix)) in read_characteristics_file() localVariable
559 let blob = match blob { in read_characteristics_file() localVariable
649 let blob = Self::read_generic_blob(&path) in read_legacy_keystore_entry() localVariable
1093 let blob = Self::read_generic_blob(&path) in load_super_key() localVariable
1096 let blob = match blob { in load_super_key() localVariable
1103 let blob = aes_gcm_decrypt(&data, &iv, &tag, &key).context( in load_super_key() localVariable
1204 let blob = LegacyBlobLoader::new_from_stream_decrypt_with(&mut &*BLOB, |_, _, _, _, _| { in read_golden_key_blob_test() localVariable
1213 let blob = LegacyBlobLoader::new_from_stream_decrypt_with( in read_golden_key_blob_test() localVariable
1230 let blob = LegacyBlobLoader::new_from_stream_decrypt_with( in read_aes_gcm_encrypted_key_blob_test() localVariable
/system/vold/
DKeymaster.h88 std::optional<std::vector<uint8_t>> blob) in KeymasterOperation()
/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

123