Home
last modified time | relevance | path

Searched refs:mac_size (Results 1 – 10 of 10) sorted by relevance

/trusty/user/app/storage/
Dsuper.c146 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 …]
Dblock_device.h60 size_t mac_size; member
Dblock_mac.c32 size_t size = fs->mac_size; in block_mac_mac_size()
Dfs.h159 size_t mac_size; member
Dblock_cache.c756 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()
Dblock_map.c41 size_t block_mac_size = block_num_size + tr->fs->mac_size; in block_map_init()
Dblock_device_tipc.c281 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()
Dblock_set.c634 fs->block_num_size + fs->mac_size, fs->block_num_size); in block_set_init()
Dblock_tree.c1718 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/
Dblock_test.c311 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()