ni...@lysator.liu.se (Niels Möller) writes:
> I'm not that fond of the struct cbc_aes128_ctx though, which includes
> both (constant) subkeys and iv. So I'm considering changing that to
>
> void
> cbc_aes128_encrypt(const struct aes128_ctx *ctx, uint8_t *iv,
> size_t
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.
>
>
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