Searched refs:splitkey (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-afsplit.c | 33 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()
|
/openbmc/qemu/crypto/ |
H A D | block-luks.c | 713 g_autofree uint8_t *splitkey = NULL; in qcrypto_block_luks_store_key() local 811 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_store_key() 817 splitkey, in qcrypto_block_luks_store_key() 829 splitkey, in qcrypto_block_luks_store_key() 839 splitkey, splitkeylen, in qcrypto_block_luks_store_key() 857 if (splitkey) { in qcrypto_block_luks_store_key() 858 memset(splitkey, 0, splitkeylen); in qcrypto_block_luks_store_key() 885 g_autofree uint8_t *splitkey = NULL; in qcrypto_block_luks_load_key() local 901 splitkey = g_new0(uint8_t, splitkeylen); in qcrypto_block_luks_load_key() 929 splitkey, splitkeylen, in qcrypto_block_luks_load_key() [all …]
|