Simo Sorce simo@redhat.com writes:
I am attaching all 3 patches anew as I also fixed the other issues you mentioned in a previous email.
Thanks. I'm about to merge. I've run cross-compile+qemu tests also on big-endian mips, and it seems to work fine.
+@subsubsection @acronym{XTS}-@acronym{AES} interface
+The @acronym{AES} @acronym{XTS} functions provide an API for using the +@acronym{XTS} mode with the @acronym{AES} block ciphers. The parameters +all have the same meaning as the general interface, except that the +@var{enc_ctx}, @var{dec_ctx}, @var{twk_ctx}, @var{encf} and @var{decf} are +replaced with an @acronym{AES} context structure called @var{ctx}, and a +appropriate set-key function must be called before using any of the encryption +or decryption functions in this interface.
+@deftp {Context struct} {struct xts_aes128_ctx} +Holds state corresponding to the AES-128 block cipher. +@end deftp
+@deftp {Context struct} {struct xts_aes256_ctx} +Holds state corresponding to the AES-256 block cipher. +@end deftp
These structs were renamed from _ctx to _key, right?
Regards, /Niels