Ryan Heywood
64315676f8
update hashbrown to 0.15
2024-11-16 19:39:32 -05:00
Ryan Heywood
4faab1cd33
blahaj::math: increase allowable polynomial coefficients to maximum
...
The previously existing polynomial coefficients had an inverse bias
towards `0`, only starting higher than `1`. This allows `0` to be a
valid polynomial.
As per an audit performed by Cure53:
> The correct method to select a random polynomial would be to select
all coefficients (including the most significant coefficient) uniformly
in the range 0..255 (inclusive). Otherwise, knowledge that a coefficient
in a polynomial cannot be 0 permits the exclusion of single byte values
for the shared secret given one share less than required. [...]
Exploiting this weakness necessitates sharing the same secret multiple
times. In this scenario, an attacker could exclude an exponential number
of values for each of the shared bytes until sufficiently few values
remain for brute forcing. Cure53 estimates that under ideal
circumstances (e.g., a 2-out-of-N scheme) a shared secret can be
reconstructed if the same secret has been distributed 500-1500 times.
2024-11-16 19:26:26 -05:00
Ryan Heywood
f10fef2c88
blahaj::math: make clippy happy
2024-11-16 19:18:43 -05:00
Ryan Heywood
de314fed2c
soft fork, rename to blahaj
2024-11-16 19:11:25 -05:00
Aitor Ruano
e7e23ba899
0.4.3 -> 0.5.0
2021-03-14 18:06:00 +01:00
Garrett T
775333fe17
Add Zeroize to Share and GF256 ( #19 )
...
* Add Zeroize crate to project behind a default feature flag
Closes https://github.com/c0dearm/sharks/issues/8
* Switch match to Clone to add zeroize(drop)
* Add zeroize(drop) to Share
Co-authored-by: Aitor Ruano <45633475+c0dearm@users.noreply.github.com>
2021-03-14 17:56:20 +01:00
Garrett T
1f86cadf23
Add Apple M1 arm as a benchmark ( #18 )
2021-03-14 17:35:43 +01:00
Aitor Ruano
b1e7a5b1e1
bump to version 0.4.3
2021-02-04 10:15:03 +01:00
Benoît C
5505a0c42c
Update dependencies ( #17 )
...
Co-authored-by: Benoît CORTIER <benoit.cortier@fried-world.eu>
2021-02-04 10:11:43 +01:00
Aitor Ruano
af4f469da9
bump version
2020-08-03 10:33:50 +02:00
DCsunset
69428361ba
fix: show TryFrom trait import in doc ( #16 )
2020-08-03 10:30:43 +02:00
zer0x64
5b798ab016
Add fuzzers ( #14 )
...
Improved lib stability using fuzzers for testing
2020-04-24 08:10:40 +02:00
Kitsu
31c8cb7650
Support no_std ( #13 )
...
* feat: support no_std
* simplify rng usage, update tests, upgrade version to 0.4
* fix workflow no-std test
* unignore doc-tests
* refactor tests
Co-authored-by: Aitor Ruano <codearm@pm.me>
2020-04-02 13:45:01 +02:00
Aitor Ruano
eb05d00080
upgrade version
2020-03-23 15:16:43 +01:00
Aitor Ruano
912fef96b1
fix codecov badge
2020-03-23 15:14:18 +01:00
zer0x64
f7b0526c0e
Derived Clone for Share ( #12 )
...
* Derived Clone for Share
* Bumped version
2020-03-11 09:45:20 +01:00
zer0x64
391edbd7da
Interpolate Now Takes Any IntoIterator ( #9 )
...
* interpolate now takes an IntoIterator
* simplify generic types, update docs, revert interpolate parameter types
* update version strings
Co-authored-by: Aitor Ruano <45633475+c0dearm@users.noreply.github.com>
2020-02-27 10:52:04 +01:00
Thomas Santerre
09586ab512
Add benchmark result from i7-8565u ( #11 )
...
* Add benchmark result from i7-865u
* Re-run bench, reduced background processes.
2020-02-06 14:54:00 +01:00
Aitor Ruano
c1409430f7
Update README.md
2020-01-24 10:58:09 +01:00
Aitor Ruano
105d02b086
Update and rename ci.yml to rust.yml
2020-01-24 10:53:54 +01:00
Aitor Ruano
80b4a11821
Delete sec.yml
2020-01-24 10:52:54 +01:00
Aitor Ruano
b009792b7a
Create sec.yml
...
Check for vulnerabilities on dependencies
2020-01-24 10:46:27 +01:00
Aitor Ruano
8af129205c
Create codecov.yml
2020-01-23 16:04:17 +01:00
Aitor Ruano
1b35f6d8dd
Remove coverage artifact generation
2020-01-22 17:02:40 +01:00
Aitor Ruano
0dfd3b2398
add coverage badges to readme and cargo.toml
2020-01-22 17:00:27 +01:00
Aitor Ruano
19724473de
Add coverage report to CI
2020-01-22 16:52:59 +01:00
Aitor Ruano
ba43caf87a
Update package version in README
2020-01-22 15:17:50 +01:00
zer0x64
3489574840
Added Share Serialization and Created Share Struct ( #2 )
...
* Added share serialisation and created Share struct
Co-authored-by: Aitor Ruano <45633475+c0dearm@users.noreply.github.com>
2020-01-22 15:01:35 +01:00
Aitor Ruano
5344dda94b
changed arithmetic to GF256, unlimited secret length, updated docs ( #1 )
2020-01-21 10:09:20 +01:00
Aitor Ruano
a3e43f373a
Fixed changelog order
2020-01-13 13:02:35 +01:00
Aitor Ruano
cdfdde452e
update changelog
2020-01-13 12:35:40 +01:00
Aitor Ruano
fce9fbb0a4
remove cargo maintanance badges
2020-01-13 12:33:38 +01:00
Aitor Ruano
6bbc2e3ddd
fix typo in cargo description
2020-01-13 12:32:47 +01:00
Aitor Ruano
b9acb15a25
Add badges
2020-01-13 12:29:00 +01:00
Aitor Ruano
7b6a7f4e86
Add continuous integration
2020-01-13 12:01:10 +01:00
Aitor Ruano
d6c7a6be9e
Written readme, improved documentation, added changelog and copyright
2020-01-13 11:42:59 +01:00
Aitor Ruano
90c7382c17
initial commit
2020-01-10 17:08:30 +01:00