Crate rosenpass

source ·

Modules

  • Types types for dealing with (secret-) values
  • Pseudo Random Functions (PRFs) with a tree-like label scheme which ensures their uniqueness
  • Data structures representing the messages going over the wire
  • Traits and implementations for Key Encapsulation Mechanisms (KEMs)
  • Implementation of the tree-like structure used for the label derivation in labeled_prf
  • Module containing the cryptographic protocol implementation
  • Bindings and helpers for accessing libsodium functions
  • Helper functions and macros

Macros

  • Try block basically…returns a result and allows the use of the question mark operator inside
  • Concatenate two byte arrays
  • A macro to create data lenses. Refer to the msgs mod for an example and further elaboration

Enums