Home
last modified time | relevance | path

Searched refs:splitkey (Results 1 – 2 of 2) sorted by relevance

/qemu/tests/unit/
H A Dtest-crypto-afsplit.c33 const uint8_t *splitkey; member
47 .splitkey = (const uint8_t *)
134 uint8_t *splitkey = g_new0(uint8_t, splitlen); in test_afsplit() local
141 data->key, splitkey, in test_afsplit()
146 splitkey, key, in test_afsplit()
158 if (data->splitkey) { in test_afsplit()
163 data->splitkey, key, in test_afsplit()
176 g_free(splitkey); in test_afsplit()
/qemu/crypto/
H A Dblock-luks.c712 g_autofree uint8_t *splitkey = NULL; in qcrypto_block_luks_store_key() local
810 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_store_key()
816 splitkey, in qcrypto_block_luks_store_key()
828 splitkey, in qcrypto_block_luks_store_key()
838 splitkey, splitkeylen, in qcrypto_block_luks_store_key()
856 if (splitkey) { in qcrypto_block_luks_store_key()
857 memset(splitkey, 0, splitkeylen); in qcrypto_block_luks_store_key()
884 g_autofree uint8_t *splitkey = NULL; in qcrypto_block_luks_load_key() local
900 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_load_key()
928 splitkey, splitkeylen, in qcrypto_block_luks_load_key()
[all …]