Home
last modified time | relevance | path

Searched refs:QCryptoCipher (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/include/crypto/
H A Dcipher.h26 typedef struct QCryptoCipher QCryptoCipher; typedef
80 struct QCryptoCipher { struct
159 QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg,
171 void qcrypto_cipher_free(QCryptoCipher *cipher);
173 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QCryptoCipher, qcrypto_cipher_free)
190 int qcrypto_cipher_encrypt(QCryptoCipher *cipher,
212 int qcrypto_cipher_decrypt(QCryptoCipher *cipher,
234 int qcrypto_cipher_setiv(QCryptoCipher *cipher,
H A Dblock.h267 QCryptoCipher *qcrypto_block_get_cipher(QCryptoBlock *block);
/openbmc/qemu/crypto/
H A Dcipherpriv.h21 int (*cipher_encrypt)(QCryptoCipher *cipher,
27 int (*cipher_decrypt)(QCryptoCipher *cipher,
33 int (*cipher_setiv)(QCryptoCipher *cipher,
37 void (*cipher_free)(QCryptoCipher *cipher);
44 extern QCryptoCipher *
H A Dcipher.c151 QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg, in qcrypto_cipher_new()
156 QCryptoCipher *cipher = NULL; in qcrypto_cipher_new()
176 int qcrypto_cipher_encrypt(QCryptoCipher *cipher, in qcrypto_cipher_encrypt()
187 int qcrypto_cipher_decrypt(QCryptoCipher *cipher, in qcrypto_cipher_decrypt()
198 int qcrypto_cipher_setiv(QCryptoCipher *cipher, in qcrypto_cipher_setiv()
207 void qcrypto_cipher_free(QCryptoCipher *cipher) in qcrypto_cipher_free()
H A Dblock.c222 QCryptoCipher *qcrypto_block_get_cipher(QCryptoBlock *block) in qcrypto_block_get_cipher()
235 static QCryptoCipher *qcrypto_block_pop_cipher(QCryptoBlock *block, in qcrypto_block_pop_cipher()
253 QCryptoCipher *cipher) in qcrypto_block_push_cipher()
259 block->free_ciphers = g_renew(QCryptoCipher *, in qcrypto_block_push_cipher()
275 QCryptoCipher *cipher; in qcrypto_block_init_cipher()
368 typedef int (*QCryptoCipherEncDecFunc)(QCryptoCipher *cipher,
374 static int do_qcrypto_block_cipher_encdec(QCryptoCipher *cipher, in do_qcrypto_block_cipher_encdec()
428 int qcrypto_block_cipher_decrypt_helper(QCryptoCipher *cipher, in qcrypto_block_cipher_decrypt_helper()
443 int qcrypto_block_cipher_encrypt_helper(QCryptoCipher *cipher, in qcrypto_block_cipher_encrypt_helper()
465 QCryptoCipher *cipher = qcrypto_block_pop_cipher(block, errp); in qcrypto_block_decrypt_helper()
[all …]
H A Dcipher-nettle.c.inc52 static void qcrypto_cipher_ctx_free(QCryptoCipher *ctx)
57 static int qcrypto_cipher_no_setiv(QCryptoCipher *cipher,
242 QCryptoCipher base;
264 QCryptoCipher base;
286 QCryptoCipher base;
312 QCryptoCipher base;
338 QCryptoCipher base;
364 QCryptoCipher base;
387 QCryptoCipher base;
411 QCryptoCipher base;
[all …]
H A Dcipher-builtin.c.inc31 QCryptoCipher base;
48 static void qcrypto_cipher_ctx_free(QCryptoCipher *cipher)
53 static int qcrypto_cipher_no_setiv(QCryptoCipher *cipher,
138 static int qcrypto_cipher_aes_encrypt_ecb(QCryptoCipher *cipher,
152 static int qcrypto_cipher_aes_decrypt_ecb(QCryptoCipher *cipher,
166 static int qcrypto_cipher_aes_encrypt_cbc(QCryptoCipher *cipher,
180 static int qcrypto_cipher_aes_decrypt_cbc(QCryptoCipher *cipher,
194 static int qcrypto_cipher_aes_setiv(QCryptoCipher *cipher, const uint8_t *iv,
244 static QCryptoCipher *qcrypto_cipher_ctx_new(QCryptoCipherAlgorithm alg,
H A Dcipher-afalg.c62 QCryptoCipher *
118 qcrypto_afalg_cipher_setiv(QCryptoCipher *cipher, in qcrypto_afalg_cipher_setiv()
201 qcrypto_afalg_cipher_encrypt(QCryptoCipher *cipher, in qcrypto_afalg_cipher_encrypt()
211 qcrypto_afalg_cipher_decrypt(QCryptoCipher *cipher, in qcrypto_afalg_cipher_decrypt()
220 static void qcrypto_afalg_comm_ctx_free(QCryptoCipher *cipher) in qcrypto_afalg_comm_ctx_free()
H A Dcipher-gcrypt.c.inc113 QCryptoCipher base;
119 static void qcrypto_gcrypt_ctx_free(QCryptoCipher *cipher)
127 static int qcrypto_gcrypt_encrypt(QCryptoCipher *cipher, const void *in,
149 static int qcrypto_gcrypt_decrypt(QCryptoCipher *cipher, const void *in,
171 static int qcrypto_gcrypt_setiv(QCryptoCipher *cipher,
194 static int qcrypto_gcrypt_ctr_setiv(QCryptoCipher *cipher,
231 static QCryptoCipher *qcrypto_cipher_ctx_new(QCryptoCipherAlgorithm alg,
H A Dblockpriv.h41 QCryptoCipher **free_ciphers;
102 int qcrypto_block_cipher_decrypt_helper(QCryptoCipher *cipher,
111 int qcrypto_block_cipher_encrypt_helper(QCryptoCipher *cipher,
H A Dcipher-gnutls.c.inc64 QCryptoCipher base;
74 qcrypto_gnutls_cipher_free(QCryptoCipher *cipher)
87 qcrypto_gnutls_cipher_encrypt(QCryptoCipher *cipher,
147 qcrypto_gnutls_cipher_decrypt(QCryptoCipher *cipher,
207 qcrypto_gnutls_cipher_setiv(QCryptoCipher *cipher,
232 static QCryptoCipher *qcrypto_cipher_ctx_new(QCryptoCipherAlgorithm alg,
H A Dafalgpriv.h36 QCryptoCipher base;
H A Divgen-essiv.c27 QCryptoCipher *cipher;
H A Dsecret_common.c42 g_autoptr(QCryptoCipher) aes = NULL; in qcrypto_secret_decrypt()
H A Dblock-luks.c716 g_autoptr(QCryptoCipher) cipher = NULL; in qcrypto_block_luks_store_key()
889 g_autoptr(QCryptoCipher) cipher = NULL; in qcrypto_block_luks_load_key()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-cipher.c653 QCryptoCipher *cipher; in test_cipher()
747 QCryptoCipher *cipher; in test_cipher_null_iv()
773 QCryptoCipher *cipher; in test_cipher_short_plaintext()
H A Dtest-crypto-block.c252 QCryptoCipher *cipher; in test_block_assert_setup()
/openbmc/qemu/tests/bench/
H A Dbenchmark-crypto-cipher.c22 QCryptoCipher *cipher; in test_cipher_speed()
/openbmc/qemu/backends/
H A Dcryptodev-builtin.c44 QCryptoCipher *cipher;
223 QCryptoCipher *cipher; in cryptodev_builtin_create_cipher_session()
/openbmc/qemu/ui/
H A Dvnc.c2765 QCryptoCipher *cipher = NULL; in protocol_client_auth_vnc()