Lines Matching refs:splitkeylen
352 size_t splitkeylen = luks->header.master_key_len * stripes; in qcrypto_block_luks_splitkeylen_sectors() local
356 DIV_ROUND_UP(splitkeylen, QCRYPTO_BLOCK_LUKS_SECTOR_SIZE); in qcrypto_block_luks_splitkeylen_sectors()
714 size_t splitkeylen; in qcrypto_block_luks_store_key() local
724 splitkeylen = luks->header.master_key_len * slot->stripes; in qcrypto_block_luks_store_key()
811 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_store_key()
830 splitkeylen, in qcrypto_block_luks_store_key()
839 splitkey, splitkeylen, in qcrypto_block_luks_store_key()
858 memset(splitkey, 0, splitkeylen); in qcrypto_block_luks_store_key()
886 size_t splitkeylen; in qcrypto_block_luks_load_key() local
900 splitkeylen = luks->header.master_key_len * slot->stripes; in qcrypto_block_luks_load_key()
901 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_load_key()
929 splitkey, splitkeylen, in qcrypto_block_luks_load_key()
975 splitkeylen, in qcrypto_block_luks_load_key()
1132 size_t splitkeylen; in qcrypto_block_luks_erase_key() local
1140 splitkeylen = luks->header.master_key_len * slot->stripes; in qcrypto_block_luks_erase_key()
1141 assert(splitkeylen > 0); in qcrypto_block_luks_erase_key()
1143 garbagesplitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_erase_key()
1162 splitkeylen, &local_err) < 0) { in qcrypto_block_luks_erase_key()
1176 splitkeylen, in qcrypto_block_luks_erase_key()