I checked this diff libressl portable build.
ok inoguchi@
On Sat, Jul 14, 2018 at 02:30:12PM +0200, Theo Buehler wrote:
> As pointed out by jsing, using size_t for nwords would be more
> appropriate for the new internal API BN_swap_ct(). Let's switch to it
> and cast to an int internally after ch
As pointed out by jsing, using size_t for nwords would be more
appropriate for the new internal API BN_swap_ct(). Let's switch to it
and cast to an int internally after checking the size to avoid overflow.
Index: bn/bn_lib.c
===
RCS f