Commit graph

2366 commits

Author SHA1 Message Date
bunnie
c950ac9268 add a 'u32e' backend -- u32 + curve25519 engine 2021-07-10 17:57:19 +08:00
bunnie
b8f968b6e4 make our fix parallel to the patch sent upstream
remove const generics so we don't affect their mininum rust version
requirement
2021-06-29 23:35:02 +08:00
bunnie
279bbc5287 work around compiler bug https://github.com/rust-lang/rust/issues/86693
thanks @xobs for the work-around!
2021-06-29 22:42:47 +08:00
bunnie
1a79b76e90 move microcode to the Xous side of things
minimizing the mount of data movement speeds up operations by
about 2x
2021-06-28 18:31:45 +08:00
bunnie
41cc7c4ab3 accelerate the affine transform in hardware 2021-06-28 04:42:01 +08:00
bunnie
9ffc75dd3c more fixes to try to clean up the build system 2021-06-28 01:27:03 +08:00
bunnie
6ee5e8aeb1 clean up warnings 2021-06-27 03:12:00 +08:00
bunnie
98dfce7ec2 fix remaining configuration warts
builds clealy as a test crate, without any dependency on
xous proper for configurations that don't involve xous.
2021-06-27 03:02:18 +08:00
bunnie
4604066747 fix path 2021-06-27 02:05:15 +08:00
bunnie
ea4bc9b079 attempt to clean up some dependency issues 2021-06-27 01:58:27 +08:00
bunnie
0b748f6365 stash a version of the XousEngine25519 trait in case we want it later 2021-06-27 00:30:26 +08:00
bunnie
0b0cda3118 initial swag at gluing things together
Note: breaks for anyone's build environment but mine!
2021-06-26 13:41:19 +08:00
bunnie
6e2cf5ab43 add macros 2021-06-26 02:11:37 +08:00
bunnie
b4e8accf38 Merge branch 'main' into HEAD 2021-06-20 19:20:06 +08:00
Matteo Monti
29932412f8
Update README.md
Fixes minor typo
2021-05-29 17:38:14 +02:00
François Garillot
893e0506a3
Threads the fiat_{u32,u64}_backend features through the feature set
This allows the fiat backends introduced in [curve25519-dalek/#342](https://github.com/dalek-cryptography/curve25519-dalek/pull/342) to be used from an x25519 import without cumbersome overrides.
2021-05-03 16:31:32 -07:00
François Garillot
c12cf48623
Threads the fiat_{u64,u32}_backend features in the feature set
This allows the fiat backends introduced in
[curve25519-dalek/#342](https://github.com/dalek-cryptography/curve25519-dalek/pull/342)
to be used from an ed25519 import without cumbersome overrides.
2021-05-03 16:26:11 -07:00
isis agora lovecruft
b61831b7cf
Merge pull request #352 from isislovecruft/feature/montgomery-identity
Implement Identity for MontgomeryPoint.
2021-04-21 02:28:12 +00:00
Isis Lovecruft
d7c2a1394f
Add another test for equivalence with the Edwards identity. 2021-04-21 00:06:44 +00:00
Isis Lovecruft
0d8f33153c
Implement Identity for MontgomeryPoint.
This can be used in checks for non-contributory behaviour in protocols
where that is a concern.
2021-04-21 00:02:22 +00:00
Isis Lovecruft
27c73fdb57
Feature gate reusable secrets and make the name more intuitive. 2021-04-20 21:33:32 +00:00
Isis Lovecruft
0a1023f4db
Implement reused secret keys for Noise protocol. 2021-04-14 20:00:41 +00:00
isis agora lovecruft
3d87bd3c7d
Merge pull request #70 from isislovecruft/fix/test-directory
Move tests to a separate directory
2021-04-14 19:53:57 +00:00
Isis Lovecruft
2333b52698
Move tests to a separate directory. 2021-04-14 19:45:36 +00:00
Isis Lovecruft
9e387372e6
Remove unused import from test suite. 2021-04-14 19:33:11 +00:00
isis agora lovecruft
336939cf02
Merge pull request #69 from isislovecruft/feature/zeroize-public
Derive Zeroize for PublicKey
2021-04-14 19:37:58 +00:00
Isis Lovecruft
0cca7977fc
Derive Zeroize for PublicKey. 2021-04-14 19:29:09 +00:00
Isis Lovecruft
fc945778ab
Fixups for doctest from #33. 2021-04-14 05:05:54 +00:00
Isis Lovecruft
cdd97559de
Merge remote-tracking branch 'zer0x64/master' into develop 2021-04-14 04:55:59 +00:00
Isis Lovecruft
9da1401908
Merge branch 'main' into develop 2021-04-14 04:47:45 +00:00
Isis Lovecruft
3bc0d07a09
Merge branch 'release/1.1.1' into main 2021-04-14 04:47:38 +00:00
Isis Lovecruft
f616c8b2c5
Update CHANGELOG and README; bump version to 1.1.1. 2021-04-14 04:38:37 +00:00
Isis Lovecruft
1c39ff92e0
Update copyright years. 2021-04-14 04:32:20 +00:00
Isis Lovecruft
032a14cfa5
Update README to thank more contributors. 2021-04-14 03:05:51 +00:00
Isis Lovecruft
127c9e9060
Bump version to 4.0.0-pre.0. 2021-04-14 02:52:27 +00:00
Isis Lovecruft
9b36bcfc5f
Revert "Maintain legacy 3.x support for lookup tables."
This reverts commit 0da8f08d65.
2021-04-14 02:30:22 +00:00
Isis Lovecruft
53b4ed3098
Update CHANGELOG and README for 4.x alpha. 2021-04-14 02:28:21 +00:00
Isis Lovecruft
c52aeb6bec
Merge remote-tracking branch 'PaulGrandperrin/patch-1' into develop 2021-04-14 02:22:31 +00:00
Isis Lovecruft
1e25ea2e71
Merge branch 'main' into develop 2021-04-14 02:03:18 +00:00
Isis Lovecruft
3e189820da
Merge branch 'release/3.1' into main 2021-04-14 02:03:09 +00:00
Isis Lovecruft
2ea17d554a
Update CHANGELOG and README; bump to 3.1.0. 2021-04-14 01:30:57 +00:00
isis agora lovecruft
5eca140010
Merge pull request #351 from isislovecruft/fix/cleanup-elligator
Trivial cleanups to Elligator2 encoding
2021-04-13 23:31:14 +00:00
isis agora lovecruft
cecc821f40
Merge pull request #342 from huitseeker/fiat4_with_u32
Serial backends w/formally-verified field arithmetic for 32 & 64 bits
2021-04-13 23:23:41 +00:00
isis agora lovecruft
35d4eab431
Merge pull request #349 from huitseeker/modernize_benchmarks
[benchmarks-only] Updates the benchmarks
2021-04-13 22:55:59 +00:00
isis agora lovecruft
b05feec7aa
Merge pull request #350 from isislovecruft/develop
Merge configurably sized basepoint multiplication lookup tables
2021-04-13 22:47:51 +00:00
Isis Lovecruft
0da8f08d65
Maintain legacy 3.x support for lookup tables. 2021-04-13 22:23:34 +00:00
Isis Lovecruft
ee90202a58
Trivial cleanups to Elligator2 encoding.
cf. https://github.com/dalek-cryptography/curve25519-dalek/pull/336
2021-04-13 00:24:50 +00:00
François Garillot
d130b5f17e
[benchmarks-only] Updates the benchmarks
- removes usages fo the (deprecated) `bench_function_over_inputs`
- introduces a few benchmark groups.
2021-03-26 09:18:18 -07:00
isis agora lovecruft
2b541666de
Merge pull request #66 from oblazy/oblazy-patch-voila
Update README.md
2021-03-25 07:56:41 +00:00
Isis Lovecruft
cc0c444fae
Merge branch 'feature/dynamic-table-sizes' into develop 2021-03-25 04:34:08 +00:00