[openssl/openssl] 4d8a88: rsa: fix bn_reduce_once_in_place call for rsaz_mod...

pauli noreply at reply.github.openssl.org
Thu Jun 23 02:51:58 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 4d8a88c134df634ba610ff8db1eb8478ac5fd345
      https://github.openssl.org/openssl/openssl/commit/4d8a88c134df634ba610ff8db1eb8478ac5fd345
  Author: Xi Ruoyao <xry111 at xry111.site>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M crypto/bn/rsaz_exp_x2.c

  Log Message:
  -----------
  rsa: fix bn_reduce_once_in_place call for rsaz_mod_exp_avx512_x2

bn_reduce_once_in_place expects the number of BN_ULONG, but factor_size
is moduli bit size.

Fixes #18625.

Signed-off-by: Xi Ruoyao <xry111 at xry111.site>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18626)




More information about the openssl-commits mailing list