Lines Matching refs:masterkey
705 uint8_t *masterkey, in qcrypto_block_luks_store_key() argument
816 masterkey, in qcrypto_block_luks_store_key()
878 uint8_t *masterkey, in qcrypto_block_luks_load_key() argument
988 masterkey, in qcrypto_block_luks_load_key()
1003 masterkey, in qcrypto_block_luks_load_key()
1036 uint8_t *masterkey, in qcrypto_block_luks_find_key() argument
1048 masterkey, in qcrypto_block_luks_find_key()
1196 g_autofree uint8_t *masterkey = NULL; in qcrypto_block_luks_open() local
1233 masterkey = g_new0(uint8_t, luks->header.master_key_len); in qcrypto_block_luks_open()
1237 masterkey, in qcrypto_block_luks_open()
1253 masterkey, in qcrypto_block_luks_open()
1263 masterkey, in qcrypto_block_luks_open()
1306 g_autofree uint8_t *masterkey = NULL; in qcrypto_block_luks_create() local
1448 masterkey = g_new0(uint8_t, luks->header.master_key_len); in qcrypto_block_luks_create()
1449 if (qcrypto_random_bytes(masterkey, in qcrypto_block_luks_create()
1457 luks_opts.cipher_mode, masterkey, in qcrypto_block_luks_create()
1468 masterkey, luks->header.master_key_len, in qcrypto_block_luks_create()
1480 masterkey, luks->header.master_key_len, in qcrypto_block_luks_create()
1520 masterkey, luks->header.master_key_len, in qcrypto_block_luks_create()
1584 masterkey, in qcrypto_block_luks_create()
1592 memset(masterkey, 0, luks->header.master_key_len); in qcrypto_block_luks_create()
1597 if (masterkey) { in qcrypto_block_luks_create()
1598 memset(masterkey, 0, luks->header.master_key_len); in qcrypto_block_luks_create()