Crate libcryptsetup_rs

source ·
Expand description

This is a wrapper library for libcryptsetup. The intension is to provide as much safety as possible when crossing FFI boundaries to the cryptsetup C library.

Modules

Macros

Structs

Enums

  • Type representing the token status. This type wraps the CRYPT_TOKEN_* values and the optional corresponding token type as a string.
  • The enum Either with variants Left and Right is a general purpose sum type with two cases.
  • Error returned from any libcryptsetup-rs function
  • Token input for CryptLuks2Token::json_set

Traits

  • A trait to be implemented for a segment of memory that can be explicitly zeroed in a way that will not be optimized away by the compiler.

Functions

Type Aliases

  • Result type to be used with libcryptsetup-rs
  • Re-exports libc types in API
  • Re-exports libc types in API
  • Re-exports libc types in API