Searched refs:blob_ (Results 1 – 7 of 7) sorted by relevance
/system/nvram/hal/ |
D | memory_storage.cpp | 28 bool present() const { return blob_.size() != 0; } in present() 31 if (blob_.size() == 0) { in Load() 35 if (!blob->Assign(blob_.data(), blob_.size())) { in Load() 43 if (!blob_.Assign(blob.data(), blob.size())) { in Store() 51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete() 55 Blob blob_; member in nvram::storage::__anonbf70ebaf0111::StorageSlot
|
/system/nvram/messages/ |
D | io.cpp | 221 : OutputStreamBuffer(blob->data(), blob->size()), blob_(blob) {} in BlobOutputStreamBuffer() 224 ptrdiff_t offset = pos_ - blob_->data(); in Advance() 225 if (!blob_->Resize(max<size_t>(blob_->size() * 2, 32))) { in Advance() 228 pos_ = blob_->data() + offset; in Advance() 229 end_ = blob_->data() + blob_->size(); in Advance() 234 if (!blob_->Resize(pos_ - blob_->data())) { in Truncate() 237 end_ = blob_->data() + blob_->size(); in Truncate()
|
/system/nvram/core/tests/ |
D | fake_storage.cpp | 40 NVRAM_CHECK(blob->Assign(blob_.data(), blob_.size())); in Load() 49 NVRAM_CHECK(blob_.Assign(blob.data(), blob.size())); in Store() 59 NVRAM_CHECK(blob_.Resize(0)); in Delete() 68 NVRAM_CHECK(blob_.Resize(0)); in Clear() 80 Blob blob_; member in nvram::storage::__anonf638f7030111::StorageSlot
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 179 blob_.key_material = nullptr; in Keymaster2Test() 181 blob_.key_material = 0; in Keymaster2Test() 202 return device()->generate_key(device(), ¶ms, &blob_, &characteristics_); in GenerateKey() 206 return device()->delete_key(device(), &blob_); in DeleteKey() 220 return device()->import_key(device(), ¶ms, format, &key, &blob_, &characteristics_); in ImportKey() 241 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_); in BeginOperation() 252 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_); in BeginOperation() 346 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey() 352 device()->upgrade_key(device(), &blob_, &upgrade_params, &upgraded_blob); in UpgradeKey() 355 blob_ = upgraded_blob; in UpgradeKey() [all …]
|
D | android_keymaster_test_utils.h | 325 blob_.key_material = key; in set_key_blob() 326 blob_.key_material_size = key_length; in set_key_blob() 329 void set_key_blob(KeymasterKeyBlob blob) { blob_ = blob.release(); } in set_key_blob() 350 keymaster_key_blob_t blob_; variable
|
D | android_keymaster_test.cpp | 1635 req.SetKeyMaterial(blob_); in BeginOperation() 1671 KeymasterKeyBlob blob_; member in keymaster::test::ImportWrappedKeyTest 1710 blob_ = move(response.key_blob); in TEST_F()
|
/system/nvram/messages/include/nvram/messages/ |
D | io.h | 215 Blob* blob_;
|