Figuring out if a cipher mode is available.
bradh at frogmouth.net
Mon Mar 28 08:49:15 CEST 2005
I'm trying to use OFB mode with AES and also with DES. The call:
gcry_cipher_open( &context, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_OFB, 0 );
fails (works for GCRY_CIPHER_MODE_ECB, _CFB and _CBC).
I see in the code that not all modes are supported for all Ciphers, which is
That is a problem for me - I can deal with not having OFB support, but I need
to know earlier. Is there a list of Cipher / mode combinations, or is there
some call I can use to test for support?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050328/d77ea2bf/attachment.pgp
More information about the Gcrypt-devel