/system/nvram/core/ |
D | persistence.cpp | 46 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/ |
D | fake_nvram_storage.cpp | 78 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()
|
D | memory_storage.cpp | 42 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/ |
D | fake_storage.cpp | 31 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/ |
D | android_keymaster_utils.h | 83 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/ |
D | extent_reader_unittest.cc | 64 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/ |
D | WifiLegacyKeystoreIntegrationTest.cpp | 166 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/ |
D | writer.cpp | 88 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/ |
D | block_mapping.cc | 35 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
|
D | blob_file_writer.cc | 23 off_t BlobFileWriter::StoreBlob(const brillo::Blob& blob) { in StoreBlob()
|
D | blob_file_writer_unittest.cc | 39 brillo::Blob blob(kBlobSize); in TEST() local
|
D | annotated_operation.cc | 39 bool AnnotatedOperation::SetOperationBlob(const brillo::Blob& blob, in SetOperationBlob()
|
D | squashfs_filesystem.cc | 57 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/ |
D | keymaster_passthrough_engine.cpp | 93 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
|
D | keymaster1_engine.cpp | 82 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/ |
D | lib.rs | 185 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/ |
D | KeyMintUtils.h | 87 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/ |
D | wrapped_key_test.cpp | 56 string blob2string(keymaster_blob_t& blob) { in blob2string() 61 string keyblob2string(keymaster_key_blob_t& blob) { in keyblob2string()
|
D | key_blob_test.cpp | 313 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/ |
D | keymaster1_passthrough_context.cpp | 117 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()
|
D | soft_keymaster_context.cpp | 182 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/ |
D | ILegacyKeystore.aidl | 79 void put(in String alias, int uid, in byte[] blob); in put()
|
/system/security/keystore2/src/ |
D | legacy_blob.rs | 412 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/ |
D | Keymaster.h | 88 std::optional<std::vector<uint8_t>> blob) in KeymasterOperation()
|
/system/libufdt/tests/src/ |
D | ufdt_overlay_test_app.c | 47 struct fdt_header *blob = ufdt_install_blob(base_buf, blob_len); in apply_overlay_files() local
|