Commit Graph

12 Commits (main)

Author SHA1 Message Date
Aydin Mercan d5a61e4bbe
bearssl(-sys): random changes while busy
- bump dependencies
- bump MSRV to 1.65
- remove bad layouts
2022-12-03 16:13:51 +03:00
Aydin Mercan 8d5a9f7a16
bearssl(-sys): bump msrv to 1.65 2022-11-05 16:10:37 +03:00
Aydin Mercan bd4230a01c
bearssl(-sys): bump dependencies 2022-10-30 16:08:43 +03:00
Aydin Mercan 82d272cdb8
bearssl(-sys): update libc 2022-10-06 20:22:52 +03:00
Aydin Mercan 70495f7fdc
bearssl(-sys): update msrv to 1.64
* `core::ffi` types are stable and thus libc isn't used where
`sizeof uintptr_t == sizeof size_t`
2022-09-25 14:00:57 +03:00
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 5aefc84f40
readme, cargo: document and categorize more
* Reduce the version of `bearssl` to 0.0.2 to increment minimally from
  the existing crate.
* Add an overview README for a high level description.
* Add crate tags and categories for easier discoverability in the
  future.
2022-09-03 17:54:21 +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