On Thu, Mar 11, 2010 at 12:15:10PM -0800, Andrew Morton wrote:
>
> > + movq TCTR_LOW, INC
> > + movq CTR, TCTR_LOW
>
> ^^ these two lines don't assemble with gas 2.16.1:
>
> arch/x86/crypto/aesni-intel_asm.S: Assembler messages:
> arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix or operan
On Mon, 01 Mar 2010 14:14:36 +0800
Huang Ying wrote:
> To take advantage of the hardware pipeline implementation of AES-NI
> instructions. CTR mode cryption is implemented in ASM to schedule
> multiple AES-NI instructions one after another. This way, some latency
> of AES-NI instruction can be el
On Mon, Mar 01, 2010 at 02:14:36PM +0800, Huang Ying wrote:
> To take advantage of the hardware pipeline implementation of AES-NI
> instructions. CTR mode cryption is implemented in ASM to schedule
> multiple AES-NI instructions one after another. This way, some latency
> of AES-NI instruction can
To take advantage of the hardware pipeline implementation of AES-NI
instructions. CTR mode cryption is implemented in ASM to schedule
multiple AES-NI instructions one after another. This way, some latency
of AES-NI instruction can be eliminated.
Performance testing based on dm-crypt should 50% red