Searched refs:mac_size (Results 1 – 10 of 10) sorted by relevance
/trusty/user/app/storage/ |
D | super.c | 146 uint8_t mac_size; member 274 super_rw->mac_size = tr->fs->mac_size; in update_super_block_internal() 495 if (super->mac_size != dev->mac_size) { in super_block_valid() 496 pr_warn("invalid mac_size %d, expected %zd\n", super->mac_size, in super_block_valid() 497 dev->mac_size); in super_block_valid() 500 if (!dev->tamper_detecting && super->mac_size != sizeof(struct mac)) { in super_block_valid() 501 pr_warn("invalid mac_size %d != %zd\n", super->mac_size, in super_block_valid() 699 fs->mac_size = fs->dev->mac_size; in fs_init_from_super() 893 assert(fs->mac_size >= fs->dev->mac_size); in fs_init_from_super() 894 assert(fs->mac_size <= sizeof(struct mac)); in fs_init_from_super() [all …]
|
D | block_device.h | 60 size_t mac_size; member
|
D | block_mac.c | 32 size_t size = fs->mac_size; in block_mac_mac_size()
|
D | fs.h | 159 size_t mac_size; member
|
D | block_cache.c | 756 size_t mac_size) { in block_cache_load_entry() argument 779 if (CRYPTO_memcmp(&entry->mac, mac, mac_size)) { in block_cache_load_entry() 822 size_t mac_size, in block_cache_get() argument 845 res = block_cache_load_entry(entry, mac, mac_size); in block_cache_get() 886 size_t mac_size, in block_cache_get_data() argument 890 entry = block_cache_get(fs, dev, block, load, mac, mac_size, ref, in block_cache_get_data() 1197 tr->fs->mac_size, ref, &load_result); in block_get_no_tr_fail()
|
D | block_map.c | 41 size_t block_mac_size = block_num_size + tr->fs->mac_size; in block_map_init()
|
D | block_device_tipc.c | 281 dev_rpmb->dev.mac_size = 2; in block_device_tipc_init_dev_rpmb() 297 dev_ns->dev.mac_size = sizeof(struct mac); in block_device_tipc_init_dev_ns()
|
D | block_set.c | 634 fs->block_num_size + fs->mac_size, fs->block_num_size); in block_set_init()
|
D | block_tree.c | 1718 tr->fs->block_num_size + tr->fs->mac_size); in block_tree_path_put_dirty() 1759 tr->fs->mac_size < 16); in block_tree_path_put_dirty() 1773 tr->fs->mac_size < 16); in block_tree_path_put_dirty()
|
/trusty/user/app/storage/test/block_host_test/ |
D | block_test.c | 311 size_t block_mac_size = tr->fs->block_num_size + tr->fs->mac_size; in check_fs_prepare() 3613 .mac_size = 16, in main() 3623 .mac_size = 2, in main()
|