[botan-devel] How to get Cipher_Dir in BlockCipher?

Jack Lloyd jack.lloyd at gmail.com
Fri Apr 14 09:07:37 EDT 2017


There is no direction for BlockCipher, if you call `set_key` it sets
up both encryption and decryption key schedules (assuming they are
different),
and then calls to either `encrypt` and `decrypt` on the same object do
what you would expect.

On Fri, Apr 14, 2017 at 4:25 AM, Jeffrey Walton <noloader at gmail.com> wrote:
> Hi Everyone,
>
> I need to learn the Cipher_Dir [1] in a BlockCipher [2].
>
> How does one do that?
>
> Thanks in advance.
>
> Jeff
>
> [1] https://botan.randombit.net/doxygen/namespaceBotan.html#ad9d14ffdc73fc19966421979b32ee759
> [2] https://botan.randombit.net/doxygen/classBotan_1_1BlockCipher.html
> _______________________________________________
> 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