Crate wolfssl

source ·
Expand description

The wolfssl crate is designed to be a Rust layer built on top of the wolfssl-sys crate (a C passthrough crate).

Structs§

  • Struct for encrypt/decrypt using Chacha20 cipher and authentication using Poly1305
  • A wrapper around a WOLFSSL_CTX.
  • Produces a Context once built.
  • Provides a way to extract random values from WolfSSL.
  • Wraps a WOLFSSL pointer, as well as the additional fields needed to write into, and read from, wolfSSL’s custom IO callbacks.
  • Stores configurations we want to initialize a Session with.

Enums§

Traits§

  • The application provided IO callbacks documented at EmbedRecieve (whose inputs and outputs we need to emulate). See also wolfSSL_CTX_SetIORecv which is the best docs for wolfSSL_SSLSetIORecv and wolfSSL_SSLSetIOSend, which are what we actually use.

Type Aliases§

  • Describes an outcome that is synchronous.