NilFoundation / boost-multiprecision

Cryptography purposes-enhanced =nil; Foundation's fork of Boost.Multiprecision
0 stars 2 forks source link

Implement modular arithmetics adaptor #2

Open nemothenoone opened 5 years ago

nemothenoone commented 5 years ago

Modular arithmetics is required for the further extension of library applicability.

SK0M0R0H commented 3 years ago

Wrong naming (supposed to be eval_barrett_reduce).

Luannet commented 3 years ago

The function eval_get_sign() have to return 0 for zero number.

SK0M0R0H commented 3 years ago

modular_adaptor invariant suppose that base_data contains only non-negative numbers. For that, constructors have to verify input.