[botan-devel] maximum_keylength

Renato Tegom Forti renato at dokfile.com
Fri Mar 8 09:54:57 EST 2013


         

In this code:

----------------------------------------------------------------------------
--------

std::string algo = "AES-256";

         const BlockCipher* cipher_proto 

            =
global_state().algorithm_factory().prototype_block_cipher(algo);

 

         const u32bit key_len = cipher_proto->maximum_keylength();

----------------------------------------------------------------------------
--------

What is mean "maximum_keylength"? In my code this give me 32! But my algo is
256! There should be 256?

 

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20130308/d7b5d5c2/attachment.html>


More information about the botan-devel mailing list