Daniel Mendler
1af0de1f91
deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor)
...
* same behavior for positive numbers
* generalisation for negative numbers, treating them as two complement
* improve algorithm, iterate once over the digits, manually perform two complement
* simplify mp_add_d, mp_sub_d
* functions are safe in case of a==c or b==c
* renamed mp_tc_div_2d to mp_signed_rsh (signed right shift)
2019-05-21 18:28:11 +02:00
Daniel Mendler
7365442ace
No grow necessary in mp_set_int* functions
...
* mp_set_int* always return MP_OKAY
* remove return checks for mp_set_int*
* introduce MP_MIN_PREC
2019-05-12 13:04:45 +02:00
Daniel Mendler
0669e92e78
deprecate mp_prime_random_ex in favor of mp_prime_rand
...
We can use the internal mp_rand generator now, since it generates
numbers which are safe for crypto purposes.
2019-05-11 00:48:48 +02:00
czurnieden
db76bed220
added autotuning functionality for the Toom-Cook cut-offs
2019-05-06 23:29:08 +02:00
Daniel Mendler
fbfcb66184
apply rename
2019-04-12 14:56:29 +02:00
czurnieden
35311aea49
added function mp_ilogb
2019-04-09 21:59:59 +02:00
Daniel Mendler
70a30ae7a7
remove footers
2019-04-07 17:26:31 +02:00
czurnieden
984d3ff679
changed seed to make nth-root usable
2019-04-06 22:51:10 +02:00
czurnieden
769218ccc7
additional functions mp_incr and mp_decr
2019-04-04 07:58:19 +02:00
czurnieden
4e138a0e09
added building with ICC
2019-03-01 13:24:49 +01:00
czurnieden
ca78050c58
added building howto for NetBSD
2019-03-01 02:44:58 +01:00
czurnieden
5557301e30
added building howto for NetBSD
2019-03-01 02:40:54 +01:00
czurnieden
346e86edfc
added building howto for OpenBSD
2019-02-28 21:43:37 +01:00
Steffen Jaeckel
e88693f782
fix index
2019-02-17 13:12:07 +01:00
czurnieden
f262343d3e
corrected documentation of mp_complement
2019-02-17 03:55:36 +01:00
Steffen Jaeckel
f9bb011f22
fix doc/bn.tex ... again
...
(cherry picked from commit cb4edc7f29
)
2019-01-17 11:02:32 +01:00
Steffen Jaeckel
20f2b26c15
fix doc/bn.tex
...
(cherry picked from commit e84c094864
)
2019-01-15 18:26:51 +01:00
Steffen Jaeckel
1c8c534885
Merge pull request #147 from czurnieden/moarvm_workarounds
...
workaround for the MoarVM problem with MP_GEN_RAND et al.
(cherry picked from commit 11d6e03914
)
2019-01-15 18:22:23 +01:00
Steffen Jaeckel
d81c3d5f03
fix doc/bn.tex
2018-12-31 11:54:02 +01:00
Steffen Jaeckel
fb07f33dfc
bump version
2018-12-31 11:54:02 +01:00
czurnieden
b19f529c77
Corrected 128 bit entry in bn_mp_prime_miller_rabin_rials.c and extended it slightly
2018-12-25 15:17:12 +01:00
czurnieden
f4449362c0
fixes for MP_8BIT and mx32, prefinal design
2018-12-25 15:17:12 +01:00
czurnieden
8cb2b5e216
Updated documentation to reflect the sudden disappearance of mp_mul_si()
2018-12-25 15:17:12 +01:00
czurnieden
a218ddce9b
Added Fips 186.4 compliance, an additional strong Lucas-Selfridge (for BPSW) and a Frobenius (Paul UNderwood) test, both optional. With documentation.
2018-12-25 15:17:03 +01:00
czurnieden
48c95f2afd
repaired bn.tex
2018-12-12 00:51:10 +01:00
czurnieden
9505280693
added most of the missing doumentation to doc/bn.tex
2018-12-10 10:47:25 +01:00
Steffen Jaeckel
f51249b6aa
clean-up file headers
2018-02-27 23:30:43 +01:00
Steffen Jaeckel
2bf7d3a432
add function name to index
...
This fixes #98
2017-12-18 23:43:26 +01:00
Steffen Jaeckel
a768850525
improve generated output
2017-12-18 23:37:01 +01:00
Francois Perrad
eb0a4b1f93
run perlcritic against booker.pl
2017-12-08 06:49:00 +01:00
Steffen Jaeckel
36ef587709
bump version
2017-08-28 17:04:18 +02:00
Steffen Jaeckel
957f161890
update makefiles
2017-08-28 17:04:18 +02:00
Steffen Jaeckel
afedcd8999
fix docs creation
2017-08-28 17:00:58 +02:00
Steffen Jaeckel
504b3cbde7
add primality figure to doc
2017-08-26 11:12:03 +02:00
Steffen Jaeckel
8a6a892c42
fix manual creation
2017-08-26 11:12:03 +02:00
Steffen Jaeckel
7cc18ffd11
rename/move some files; fix some stuff regarding this
2017-08-26 11:12:03 +02:00
Steffen Jaeckel
141a98931e
fixup install and clean
2017-05-10 11:37:48 +02:00
Steffen Jaeckel
ddddcf2e71
move all documentation to doc/
2017-05-09 14:01:11 +02:00