Lines Matching refs:QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS

377     for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) {  in qcrypto_block_luks_to_disk_endian()
399 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_from_disk_endian()
525 for (i = 0 ; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS ; i++) { in qcrypto_block_luks_check_header()
568 for (j = i + 1 ; j < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS ; j++) { in qcrypto_block_luks_check_header()
722 assert(slot_idx < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS); in qcrypto_block_luks_store_key()
894 assert(slot_idx < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS); in qcrypto_block_luks_load_key()
1044 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_find_key()
1075 assert(slot_idx < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS); in qcrypto_block_luks_slot_active()
1090 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_count_active_slots()
1107 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_find_free_keyslot()
1137 assert(slot_idx < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS); in qcrypto_block_luks_erase_key()
1539 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_create()
1561 QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS * split_key_sectors; in qcrypto_block_luks_create()
1568 (header_sectors + QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS * in qcrypto_block_luks_create()
1641 if (keyslot < 0 || keyslot >= QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS) { in qcrypto_block_luks_amend_add_keyslot()
1644 keyslot, QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS - 1); in qcrypto_block_luks_amend_add_keyslot()
1742 if (keyslot < 0 || keyslot >= QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS) { in qcrypto_block_luks_amend_erase_keyslots()
1745 keyslot, QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS - 1); in qcrypto_block_luks_amend_erase_keyslots()
1797 assert(QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS <= in qcrypto_block_luks_amend_erase_keyslots()
1800 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_amend_erase_keyslots()
1816 QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS); in qcrypto_block_luks_amend_erase_keyslots()
1833 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_amend_erase_keyslots()
1900 for (i = 0; i < QCRYPTO_BLOCK_LUKS_NUM_KEY_SLOTS; i++) { in qcrypto_block_luks_get_info()