ipmi-rs 0.5.0

A pure rust implementation of the IPMI spec
Documentation
mod sha1;

mod keys;

mod state;
pub use state::CryptoState;

mod sub_state;
pub(crate) use sub_state::SubState;

#[derive(Debug, Clone, PartialEq)]
pub enum CryptoUnwrapError {
    NotEnoughData,
    MismatchingEncryptionState,
    MismatchingAuthenticationState,
    IncorrectPayloadLen,
    IncorrectConfidentialityTrailerLen,
    InvalidConfidentialityTrailer,
    AuthCodeMismatch,
    IncorrectIntegrityTrailerLen,
    UnknownNextHeader(u8),
}