Zach Halvorsen
96af5e81a5
Add more transparency into some EC structures. ( #641 )
...
This adds the ability to create ECDH keys from raw bytes and export
signatures as raw bytes.
2023-08-09 17:48:05 +02:00
kaczmarczyck
5f7eb3177b
Cryptographic Secret type ( #615 )
...
* Adds a type for cryptographic secrets
* default implementations and zeroize documentation
* removes whitespace
2023-04-19 18:02:48 +02:00
kaczmarczyck
be42b47caf
Replaces Rng256 with new Rng API ( #612 )
...
* Replaces the Rng256 with RngCore from rand_core
The old trait was designed with our software crypto in mind. We should
use a more standard API going forward.
- Removes libraries/rng256/
- Ports libraries/crypto/ to rand_core
- Moves the used RNG trait to api/
* Use StdRng directy in TestEnv
2023-04-11 10:23:38 +02:00
kaczmarczyck
c168141b60
Adds a trait for crypto, porting EC first ( #606 )
...
* Adds a trait for crypto, porting EC first
* Moves crypto implementation next to its trait
* Renames constants and types
2023-04-04 13:54:41 +02:00
kaczmarczyck
1b360662ee
Public Key plain byte encoding ( #540 )
...
* public key is encoded in bytes
* ECDSA pubkey in uncompressed format
2022-08-31 15:51:40 +02:00
kaczmarczyck
8979af6ca4
adds Eq to PartialEq ( #477 )
2022-05-05 15:50:28 +02:00
kaczmarczyck
4782d7e186
Separate RNG library ( #470 )
...
* seperates the RNG library
* fixes crypto tests
* adds rng256 workflow
* fixes formatting
2022-04-28 11:36:43 +02:00
Julien Cretin
ce08f82d68
Restrict Sha256 to be used sequentially
...
Also remove useless HashBlockSize64Bytes bound.
2022-01-17 15:36:51 +01:00
kaczmarczyck
b7a3e06cf4
ECDSA signatures and public keys in CTAP ( #358 )
...
* ECDSA signatures and public keys in CTAP
* adds one constant usage
* documents pub functions in ECDSA
* typo: involved
* extends wrong length test
2021-08-04 13:39:49 +02:00
Fabian Kaczmarczyck
371e8b6f35
remove conditional trait implementation
2021-02-02 05:46:03 +01:00
Fabian Kaczmarczyck
2776bd9b8e
new CoseKey data format
2021-01-12 15:11:20 +01:00
Fabian Kaczmarczyck
6f9f833c0b
moves COSE related conversion from crypto to data_formats
2021-01-08 15:42:35 +01:00
Guillaume Endignoux
85a34ad085
Migrate import statements and macros to Rust 2018.
2020-09-24 11:28:24 +02:00
Guillaume Endignoux
9c23c36996
Update the ring dev dependency version.
2020-02-06 16:43:32 +01:00
Guillaume Endignoux
b162b690ba
Decrease the number of tests in debug mode, to account for slower CI on Travis.
2020-02-06 13:41:18 +01:00
Jean-Michel Picod
f91d2fd3db
Initial commit
2020-01-30 11:47:29 +01:00