Searched refs:storage_off_t (Results 1 – 6 of 6) sorted by relevance
/trusty/user/app/keymaster/ |
D | trusty_secure_deletion_secret_storage.cpp | 50 constexpr storage_off_t kSecretSize = 16; 54 constexpr storage_off_t kFactoryResetSecretSize = kSecretSize * 2; 55 constexpr storage_off_t kFactoryResetSecretPos = 0; 56 constexpr storage_off_t kFirstSecureDeletionSecretPos = 60 constexpr storage_off_t kBlockSize = kSecretSize * 32; 64 constexpr storage_off_t kMaxSecretFileSize = kBlockSize * 32; 70 constexpr storage_off_t kMaxSecretFileSizeForUpgrades = 114 storage_off_t size() const { return fileSize_; } in size() 119 std::optional<Buffer> ReadBlock(storage_off_t readPos, in ReadBlock() 120 storage_off_t bytesToRead) const { in ReadBlock() [all …]
|
/trusty/user/base/lib/storage/include/lib/storage/ |
D | storage.h | 33 typedef uint64_t storage_off_t; typedef 198 storage_off_t off, 215 storage_off_t off, 229 storage_off_t file_size, 239 int storage_get_file_size(file_handle_t handle, storage_off_t* size);
|
/trusty/user/app/storage/test/storage-unittest/ |
D | main.c | 108 static bool is_valid_offset(storage_off_t off) { in is_valid_offset() 112 static void fill_pattern32(uint32_t* buf, size_t len, storage_off_t off) { in fill_pattern32() 122 storage_off_t off) { in check_pattern32() 145 storage_off_t off, in WriteZeroChunk() 159 storage_off_t off, in WritePatternChunk() 173 storage_off_t off, in WritePatternExt() 199 storage_off_t off, in WritePattern() 208 storage_off_t off, in ReadChunk() 247 storage_off_t off, in ReadPattern() 276 storage_off_t off, in ReadPatternEOF() [all …]
|
/trusty/user/app/storage/storage_mock/ |
D | storage_mock.c | 268 storage_off_t off, in storage_read() 291 storage_off_t off, in storage_write() 321 storage_off_t file_size, in storage_set_file_size() 344 int storage_get_file_size(file_handle_t fh, storage_off_t* size_p) { in storage_get_file_size()
|
/trusty/user/base/lib/storage/ |
D | storage.c | 477 storage_off_t off, in _read_chunk() 500 storage_off_t off, in storage_read() 525 storage_off_t off, in _write_req() 547 storage_off_t off, in storage_write() 579 storage_off_t file_size, in storage_set_file_size() 594 int storage_get_file_size(file_handle_t fh, storage_off_t* size_p) { in storage_get_file_size()
|
/trusty/user/app/cast-auth/app/ |
D | cast_auth_impl.cc | 193 storage_off_t keysize; in LoadKey()
|