/openbmc/qemu/include/crypto/ |
H A D | cipher.h | 26 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 D | block.h | 267 QCryptoCipher *qcrypto_block_get_cipher(QCryptoBlock *block);
|
/openbmc/qemu/crypto/ |
H A D | cipherpriv.h | 21 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 D | cipher.c | 151 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 D | block.c | 222 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 D | cipher-nettle.c.inc | 52 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 D | cipher-builtin.c.inc | 31 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 D | cipher-afalg.c | 62 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 D | cipher-gcrypt.c.inc | 113 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 D | blockpriv.h | 41 QCryptoCipher **free_ciphers; 102 int qcrypto_block_cipher_decrypt_helper(QCryptoCipher *cipher, 111 int qcrypto_block_cipher_encrypt_helper(QCryptoCipher *cipher,
|
H A D | cipher-gnutls.c.inc | 64 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 D | afalgpriv.h | 36 QCryptoCipher base;
|
H A D | ivgen-essiv.c | 27 QCryptoCipher *cipher;
|
H A D | secret_common.c | 42 g_autoptr(QCryptoCipher) aes = NULL; in qcrypto_secret_decrypt()
|
H A D | block-luks.c | 716 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 D | test-crypto-cipher.c | 653 QCryptoCipher *cipher; in test_cipher() 747 QCryptoCipher *cipher; in test_cipher_null_iv() 773 QCryptoCipher *cipher; in test_cipher_short_plaintext()
|
H A D | test-crypto-block.c | 252 QCryptoCipher *cipher; in test_block_assert_setup()
|
/openbmc/qemu/tests/bench/ |
H A D | benchmark-crypto-cipher.c | 22 QCryptoCipher *cipher; in test_cipher_speed()
|
/openbmc/qemu/backends/ |
H A D | cryptodev-builtin.c | 44 QCryptoCipher *cipher; 223 QCryptoCipher *cipher; in cryptodev_builtin_create_cipher_session()
|
/openbmc/qemu/ui/ |
H A D | vnc.c | 2765 QCryptoCipher *cipher = NULL; in protocol_client_auth_vnc()
|