sinuio
d3f123710b
rename module to crypto
2022-06-15 16:57:34 -07:00
sinuio
3a15db1a04
use new trait
2022-06-15 16:57:34 -07:00
sinuio
66ed4b646c
ignore warnings in key log tests
2022-06-15 16:57:34 -07:00
sinuio
b25643e132
remove unused import, expose cipher modes, change Crypto trait
2022-06-15 16:57:34 -07:00
sinuio
452db97dd2
consolidate traits, convert functions to fallible, and remove recursion
2022-06-15 16:57:34 -07:00
Dan
ce66d2c419
KOS15 check ( #29 )
...
* KOS15 check
* prost->core try_into
misc rename
* add new states
replace unwrap
* fix xor()
* add clmul crate
* remove debug info
* add license file
* replace unwrap with match
* move emptool ref clmul128 into clmul.rs to avoid cfg_if in lib.rs
test all backends from lib.rs
* idiomatic error assert in tests
* 6x speed up with clmul_reuse. add benchmarks
* simplify autodetection logic
* resolve endianness issue
* add a dummy "tests" dir to make mod tests happy
* fix path
* add MIT license and README
Co-authored-by: themighty1 <you@example.com >
Co-authored-by: sinuio <>
2022-06-15 12:27:41 -07:00
sinuio
d396755886
remove resolver
2022-06-14 23:19:48 -07:00
sinuio
2d59054928
update README
2022-06-14 23:18:44 -07:00
sinuio
3cfca2fa53
rename file
2022-06-14 23:17:17 -07:00
sinuio
34ceea075e
rename prover to requester
2022-06-14 23:10:50 -07:00
sinuio
0232af9aa6
disable deadcode warnings for WIP crates
2022-06-14 22:50:22 -07:00
sinuio
604afc68b7
allow dead code
2022-06-14 22:50:22 -07:00
sinuio
8bf4e15dde
fix warnings, allow deadcode for now
2022-06-14 22:50:22 -07:00
sinuio
a490674b81
more boilerplate
2022-06-14 22:50:22 -07:00
sinuio
93c3191dd6
remove sync trait bound
2022-06-14 22:50:22 -07:00
sinuio
e06a755918
expose encrypt/decrypt traits
2022-06-14 22:50:22 -07:00
sinuio
1e5341c990
comments for handshake trait
2022-06-14 22:50:22 -07:00
sinuio
2148300e37
expose Handshake trait
2022-06-14 22:50:22 -07:00
sinuio
1795820671
add protocol version and cipher suite signals to handshake trait
2022-06-14 22:50:22 -07:00
sinuio
328f675882
initial work on protocol
2022-06-14 22:50:22 -07:00
sinuio
de0c3bb0ae
remove tls-aio
2022-06-14 22:50:22 -07:00
sinuio
9f99468595
rename common to core
2022-06-14 22:50:22 -07:00
sinuio
a57749a48f
small fixes
2022-06-14 22:50:22 -07:00
sinuio
997d41e095
update workspace
2022-06-14 22:50:22 -07:00
sinuio
9a25ab9677
rename tls-aio to tls-2pc-aio
2022-06-14 22:50:22 -07:00
sinuio
d824d0c927
move traits back into tls-client
2022-06-14 22:50:22 -07:00
sinuio
98b60805e7
further refactoring, client builds
2022-06-14 22:50:22 -07:00
sinuio
98255cb4b1
move 2pc tls components into tls-2pc-core
2022-06-14 22:50:22 -07:00
sinuio
8bf8752589
client builds again
2022-06-14 22:50:22 -07:00
sinuio
5f36ba00a0
update tls-core and -aio
2022-06-14 22:50:22 -07:00
sinuio
98391d58b5
fix InvalidHandshaker
2022-06-14 22:50:22 -07:00
sinuio
ac36837ffc
update handshake trait
2022-06-14 22:50:22 -07:00
sinuio
e1f7e1d306
handshake trait and tls13
2022-06-14 22:50:22 -07:00
sinuio
04d08ec60f
migrate MessageEncrypter and MessageDecrypter traits to tls-aio
2022-06-14 22:50:21 -07:00
sinuio
e428db6163
rename package to tls-client
2022-06-14 22:50:21 -07:00
sinuio
1a9f829430
clean up unused imports
2022-06-14 22:50:21 -07:00
sinuio
eebf89a93e
clean up unused imports
2022-06-14 22:50:21 -07:00
sinuio
0ed5dc18ef
migrated some core components to core crate
2022-06-14 22:50:21 -07:00
sinuio
7d4caa63e2
prefix unused cx
2022-06-14 22:50:21 -07:00
sinuio
f786dfce1f
convert traits to async, remove message borrowing
2022-06-14 22:50:21 -07:00
sinuio
6886158c69
initial work on handshaker abstraction
2022-06-14 22:50:21 -07:00
sinuio
a58f2c5e5b
add Initialized state, rather than immediately starting hs
2022-06-14 22:50:21 -07:00
sinuio
2fa639f132
crate structure
2022-06-14 22:50:21 -07:00
sinuio
a97f6f8354
temp allow dead code
2022-06-14 22:50:21 -07:00
sinuio
809cefce59
protocol crates
2022-06-14 22:50:21 -07:00
sinuio
a7da545f1a
fix dep
2022-06-14 22:50:21 -07:00
sinuio
95c4997ef4
remove stream interface for now
2022-06-14 22:50:21 -07:00
sinuio
d8b5375625
remove obsolete benchmark
2022-06-14 22:50:21 -07:00
sinuio
236e222ed7
tests pass
2022-06-14 22:50:21 -07:00
sinuio
84d9265d84
builds
2022-06-14 22:50:21 -07:00