Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-crypto-block.c84 .ivgen_alg = QCRYPTO_IVGEN_ALG_PLAIN64,
98 .ivgen_alg = QCRYPTO_IVGEN_ALG_ESSIV,
119 QCryptoIVGenAlgorithm ivgen_alg; member
134 .ivgen_alg = QCRYPTO_IVGEN_ALG_PLAIN64,
148 .ivgen_alg = QCRYPTO_IVGEN_ALG_PLAIN64,
163 .ivgen_alg = QCRYPTO_IVGEN_ALG_PLAIN64,
178 .ivgen_alg = QCRYPTO_IVGEN_ALG_ESSIV,
265 g_assert_cmpint(data->ivgen_alg, ==, in test_block_assert_setup()
/openbmc/qemu/crypto/
H A Dblock-luks.c132 QCryptoIVGenAlgorithm ivgen_alg; member
663 if (luks->ivgen_alg == QCRYPTO_IVGEN_ALG_ESSIV) { in qcrypto_block_luks_parse_header()
797 ivgen = qcrypto_ivgen_new(luks->ivgen_alg, in qcrypto_block_luks_store_key()
951 ivgen = qcrypto_ivgen_new(luks->ivgen_alg, in qcrypto_block_luks_load_key()
1250 block->ivgen = qcrypto_ivgen_new(luks->ivgen_alg, in qcrypto_block_luks_open()
1313 const char *ivgen_alg; in qcrypto_block_luks_create() local
1331 luks_opts.ivgen_alg = QCRYPTO_IVGEN_ALG_PLAIN64; in qcrypto_block_luks_create()
1336 if (luks_opts.ivgen_alg == QCRYPTO_IVGEN_ALG_ESSIV) { in qcrypto_block_luks_create()
1348 luks->ivgen_alg = luks_opts.ivgen_alg; in qcrypto_block_luks_create()
1387 ivgen_alg = QCryptoIVGenAlgorithm_str(luks_opts.ivgen_alg); in qcrypto_block_luks_create()
[all …]