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

pauli noreply at reply.github.openssl.org
Thu Jun 23 02:52:28 UTC 2022

  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: a1f7034bbd8f0730d360211f5ba0feeaef0b7b2c
  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)

(cherry picked from commit 4d8a88c134df634ba610ff8db1eb8478ac5fd345)

More information about the openssl-commits mailing list