Home GnuPG

bithelp: add count trailing zero bits variant for RISC-V

Description

bithelp: add count trailing zero bits variant for RISC-V

* cipher/bithelp.h (_gcry_ctz_no_zero): New.
(_gcry_ctz): Use '_gcry_ctz_no_zero'.
* cipher/cipher-internal.h (ocb_get_l): Use '_gcry_ctz_no_zero'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jan 2 2025, 8:17 PM
Parents
rCdf9de2a5e5a8: hwf: add detection of RISC-V (64-bit) hardware features
Branches
Unknown
Tags
Unknown