| /OK3568_Linux_fs/u-boot/lib/avb/libavb/ |
| H A D | avb_vbmeta_image.c | 116 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 209 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 222 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 263 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
|
| /OK3568_Linux_fs/kernel/fs/incfs/ |
| H A D | verity.c | 298 struct mtree *hash_tree, loff_t hash_offset, in incfs_build_merkle_tree() argument 328 hash_level_offset = hash_offset + in incfs_build_merkle_tree() 354 hash_level_offset = hash_offset + in incfs_build_merkle_tree() 424 loff_t hash_offset, sig_offset; in incfs_add_signature_record() local 464 &hash_offset, &sig_offset); in incfs_add_signature_record() 470 error = incfs_build_merkle_tree(f, df, bfc, hash_tree, hash_offset, alg, in incfs_add_signature_record() 496 .hash_offset = hash_offset, in incfs_add_signature_record()
|
| H A D | data_mgmt.c | 731 hash_block_offset[lvl] + sig->hash_offset); in validate_hash_tree() 1378 return incfs_kread(bfc, dst.data, to_read, sig->hash_offset + offset); in incfs_read_merkle_tree_blocks() 1501 if (!hash_tree || !sig || sig->hash_offset == 0) in incfs_process_new_hash_block() 1504 hash_area_base = sig->hash_offset; in incfs_process_new_hash_block() 1564 signature->hash_offset = le64_to_cpu(sg->sg_hash_tree_offset); in process_file_signature_md() 1599 handler->md_record_offset <= signature->hash_offset) { in process_file_signature_md()
|
| H A D | format.h | 261 u64 hash_offset; member
|
| /OK3568_Linux_fs/kernel/drivers/soc/qcom/ |
| H A D | mdt_loader.c | 90 size_t hash_offset; in qcom_mdt_read_metadata() local 116 hash_offset = phdrs[0].p_filesz; in qcom_mdt_read_metadata() 118 hash_offset = phdrs[1].p_offset; in qcom_mdt_read_metadata() 121 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | bpf_lru_list.h | 60 unsigned int hash_offset; member 74 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
|
| H A D | bpf_lru_list.c | 353 *(u32 *)((void *)node + lru->hash_offset) = hash; in __local_list_add_pending() 421 *(u32 *)((void *)node + lru->hash_offset) = hash; in bpf_percpu_lru_pop_free() 646 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument 684 lru->hash_offset = hash_offset; in bpf_lru_init()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | vendor.c | 432 u16 data_offset, hash_offset, part_num; in vendor_storage_init() local 456 hash_offset = EMMC_VENDOR_HASH_OFFSET; in vendor_storage_init() 465 hash_offset = NAND_VENDOR_HASH_OFFSET; in vendor_storage_init() 473 hash_offset = FLASH_VENDOR_HASH_OFFSET; in vendor_storage_init() 482 hash_offset = FLASH_VENDOR_HASH_OFFSET; in vendor_storage_init() 512 vendor_info.hash = (u32 *)(buffer + hash_offset); in vendor_storage_init()
|
| /OK3568_Linux_fs/u-boot/include/android_avb/ |
| H A D | avb_vbmeta_image.h | 145 uint64_t hash_offset; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ipa/ |
| H A D | ipa_cmd.c | 375 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument 393 hash_offset += ipa->mem_offset; in ipa_cmd_table_init_add() 394 val |= u64_encode_bits(hash_offset, in ipa_cmd_table_init_add()
|
| H A D | ipa_cmd.h | 123 u16 hash_size, u32 hash_offset,
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | s5p-sss.c | 243 unsigned int hash_offset; member 390 .hash_offset = 0x6000, 396 .hash_offset = 0x400, 402 .hash_offset = 0x800, 2241 pdata->io_hash_base = pdata->ioaddr + variant->hash_offset; in s5p_aes_probe()
|
| /OK3568_Linux_fs/tools/linux/Linux_SecurityAVB/scripts/ |
| H A D | avbtool | 519 digest_offset = auth_offset + vbmeta_header.hash_offset 1864 self.algorithm_type, self.hash_offset, self.hash_size, 1885 self.hash_offset = 0 1920 self.auxiliary_data_block_size, self.algorithm_type, self.hash_offset, 1938 self.hash_offset, self.hash_size, self.signature_offset, 2643 h.hash_offset = 0
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | avbtool.py | 564 digest_offset = auth_offset + vbmeta_header.hash_offset 2101 self.algorithm_type, self.hash_offset, self.hash_size, 2124 self.hash_offset = 0 2163 self.hash_offset, self.hash_size, self.signature_offset, 3192 h.hash_offset = 0
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-integrity.c | 1316 unsigned hash_offset = 0; in dm_integrity_rw_tag() local 1359 hash_offset++; in dm_integrity_rw_tag() 1360 if (unlikely(hash_offset == ic->tag_size)) { in dm_integrity_rw_tag() 1365 hash_offset = 0; in dm_integrity_rw_tag() 1381 hash_offset = (hash_offset + to_copy) % ic->tag_size; in dm_integrity_rw_tag()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.c | 2368 u32 fd_status, hash_offset; in rx_default_dqrr() local 2451 &hash_offset)) { in rx_default_dqrr() 2457 skb_set_hash(skb, be32_to_cpu(*(u32 *)(vaddr + hash_offset)), in rx_default_dqrr()
|