Re: [PATCH v1] crypto: aesni - fix build on x86 (32bit)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-01-06 at 09:45 -0800, H. Peter Anvin wrote:
> Can the code be adjusted to compile for 32 bit x86 or is that pointless?
> 

Code was optimized for wide registers.  So it is only meant for x86_64.

Tim

> Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx> wrote:
> >
> >
> >On Mon, 2013-12-30 at 15:52 +0200, Andy Shevchenko wrote:
> >> It seems commit d764593a "crypto: aesni - AVX and AVX2 version of
> >AESNI-GCM
> >> encode and decode" breaks a build on x86_32 since it's designed only
> >for
> >> x86_64. This patch makes a compilation unit conditional to
> >CONFIG_64BIT and
> >> functions usage to CONFIG_X86_64.
> >
> >Thanks for catching and fixing it.
> >
> >Tim
> >> 
> >> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux