On Fri, Feb 11, 2022 at 5:48 AM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote: > > On Fri, 11 Feb 2022 at 00:28, Nathan Huckleberry <nhuck@xxxxxxxxxx> wrote: > > > > Add hardware accelerated version of XCTR for ARM64 CPUs with ARMv8 > > Crypto Extension support. This XCTR implementation is based on the CTR > > implementation in aes-modes.S. > > > > More information on XCTR can be found in > > the HCTR2 paper: Length-preserving encryption with HCTR2: > > https://eprint.iacr.org/2021/1441.pdf > > > > Signed-off-by: Nathan Huckleberry <nhuck@xxxxxxxxxx> > > --- > > > > Changes since v1: > > * Added STRIDE back to aes-glue.c > > > > NAK. Feel free to respond to my comments/questions against v1 if you > want to discuss this. Oops, I misunderstood the tail block behavior of the CTR implementation and thought it wouldn't work with XCTR mode. I have XCTR mirroring the tail behavior of CTR now. I'll submit it with the v3.