On 02/13/2015 08:49 AM, Markus Stockhausen wrote:
> thanks for the tip. I will at least move the data definitions to the
> beginning of
> my structure.
>
> But while it sounds logical for data types that are directly created from
> that
> structure I'm unsure about a context. If I understand
> Von: linux-crypto-ow...@vger.kernel.org
> [linux-crypto-ow...@vger.kernel.org]" im Auftrag von "Tadeusz Struk
> [tadeusz.st...@intel.com]
> Gesendet: Freitag, 13. Februar 2015 15:47
> An: Markus Stockhausen
> Cc: linux-crypto@vger.kernel.org
> Betreff: Re: A
On 02/11/2015 02:28 AM, Markus Stockhausen wrote:
> I want to ensure that the key data in an AES ctx structure is 8 byte aligned
> to avoid aligment exceptions afterwards. Other fields don't need that
> restriction. At the moment I'm using the following (ugly) implementation.
>
> struct ppc_aes_ct
Hi,
I want to ensure that the key data in an AES ctx structure is 8 byte aligned
to avoid aligment exceptions afterwards. Other fields don't need that
restriction. At the moment I'm using the following (ugly) implementation.
struct ppc_aes_ctx {
u32 rounds;
u32 *key_enc;
u