Re: [PATCH v2 12/17] tests/unit/test-crypto-cipher: Test AES-GCM mode

Daniel P. Berrangé <[email protected]>
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <[email protected]>
On Wed, Jul 15, 2026 at 03:33:32AM +0000, Jamin Lin wrote:
> Exercise the new GCM mode and the setaad/gettag helpers with the
> canonical AES-GCM test vectors from the GCM specification (McGrew &
> Viega, also NIST SP 800-38D): AES-128 and AES-256, with and without
> associated data. Each vector is run through encrypt (checking the
> ciphertext and the generated tag) and decrypt (checking the recovered
> plaintext and the recomputed tag).
> 
> Signed-off-by: Jamin Lin <[email protected]>
> ---
>  tests/unit/test-crypto-cipher.c | 240 ++++++++++++++++++++++++++++++++
>  1 file changed, 240 insertions(+)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.