Searched refs:key_offset_sector (Results 1 – 3 of 3) sorted by relevance
524 hdr->key_slots[0].key_offset_sector = 2; in luks_bad_key_overlap_header()531 hdr->key_slots[0].key_offset_sector = hdr->key_slots[1].key_offset_sector; in luks_bad_key_overlap_key()538 hdr->key_slots[0].key_offset_sector = hdr->payload_offset_sector + 42; in luks_bad_key_overlap_payload()
90 uint32_t key_offset_sector; member
380 cpu_to_be32s(&hdr->key_slots[i].key_offset_sector); in qcrypto_block_luks_to_disk_endian()402 be32_to_cpus(&hdr->key_slots[i].key_offset_sector); in qcrypto_block_luks_from_disk_endian()528 unsigned int start1 = slot1->key_offset_sector; in qcrypto_block_luks_check_header()570 unsigned int start2 = slot2->key_offset_sector; in qcrypto_block_luks_check_header()837 slot->key_offset_sector * in qcrypto_block_luks_store_key()928 slot->key_offset_sector * QCRYPTO_BLOCK_LUKS_SECTOR_SIZE, in qcrypto_block_luks_load_key()1174 slot->key_offset_sector * QCRYPTO_BLOCK_LUKS_SECTOR_SIZE, in qcrypto_block_luks_erase_key()1543 slot->key_offset_sector = header_sectors + i * split_key_sectors; in qcrypto_block_luks_create()1904 slot->key_offset = luks->header.key_slots[i].key_offset_sector in qcrypto_block_luks_get_info()