Commit graph

2391 commits

Author SHA1 Message Date
Isis Lovecruft
396d26e463
Merge branch 'develop' into release/4.0 2021-08-03 23:06:58 +00:00
Isis Lovecruft
a7f4f0ec14
Merge branch 'develop' into release/3.2 2021-08-03 23:04:34 +00:00
Isis Lovecruft
9f93a5c0f5
Merge branch 'main' into develop 2021-08-03 22:53:58 +00:00
Isis Lovecruft
061da49640
Merge branch 'release/3.1.1' into main 2021-08-03 22:53:37 +00:00
Isis Lovecruft
b9710d59f2
Minor documentation fixes. 2021-08-03 22:49:09 +00:00
gbaranski
c5fb932561 fix: stop forbidding unsafe in tests 2021-08-01 19:28:40 +02:00
gbaranski
d94b0f52dc fix: remove rust-analyzer breaking line 2021-08-01 18:29:28 +02:00
Isis Lovecruft
f8cb7197f9
Fix error introduced in 59a8616 merge. 2021-07-20 03:22:27 +00:00
Isis Lovecruft
fccc5d54f8
Bump version for html_root_url. 2021-07-20 02:56:44 +00:00
Isis Lovecruft
49146274db
Fix a typo in Cargo.toml documentation. 2021-07-20 02:56:28 +00:00
Isis Lovecruft
1391211f06
Update CHANGELOG for 3.1.1. 2021-07-20 02:56:07 +00:00
Isis Lovecruft
59a8616e7a Release curve25519-dalek version 3.0.3.
-----BEGIN PGP SIGNATURE-----
 
 iQB1BAAWCAAdFiEEOy1KvpA7Nj5/r96Eq0ExNTPo6BIFAmD2LGkACgkQq0ExNTPo6BJcpQD9HeDu
 PNtHRcAA6/OI1rko+PNScTUa4wRFJ9nIov8lXJwA/i/c2k0MX3Gms55wjWhdaTrFgsC+m+6F/Cmq
 xChOaPUN
 =L+SN
 -----END PGP SIGNATURE-----
 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQB1BAAWCAAdFiEEOy1KvpA7Nj5/r96Eq0ExNTPo6BIFAmD2OpIACgkQq0ExNTPo6BLEHwEAk4Ax
 pUxJ1axcVriU3CrQANmvfJafSUU1HvUF/15HA70A/3uVJUzT5vDdb0CKNhFtar3as/zZw+pimcXb
 KvnrB54G
 =6fZN
 -----END PGP SIGNATURE-----
 

Merge tag '3.0.3' into release/3.1.1

Release curve25519-dalek version 3.0.3.
2021-07-20 02:53:03 +00:00
Isis Lovecruft
dc19aa2aaf
Add CHANGELOG entry for 3.0.3. 2021-07-20 01:50:30 +00:00
Isis Lovecruft
b0abd7a84b
Add missing CHANGELOG entry for 3.0.2. 2021-07-20 01:50:16 +00:00
Isis Lovecruft
6ea874cb31
Bump curve25519-dalek version to 3.0.3. 2021-07-13 06:44:49 +00:00
Isis Lovecruft
dc87de0073 Release curve25519-dalek version 2.1.3.
-----BEGIN PGP SIGNATURE-----
 
 iQB1BAAWCAAdFiEEOy1KvpA7Nj5/r96Eq0ExNTPo6BIFAmDtLDQACgkQq0ExNTPo6BJG2QEAqYkN
 LL4I8XGFs7HiaUmafT5ROWh3J+tl6+1F0dxDfAwA/2N7TFpuBr9Ij9xL9Z1QOxO5Tj3A2pcTsbg3
 f4i/D30B
 =MsLB
 -----END PGP SIGNATURE-----
 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQB1BAAWCAAdFiEEOy1KvpA7Nj5/r96Eq0ExNTPo6BIFAmDtMT4ACgkQq0ExNTPo6BJoJQD+PHTb
 ol7DCvSX4zr5WP38vrf5kvqg++90SGR0b6rZKxMBAMi1gpV0kaVNsY31bJSVBD89Qi+jcZXcxqkI
 PwVovFAI
 =U/np
 -----END PGP SIGNATURE-----
 

Merge tag '2.1.3' into HEAD

Release curve25519-dalek version 2.1.3.
2021-07-13 06:22:52 +00:00
Isis Lovecruft
ff25109f25
Bump curve25519-dalek version to 2.1.3. 2021-07-13 05:57:44 +00:00
Isis Lovecruft
233130c55b
Update README with changes for 2.1.3. 2021-07-13 05:49:53 +00:00
Isis Lovecruft
1bacc6f95f
Update CHANGELOG for 2.1.2. 2021-07-13 05:47:26 +00:00
Isis Lovecruft
43e454ce1d
Fix documentation build errors due to doc(inlude) on nightly. 2021-07-13 05:40:28 +00:00
Isis Lovecruft
1ee5c4defb
Update CHANGELOG and bump version to 3.2. 2021-07-13 05:32:36 +00:00
bunnie
c0ee5bf18c Revert "work around compiler bug https://github.com/rust-lang/rust/issues/86693"
turns out we just needed to align $sp to 16-byte boundaries

This reverts commit 279bbc5287.
2021-07-11 17:37:15 +08:00
bunnie
beea1311bf redirect utralib to a stand-in for patching 2021-07-11 02:09:46 +08:00
bunnie
03e91fefce finish u32e_backend variant for bootloader use 2021-07-11 02:03:00 +08:00
bunnie
053d65f3a7 commit a debug branch 2021-07-10 23:46:48 +08:00
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