Re: [PATCH v2 0/2] Implement AES on ARM using x86 instructions and vv

2023-05-31 Thread Richard Henderson
On 5/31/23 10:08, Richard Henderson wrote: On 5/31/23 09:47, Ard Biesheuvel wrote: On Wed, 31 May 2023 at 18:33, Richard Henderson Thanks.  I spent some time yesterday looking at this, with an encrypted disk test case and could only measure 0.6% and 0.5% for total overhead of decrypt and encry

Re: [PATCH v2 0/2] Implement AES on ARM using x86 instructions and vv

2023-05-31 Thread Richard Henderson
On 5/31/23 09:47, Ard Biesheuvel wrote: On Wed, 31 May 2023 at 18:33, Richard Henderson wrote: On 5/31/23 04:22, Ard Biesheuvel wrote: Use the host native instructions to implement the AES instructions exposed by the emulated target. The mapping is not 1:1, so it requires a bit of fiddling to

Re: [PATCH v2 0/2] Implement AES on ARM using x86 instructions and vv

2023-05-31 Thread Ard Biesheuvel
On Wed, 31 May 2023 at 18:33, Richard Henderson wrote: > > On 5/31/23 04:22, Ard Biesheuvel wrote: > > Use the host native instructions to implement the AES instructions > > exposed by the emulated target. The mapping is not 1:1, so it requires a > > bit of fiddling to get the right result. > > >

Re: [PATCH v2 0/2] Implement AES on ARM using x86 instructions and vv

2023-05-31 Thread Richard Henderson
On 5/31/23 04:22, Ard Biesheuvel wrote: Use the host native instructions to implement the AES instructions exposed by the emulated target. The mapping is not 1:1, so it requires a bit of fiddling to get the right result. This is still RFC material - the current approach feels too ad-hoc, but giv

[PATCH v2 0/2] Implement AES on ARM using x86 instructions and vv

2023-05-31 Thread Ard Biesheuvel
Use the host native instructions to implement the AES instructions exposed by the emulated target. The mapping is not 1:1, so it requires a bit of fiddling to get the right result. This is still RFC material - the current approach feels too ad-hoc, but given the non-1:1 correspondence, doing a pro