On Fri, May 07, 2021 at 07:57:01AM +0200, Kestrel seventyfour wrote: > Hi, > > I have also added xts aes on combining the old hardware cbc algorithm > with an additional xor and the gfmul tweak handling. However, I > struggle to pass the comparision tests to the generic xts > implementation. XTS can't be built on top of CBC, unless you only do 1 block at a time. It can be built on top of ECB, which is what the template already does. Before getting too far into your questions, are you sure that what you're trying to do actually makes sense? - Eric