[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60693: 30.0.50; gnutls-symmetric-encrypt/decrypt in GCM mode require
From: |
Eli Zaretskii |
Subject: |
bug#60693: 30.0.50; gnutls-symmetric-encrypt/decrypt in GCM mode requires plaintext/ciphertext size to be multiple of 16 |
Date: |
Mon, 09 Jan 2023 22:19:21 +0200 |
> From: Jürgen Hötzel <juergen@hoetzel.info>
> Date: Mon, 09 Jan 2023 19:06:52 +0100
>
> (gnutls-symmetric-encrypt 'AES-128-GCM "0123456789ABCDEF" "0123456789AB"
> "hello")
>
> results in:
>
> (error "GnuTLS AEAD cipher AES-128-GCM/encrypt input block length 5 is
> not 0 greater than a multiple of the required 16")
>
>
> GCM doesn't require any padding of the plaintext before it is used, so this is
> IMO an invalid assumption. Evaluating
OK, thanks. I disabled the check on the master branch, and closing
the bug.