Re: [PATCH] cipher:riscv: gate Zvkned AES backend on VLEN == 128

Michael Neuling <[email protected]> Wed, 6 May 2026 19:51:34 +1000
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <CAEjGV6yJwXVk8WRf9PMtu0xx9oRfs=LE0cucdxbjtjeMO-0mMA@mail.gmail.com>
Jussi,

> Thanks for checking this out and for the reproducer. I tested with clang
> and same problem persists, __riscv_vset_v_u32m1_u32m4 usage must be
> wrong. I'll check for proper fix.

Thanks! I'm happy to test if you have something.

If it helps, Claude had a go at a fix that works for me:
  https://github.com/mikey/libgcrypt/commit/c22ff9747c4e7b8b77360eb29b7a8cd91cee1a00

Mikey