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
fair enough.
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?
Brad
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
fair enough.
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?
Brad