Home
last modified time | relevance | path

Searched hist:dcf5d5603b3af831002caa7b2f64aec8bda14071 (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/factor/
H A Dfactor.cdiff 27234ad6999b760041fc53326268ac86e9fd2e80 Sun May 28 04:16:39 CEST 2023 Enji Cooper <ngie@FreeBSD.org> Fix the build post-dcf5d5603b3af8

I didn't compile test the prior code before committing.

MFC after: 1 week
MFC with: dcf5d5603b3af831002caa7b2f64aec8bda14071
diff dcf5d5603b3af831002caa7b2f64aec8bda14071 Sat May 27 23:07:45 CEST 2023 Enji Cooper <ngie@FreeBSD.org> Reduce ifdef soup by adding pre-3.0 compat support

This change creates a static inline function, BN_check_prime, for
pre-3.0 use which is implemented with the previous (1.1) compatible call
under the covers, `BN_is_prime_ex`.

The `nchecks` parameter value is maintained, even though it has no
noticable behavior change, given that the documentation clearly states
that at least 64 or 128 rounds are executed on the backend, depending on
how many bits there are in the given number being factored out.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40305