kr0
|
fe2367290c
|
Enable benchmarkin comparison between mod_inv_impl.
Added `pub` visibility mark to `mod_inverse()`
fn to be able to benchmark it.
|
5 years ago |
kr0
|
79f06be242
|
Finnish kalinski_modular_inverse tests.
All tests are passing and Kalinski Inverse
has been introduced on the code replacing
the last mod_inv implementation.
|
5 years ago |
kr0
|
70d54af4f1
|
Use Lsh impl of BigInt.
Bitshift to the left instead of multiply by 2
since performs ffaster than mul.
|
5 years ago |
kr0
|
bfbe547191
|
[WIP] Implement kalinski modular inverse and tests
Implemented Kalinski Modular inverse algorithm.
See: https://www.researchgate.net/publication/3387259_Improved_Montgomery_modular_inverse_algorithm
Also implemented test for big and small Bignums.
One test is giving results over the Montgomery Domain, so
a little bit of research has to be done.
|
5 years ago |
arnaucube
|
11b4c8ed9f
|
add Rust implementation, reorganize directories
|
5 years ago |
arnaucube
|
9d84e20a5f
|
add html and js to interact with the wasm lib, add server serving wasm lib mime type, wasm wrapper print shares result into document
|
5 years ago |
arnaucube
|
bf57b82e7d
|
add lagrange interpolation js to wasm wrapper and parser of the data struct
|
5 years ago |
arnaucube
|
e988613b63
|
starting WASM wrapper
|
5 years ago |
arnaucube
|
ce2ac4707e
|
add lagrange interpolation to recover secret, add test
|
5 years ago |
arnaucube
|
8a2a9c4399
|
add Create shares from secret with given parameters
|
5 years ago |
arnau
|
19d5a82aee
|
Initial commit
|
5 years ago |