[botan-devel] maximum_keylength

Tim Kettler tim.kettler at udo.edu
Fri Mar 8 10:01:46 EST 2013


32 Byte = 256 Bit

-Tim

Am 08.03.2013 15:54, schrieb Renato Tegom Forti:
> In this code:
>
> ------------------------------------------------------------------------------------
>
> std::stringalgo = "AES-256";
>
> constBlockCipher* cipher_proto
>
>              =
> *global_state*().*algorithm_factory*().*prototype_block_cipher*(algo);
>
> constu32bit 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
>
>
>
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel
>




More information about the botan-devel mailing list