GCM mode and GCRY_CIPHER_AES256
Werner Koch
wk at gnupg.org
Fri May 30 19:38:00 CEST 2014
On Fri, 30 May 2014 01:23, ddahl at nulltxt.se said:
> err = gcry_cipher_open(&handle, GCRY_CIPHER, GCRY_CIPHER_MODE, 0);
>
> returns with: "GCM algo 9, gcry_cipher_open failed: Invalid cipher mode"
Please paste the actual code so that we can understand and replicate the
case.
> Doesn't AES 256 use a block size of 16 bytes?
The block length of AES is indeed 16 bytes.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gcrypt-devel
mailing list