Files
qemu-reims-vgpu/include/crypto
Jamin Lin a4383c0862 crypto/cipher: Add setaad/gettag for AEAD modes
AEAD modes such as GCM authenticate optional associated data (AAD) and
produce an authentication tag, which the block-cipher encrypt/decrypt
interface cannot express. Add qcrypto_cipher_setaad() and
qcrypto_cipher_gettag() plus the matching backend driver hooks. The
generic front-end reports an error when the selected mode's driver does
not implement them, so calling them on a non-AEAD mode fails cleanly.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Kane Chen <kane_chen@aspeedtech.com>
Link: https://lore.kernel.org/qemu-devel/20260811060115.1849266-9-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2026-08-11 18:25:58 +02:00
..
2023-07-08 07:30:17 +01:00
2023-09-08 13:08:52 +03:00
2023-03-20 12:43:50 +01:00
2020-09-09 09:27:09 -04:00
2023-09-11 11:45:55 +10:00