CBC-AES (was: Re: [S390x] Optimize AES modes)

2021-09-13 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: > I've also added a cbc-aes128-encrypt.asm. > That gives more significant speedup, almost 60%. I think main reason for > the speedup is that we avoid reloading subkeys between blocks. I've continued this path, see branch aes-cbc. The aes128 variant is a

Re: CBC-AES (was: Re: [S390x] Optimize AES modes)

2021-09-19 Thread Maamoun TK
On Mon, Sep 13, 2021 at 5:08 PM Niels Möller wrote: > ni...@lysator.liu.se (Niels Möller) writes: > > > I've also added a cbc-aes128-encrypt.asm. > > That gives more significant speedup, almost 60%. I think main reason for > > the speedup is that we avoid reloading subkeys between blocks. > > I'v