Julien Cretin
d47ca7fa54
Add documentation
2022-01-26 11:05:02 +01:00
Julien Cretin
b59df7001f
Remove the software-specific Decrypt16BytesBlock and Encrypt16BytesBlock traits
...
They assume blocks are encrypted/decrypted one at a time. To avoid one syscall
per block, it is preferable to encrypt/decrypt the data at once.
Change-Id: I795c8f5b7901a1b55fa3b06fa45fe57ab19d06ea
2022-01-26 11:05:02 +01:00
kaczmarczyck
98c9191679
HMAC: only 32 byte keys ( #424 )
...
* only support HMAC with 32 byte keys
* includes HMAC in the trait to be generic
* re-added HAMC test
2022-01-18 13:14:11 +01: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
kaczmarczyck
eb0a0770dd
adds the PIN protocol trait ( #292 )
...
* adds the PIN protocol trait
* improved documentation
* SharedSecret not mutable
2021-03-10 13:20:29 +01:00
kaczmarczyck
5e9c32dff5
HKDF for CTAP2.1 ( #290 )
...
* implements hkdf, both regular and FIDO specific
* improved documentation
* constant usage in function return type
2021-03-03 16:33:25 +01: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
5511811703
Fix most Clippy warnings.
2020-09-29 11:05:24 +02:00
Guillaume Endignoux
85a34ad085
Migrate import statements and macros to Rust 2018.
2020-09-24 11:28:24 +02:00
Guillaume Endignoux
b30b88156a
Update libraries/ to the new libtock.
2020-08-07 15:09:07 +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