daxpedda and Kevin Lewi
d1dfee9a65
Add SlowHash configuration ( #234 )
...
* Add `SlowHash` configuration
* Use a reference
* Changing generic argument to be CipherSuite instead of SlowHash
Co-authored-by: Kevin Lewi <[email protected] >
2021-09-02 02:28:21 -07:00
daxpedda
6c7840514d
Fix no_std support ( #229 )
2021-08-16 20:11:53 -07:00
daxpedda and Kevin Lewi
8a7bcf9097
no_std support (#225 )
...
* No std implementation
* Run tests with std
* Adding wasm32-unknown-unknown target
Co-authored-by: Kevin Lewi <[email protected] >
2021-08-11 21:25:07 -07:00
daxpedda
88673d8e05
Separate AKE from OPRF take 2 ( #222 )
...
* Separate AKE from OPRF
Introduce X25519 implementation
* Rename `AkeGroup` to `KeGroup` and `Group` to `OprfGroup`
* Add documentation to "Overview"
2021-08-04 12:24:46 -07:00
daxpedda
10a38bc58b
Merge GroupWithMapToCurve into Group ( #219 )
...
* Merge `GroupWithMapToCurve` into `Group`
* Remove `hash_to_curve`
* Ristretto improvements
* P-256 improvements
2021-08-01 17:48:56 -07:00
daxpedda
a169d8a1c5
Fix small numbers ( #221 )
2021-07-31 16:40:59 -07:00
daxpedda and Kevin Lewi
e491c1b533
P256 implementation ( #213 )
...
* Initial P256 implementation
* Add P256 VOPRF test vectors
* Fix implementation
* Forgot `Cargo.toml` and CI
* Fix MSRV
* Fix MSRV tests
* Remove accidental leftovers
* Document constants
* Use included constant time checks
* Add P-256 VOPRF test vector checks
* Remove unnecessary bound on `CipherSuite::Group`
* P-256 improvement and fixes
* Add OPAQUE test vectors for P-256
* Remove fixed key size for 3DH
* Hide P-256 test vectors behind feature flag
* Split `Group` into modules
* Fix `hash_to_scalar`
* Point to source
* Move constants to `once_cell`
Co-authored-by: Kevin Lewi <[email protected] >
2021-07-30 16:02:02 -07:00
daxpedda and Kevin Lewi
2373ca8680
Increase MSRV to 1.51 ( #217 )
...
* Increase MSRV to 1.51
* Adding MSRV note
Co-authored-by: Kevin Lewi <[email protected] >
2021-07-30 15:36:57 -07:00
dAxpeDDa
42e06e0aff
Fix MSRV
2021-07-30 14:45:27 -07:00
dAxpeDDa
db4e07811e
Implement oprf_key test
2021-07-30 14:45:27 -07:00
dAxpeDDa
a5b9330b63
Improve types and documentation
2021-07-30 14:45:27 -07:00
dAxpeDDa
3f6b6d4afe
Implement client_mac_key test
2021-07-30 14:45:27 -07:00
dAxpeDDa
ec528eb4d9
Implement server_mac_key test
2021-07-30 14:45:27 -07:00
dAxpeDDa
4298deadff
Implement handshake_secret test
2021-07-30 14:45:27 -07:00
dAxpeDDa
49dc5b9050
Implement auth_key test
2021-07-30 14:45:27 -07:00
dAxpeDDa
dcaedc278c
Fix randomized_pwd
2021-07-30 14:45:27 -07:00
dAxpeDDa
460e2aef1c
Fix rustfmt
2021-07-30 14:45:27 -07:00
dAxpeDDa
b90163a007
Add randomized_pwd tests
2021-07-30 14:45:27 -07:00
dAxpeDDa
1ec96e942b
Remove unneeded derives
2021-07-23 15:23:10 -07:00
dAxpeDDa
68d0dd2988
Run rustfmt
2021-07-23 15:23:10 -07:00
dAxpeDDa
b27b29e652
Add documentation for remote key
2021-07-23 15:23:10 -07:00
daxpedda
7b1328b9b7
Add missing documentation
2021-07-23 15:23:10 -07:00
daxpedda
dedc814416
Add test
2021-07-23 15:23:10 -07:00
daxpedda
77461b640d
Add custom ServerSetup construction
2021-07-23 15:23:10 -07:00
daxpedda
4ce61acc6e
Implement custom error type
2021-07-23 15:23:10 -07:00
daxpedda
17b9c49473
Remove breaking change
2021-07-23 15:23:10 -07:00
daxpedda
3d01a605df
Move PrivateKey from CipherSuite to ServerSetup
2021-07-23 15:23:10 -07:00
daxpedda
124d64c9ca
Fix 1.41 compilation
2021-07-23 15:23:10 -07:00
daxpedda
d61e2d0b5c
Introduce PrivateKey associated type to CipherSuite
2021-07-23 15:23:10 -07:00
daxpedda
e5db303dd1
Phantom removed
2021-07-08 18:55:53 -07:00
daxpedda
2955bcf5ac
Replace Vec in Key with GenericArray
2021-07-08 18:55:53 -07:00
daxpedda
93d92133f9
Rustfmt
2021-07-08 18:55:53 -07:00
daxpedda
b4e59cc60e
Change Group::hash_to_curve to return Result
2021-07-08 18:55:53 -07:00
daxpedda
c0e1181cac
Rustfmt
2021-07-08 18:55:53 -07:00
daxpedda
2d9b1d550e
Remove unnecessary clones
2021-07-08 18:55:53 -07:00
daxpedda
ff54d32fdd
Expose expand_message_xmd
2021-07-08 18:55:53 -07:00
daxpedda
52d68d6f77
Constraint Scalar with Copy
2021-07-08 18:55:53 -07:00
daxpedda
dd97a81641
Generic PublicKey and PrivateKey
2021-07-08 18:55:53 -07:00
daxpedda
81b2719587
More missing common traits
2021-06-28 02:06:20 -07:00
daxpedda
f05fcf0278
Expose public key in ClientRegistrationFinishResult
2021-06-28 02:06:10 -07:00
daxpedda
eb59676a94
Implement common traits
2021-06-22 20:46:34 -07:00
daxpedda
48590056ca
Remove Cargo.lock
2021-06-22 14:35:14 -07:00
daxpedda
ed086c9528
Update dependencies
2021-06-22 14:35:14 -07:00
daxpedda
ca50d92f96
Remove scrypt
2021-06-21 12:26:22 -07:00
daxpedda
535b9b8ee4
Argon2 implementation
2021-06-21 12:26:22 -07:00