Lines Matching refs:key_slots

378         cpu_to_be32s(&hdr->key_slots[i].active);  in qcrypto_block_luks_to_disk_endian()
379 cpu_to_be32s(&hdr->key_slots[i].iterations); in qcrypto_block_luks_to_disk_endian()
380 cpu_to_be32s(&hdr->key_slots[i].key_offset_sector); in qcrypto_block_luks_to_disk_endian()
381 cpu_to_be32s(&hdr->key_slots[i].stripes); in qcrypto_block_luks_to_disk_endian()
400 be32_to_cpus(&hdr->key_slots[i].active); in qcrypto_block_luks_from_disk_endian()
401 be32_to_cpus(&hdr->key_slots[i].iterations); in qcrypto_block_luks_from_disk_endian()
402 be32_to_cpus(&hdr->key_slots[i].key_offset_sector); in qcrypto_block_luks_from_disk_endian()
403 be32_to_cpus(&hdr->key_slots[i].stripes); in qcrypto_block_luks_from_disk_endian()
527 const QCryptoBlockLUKSKeySlot *slot1 = &luks->header.key_slots[i]; in qcrypto_block_luks_check_header()
569 const QCryptoBlockLUKSKeySlot *slot2 = &luks->header.key_slots[j]; in qcrypto_block_luks_check_header()
723 slot = &luks->header.key_slots[slot_idx]; in qcrypto_block_luks_store_key()
895 slot = &luks->header.key_slots[slot_idx]; in qcrypto_block_luks_load_key()
1076 val = luks->header.key_slots[slot_idx].active; in qcrypto_block_luks_slot_active()
1138 slot = &luks->header.key_slots[slot_idx]; in qcrypto_block_luks_erase_key()
1540 QCryptoBlockLUKSKeySlot *slot = &luks->header.key_slots[i]; in qcrypto_block_luks_create()
1902 slot->active = luks->header.key_slots[i].active == in qcrypto_block_luks_get_info()
1904 slot->key_offset = luks->header.key_slots[i].key_offset_sector in qcrypto_block_luks_get_info()
1908 slot->iters = luks->header.key_slots[i].iterations; in qcrypto_block_luks_get_info()
1910 slot->stripes = luks->header.key_slots[i].stripes; in qcrypto_block_luks_get_info()