[Botan-devel] Caching derived keys

Jack Lloyd lloyd at randombit.net
Tue Feb 24 22:10:11 EST 2009


On Sun, Feb 22, 2009 at 11:21:19AM +0000, Magnus Therning wrote:
> That sounds interesting, though in my initial testing I ran into the
> following:
> 
>   RuntimeError: Botan: Invalid algorithm name: AES/EAX/PKCS7
> 
> What can I pass to get_cipher() that would give me something with EAX?

EAX doesn't need a padding mode since for the encryption portion it uses
counter mode. So simply AES/EAX sufficies.

> Maybe there's even a list of all valid combinations that botan accepts?

It is not a complete enumeration (since in particular there are quite
a few block ciphers), but see the section "Cipher Filters" in the
reference manual for some description of this.

-Jack



More information about the botan-devel mailing list