Commit graph

318 commits

Author SHA1 Message Date
David Kotval
9b5b0c5502 wip: fix dependencies so tests can build 2024-03-02 14:35:38 -06:00
David Kotval
55c5a33411 Merge remote-tracking branch 'upstream/main' into update_to_v4 2023-12-13 17:45:20 -06:00
pinkforest
6e422d96d7
Re-organize Cargo manifests to workspace 2023-06-28 09:38:06 +00:00
pinkforest
bf0e37d3ed
Workspace x25519 under x25519-dalek 2023-06-27 04:09:32 +00:00
pinkforest(she/her)
8613b5a809
chore: Release 2.0.0-rc.3 (#128)
* chore: Release 2.0.0-rc.3

* cargo update -p curve25519-dalek

* Added note about backends

* Fixed docs broken link

---------

Co-authored-by: Michael Rosenberg <michael@mrosenberg.pub>
2023-06-23 23:54:38 -04:00
Michael Rosenberg
25fa593df2
Update to new Scalar API (#120)
* Updated to new curve25519 scalar API

* Removed clamping from constructors; clamping is always done during scalar-point multiplication

* Updated test to reflect new functionality

* Updated changelog
2023-03-31 16:58:35 -04:00
pinkforest(she/her)
cccf389467
chore: Release 2.0.0-rc.2 (#123) 2023-03-31 13:53:51 -04:00
pinkforest(she/her)
84158337af
Make static_secrets optional (#122)
* Make `static_secrets` optional

* Added more feature combinations to CI
2023-03-31 13:34:03 -04:00
pinkforest(she/her)
02a5ce20ca
Add getrandom (#118)
* Add getrandom to bring convenience random init functions

* Fix doc name

* Rename new to random_from_rng

* Deprecate new() in favor of random_from_rng()

* Simplify constructors documentation

Co-authored-by: Ciprian Dorin Craciun <ciprian@volution.ro>
2023-03-21 01:40:51 -04:00
Tony Arcieri
6aabb9bf08
Merge pull request #119 from pinkforest/fix-no_std
Fix `no std` by moving `get_random` feat dev-deps
2023-03-20 19:05:42 -06:00
pinkforest
4b6c61c111
Correct crate name 2023-03-12 16:49:18 +11:00
pinkforest
281fab6af0
Fix docsrs 2023-03-12 16:45:37 +11:00
pinkforest
f3c46bc3bf
Remove redundant feature 2023-03-12 15:27:53 +11:00
pinkforest
fdc992d6cd
Fix no_std with get_random 2023-03-12 14:18:07 +11:00
Michael Rosenberg
88cc32b687
Updated to curve25519-dalek rc0 2023-01-29 04:29:07 -05:00
dignifiedquire
cf56e789ed bump MSRV to 1.60 and update to current curve25519-dalek 2022-12-09 15:35:49 +01:00
bunnie
b8f71e85d1
Update Cargo.toml 2022-03-22 22:16:10 +08:00
bunnie
0fceb83717
Update Cargo.toml 2022-03-22 22:01:22 +08:00
bunnie
a77d53829a Merge remote-tracking branch 'dalek/release/3.2' into main 2022-03-09 21:36:05 +08:00
Isis Lovecruft
29e5c29b0e
Bump curve25519-dalek version to 3.2.1. 2022-02-16 21:21:05 +00:00
Isis Lovecruft
f7381ac64c
Pin zeroize dependency to >=1, <1.4 to relax bounds for downstreams.
As suggested by @tarcieri in #362. See also commit b6a7406.
2022-02-16 20:52:33 +00:00
Isis Lovecruft
b6a7406c73
Pin zeroize dependency to =1.3.0 to maintain MSRV 1.41. 2022-02-01 23:29:41 +00:00
Isis Lovecruft
73d4c2fe93
Update x25519-dalek version to 2.0.0-pre.1. 2021-09-23 19:53:44 +00:00
Isis Lovecruft
841b3a65de
Relax version constraints for zeroize dependency. 2021-09-23 19:08:11 +00:00
Isis Lovecruft
9d7bccbd8e
Bump x25519-dalek version to 2.0.0-pre.0. 2021-09-15 01:07:48 +00:00
Isis Lovecruft
6be61f178b
Remove unnecessary rand_core getrandom feature. 2021-09-15 00:16:58 +00:00
isis agora lovecruft
e870a3d8d6
Merge pull request #64 from PaulGrandperrin/patch-1
Update rand_core to 0.6
2021-09-15 00:06:49 +00:00
Isis Lovecruft
ea047a218f
Bump x25519-dalek version to 1.2. 2021-09-14 23:08:36 +00:00
isis agora lovecruft
b6f7de1e4c
Merge pull request #71 from isislovecruft/feature/noise-secrets
Implement reused secret keys for Noise/X3DH/etc protocols
2021-09-14 22:47:04 +00:00
Isis Lovecruft
a32a92798a
Get rid of the include_str!() docs to support earlier MSRVs. 2021-09-13 22:37:52 +00:00
Isis Lovecruft
adbd0e37a4
Pin zeroize to 1.3 for now to support older MSRVs.
I reserve the right to change this between minor version changes in x25519-dalek.

This closes https://github.com/dalek-cryptography/x25519-dalek/issues/74
2021-09-13 21:45:08 +00:00
isis agora lovecruft
bf4c67a11b
Merge pull request #72 from huitseeker/thread-fiat-backends
Threads the `fiat_{u32,u64}_backend` features through the feature set
2021-09-13 21:25:03 +00:00
Sean Cross
93538aab36 cargo: use consistent package rev for engine25519-as
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:05:35 +08:00
Sean Cross
859eb04005
Cargo: update engine25519-as git version
Update to a new git version that supports the `Xous` target_os.
2021-08-18 17:59:46 +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
9ffc75dd3c more fixes to try to clean up the build system 2021-06-28 01:27:03 +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
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
Isis Lovecruft
27c73fdb57
Feature gate reusable secrets and make the name more intuitive. 2021-04-20 21:33:32 +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
2ea17d554a
Update CHANGELOG and README; bump to 3.1.0. 2021-04-14 01:30:57 +00:00