embedded-tls
embedded-tls copied to clipboard
An Rust TLS 1.3 implementation for embedded devices.
Hi, I'm working on getting this to compile for MIPS, specifically, [mipsel-sony-psp](https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/mipsel_sony_psp.rs) :smile: I've encountered a couple issues, the first of which was ``` .cflag("--specs=nosys.specs") ``` in the build.rs of...
The atomic-polyfill crates is deprecated and it is recommended that the portable-atomic crate be used instead. (https://github.com/embassy-rs/atomic-polyfill) Is it possible to change to use the portable-atomic crate? ※ Currently, on...
This is a follow-up to https://github.com/drogue-iot/embedded-tls/pull/135 Currently, the `TlsConfig` holds CA, Device Certificate and Private Key in memory, basically for the full lifetime of the TLS connection, even though they...
``` π rustls main ❯ openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout key.pem -out cert.pem -batch cargo run --bin tlsserver-mio -- -p 12345 --certs cert.pem --key key.pem...
We should be able to parametrize embedded-tls to allow replacing software crypto with hardware implementation. This would be a giant perf win on certain MCUs, however, this seems quite a...
Ideally run on GH actions. * Use cargo-call-stack to get the stack usage * binutils size to get static mem usage and flash usage
This PR unifies extension data, i.e. it defines a parse and an encode fn for each of them, as well as adds an associated constant. Later, this PR will define...
Use the read buffer for the handshake process, make the write buffer available for cert verification
This may or may not be safe to do. It depends whether there are any read records that need to live past a response. The server cert is one such...
This was mentioned in https://github.com/drogue-iot/embedded-tls/issues/75#issuecomment-1481369037 but that issue has since been closed.