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 10:00 -0800, H. Peter Anvin wrote:
> On 01/06/2014 09:57 AM, Tim Chen wrote:
> > 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.
> > 
> 
> Aren't the "wide registers" the vector registers?  Or are you also
> relying on 64-bit integer registers (in which case we should just rename
> the file to make it clear it is x86-64 only.)
> 
> 	-hpa
> 
> 

Yes, the code is in the file named aesni_intel_avx.S.  So it should
be clear that the code is meant for x86_64.

Tim

--
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