Commit Graph

6 Commits (2f977dc7dd4f65c56544c99188c271b7cf5f1213)

Author SHA1 Message Date
Aydin Mercan 2f977dc7dd
bearssl, bearssl-sys: `lib.rs` QoL improvements
* Include the crate's `README.md` as the main doc
* Add common lint denies
* Unify multiple allows into one
2022-09-17 15:47:19 +03:00
Aydin Mercan 279f8ac3e4
bearssl/ec: add basic key wrappings 2022-09-17 15:34:40 +03:00
Aydin Mercan f83ea3b50f
bearssl/rsa: zeroize the keys 2022-09-17 15:31:34 +03:00
Aydin Mercan 96e7e0936e
clippy: explicitly allow unactionable lints
* `TlsProfile` is better off sticking to the style used in standards.

* `bearssl-sys` bindings can't be annotated with safety as they are
  autogenerated and have the same safety properties with the library
  itself.
2022-09-06 22:30:14 +03:00
Aydin Mercan 14d4569001
engine/tls: basic start and replace sslio
* I believe working around `br_sslio_*` isn't worth the effort as the
  same functionality can be done manually with `*_buf` + `*_ack` which
  is used by sslio internally. This will especially be useful when
  wrapping Write/Read traits in std.

* Since both server and client contextes use `br_ssl_engine_context`,
  writing the routines for it removes a lot of future headaches. The
  engines shouldn't be used directly but will be exposed anyway for
  special cases and for having more discoverable errors.
2022-09-06 22:22:05 +03:00
Aydin Mercan eca97f9f0b
initial commit
* The `bearssl-sys` crate is basically usable at this point.
* The `bearssl` crate itself needs a lot work before being usable. The
  design needs heavy iterations, considerationg and love.
2022-09-03 17:32:07 +03:00