Home
last modified time | relevance | path

Searched refs:payload_offset_sector (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/crypto/
H A Dblock-luks-priv.h116 uint32_t payload_offset_sector; member
H A Dblock-luks.c373 cpu_to_be32s(&hdr->payload_offset_sector); in qcrypto_block_luks_to_disk_endian()
395 be32_to_cpus(&hdr->payload_offset_sector); in qcrypto_block_luks_from_disk_endian()
512 if (!detached && luks->header.payload_offset_sector < in qcrypto_block_luks_check_header()
561 if (!detached && start1 + len1 > luks->header.payload_offset_sector) { in qcrypto_block_luks_check_header()
1271 block->payload_offset = luks->header.payload_offset_sector * in qcrypto_block_luks_open()
1552 luks->header.payload_offset_sector = 0; in qcrypto_block_luks_create()
1560 luks->header.payload_offset_sector = header_sectors + in qcrypto_block_luks_create()
1565 block->payload_offset = luks->header.payload_offset_sector * in qcrypto_block_luks_create()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-block.c538 hdr->key_slots[0].key_offset_sector = hdr->payload_offset_sector + 42; in luks_bad_key_overlap_payload()
545 hdr->payload_offset_sector = 2; in luks_bad_payload_overlap_header()