Home
last modified time | relevance | path

Searched refs:QCryptoIVGen (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/include/crypto/
H A Divgen.h98 typedef struct QCryptoIVGen QCryptoIVGen; typedef
136 QCryptoIVGen *qcrypto_ivgen_new(QCryptoIVGenAlgorithm alg,
156 int qcrypto_ivgen_calculate(QCryptoIVGen *ivgen,
170 QCryptoIVGenAlgorithm qcrypto_ivgen_get_algorithm(QCryptoIVGen *ivgen);
182 QCryptoCipherAlgorithm qcrypto_ivgen_get_cipher(QCryptoIVGen *ivgen);
194 QCryptoHashAlgorithm qcrypto_ivgen_get_hash(QCryptoIVGen *ivgen);
204 void qcrypto_ivgen_free(QCryptoIVGen *ivgen);
206 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QCryptoIVGen, qcrypto_ivgen_free)
H A Dblock.h278 QCryptoIVGen *qcrypto_block_get_ivgen(QCryptoBlock *block);
/openbmc/qemu/crypto/
H A Divgen.c30 QCryptoIVGen *qcrypto_ivgen_new(QCryptoIVGenAlgorithm alg, in qcrypto_ivgen_new()
36 QCryptoIVGen *ivgen = g_new0(QCryptoIVGen, 1); in qcrypto_ivgen_new()
67 int qcrypto_ivgen_calculate(QCryptoIVGen *ivgen, in qcrypto_ivgen_calculate()
76 QCryptoIVGenAlgorithm qcrypto_ivgen_get_algorithm(QCryptoIVGen *ivgen) in qcrypto_ivgen_get_algorithm()
82 QCryptoCipherAlgorithm qcrypto_ivgen_get_cipher(QCryptoIVGen *ivgen) in qcrypto_ivgen_get_cipher()
88 QCryptoHashAlgorithm qcrypto_ivgen_get_hash(QCryptoIVGen *ivgen) in qcrypto_ivgen_get_hash()
94 void qcrypto_ivgen_free(QCryptoIVGen *ivgen) in qcrypto_ivgen_free()
H A Divgenpriv.h29 int (*init)(QCryptoIVGen *ivgen,
32 int (*calculate)(QCryptoIVGen *ivgen,
36 void (*cleanup)(QCryptoIVGen *ivgen);
39 struct QCryptoIVGen { struct
H A Divgen-plain64.c25 static int qcrypto_ivgen_plain_init(QCryptoIVGen *ivgen, in qcrypto_ivgen_plain_init()
32 static int qcrypto_ivgen_plain_calculate(QCryptoIVGen *ivgen, in qcrypto_ivgen_plain_calculate()
50 static void qcrypto_ivgen_plain_cleanup(QCryptoIVGen *ivgen) in qcrypto_ivgen_plain_cleanup()
H A Divgen-plain.c25 static int qcrypto_ivgen_plain_init(QCryptoIVGen *ivgen, in qcrypto_ivgen_plain_init()
32 static int qcrypto_ivgen_plain_calculate(QCryptoIVGen *ivgen, in qcrypto_ivgen_plain_calculate()
50 static void qcrypto_ivgen_plain_cleanup(QCryptoIVGen *ivgen) in qcrypto_ivgen_plain_cleanup()
H A Divgen-essiv.c30 static int qcrypto_ivgen_essiv_init(QCryptoIVGen *ivgen, in qcrypto_ivgen_essiv_init()
71 static int qcrypto_ivgen_essiv_calculate(QCryptoIVGen *ivgen, in qcrypto_ivgen_essiv_calculate()
106 static void qcrypto_ivgen_essiv_cleanup(QCryptoIVGen *ivgen) in qcrypto_ivgen_essiv_cleanup()
H A Dblockpriv.h44 QCryptoIVGen *ivgen;
104 QCryptoIVGen *ivgen,
113 QCryptoIVGen *ivgen,
H A Dblock.c325 QCryptoIVGen *qcrypto_block_get_ivgen(QCryptoBlock *block) in qcrypto_block_get_ivgen()
376 QCryptoIVGen *ivgen, in do_qcrypto_block_cipher_encdec()
430 QCryptoIVGen *ivgen, in qcrypto_block_cipher_decrypt_helper()
445 QCryptoIVGen *ivgen, in qcrypto_block_cipher_encrypt_helper()
H A Dblock-luks.c717 g_autoptr(QCryptoIVGen) ivgen = NULL; in qcrypto_block_luks_store_key()
891 g_autoptr(QCryptoIVGen) ivgen = NULL; in qcrypto_block_luks_load_key()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-ivgen.c140 g_autoptr(QCryptoIVGen) ivgen = NULL; in test_ivgen()
H A Dtest-crypto-block.c251 QCryptoIVGen *ivgen; in test_block_assert_setup()