Searched refs:QCryptoIVGen (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/include/crypto/ |
H A D | ivgen.h | 98 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 D | block.h | 278 QCryptoIVGen *qcrypto_block_get_ivgen(QCryptoBlock *block);
|
/openbmc/qemu/crypto/ |
H A D | ivgen.c | 30 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 D | ivgenpriv.h | 29 int (*init)(QCryptoIVGen *ivgen, 32 int (*calculate)(QCryptoIVGen *ivgen, 36 void (*cleanup)(QCryptoIVGen *ivgen); 39 struct QCryptoIVGen { struct
|
H A D | ivgen-plain64.c | 25 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 D | ivgen-plain.c | 25 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 D | ivgen-essiv.c | 30 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 D | blockpriv.h | 44 QCryptoIVGen *ivgen; 104 QCryptoIVGen *ivgen, 113 QCryptoIVGen *ivgen,
|
H A D | block.c | 325 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 D | block-luks.c | 717 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 D | test-crypto-ivgen.c | 140 g_autoptr(QCryptoIVGen) ivgen = NULL; in test_ivgen()
|
H A D | test-crypto-block.c | 251 QCryptoIVGen *ivgen; in test_block_assert_setup()
|