1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Markers for Authentication algorithms supported by `libes`

pub(crate) mod generics;

#[cfg(feature = "ECIES-AEAD")]
/// Marker for using the `ECIES-AEAD` variant for authentication
pub struct Aead;

#[cfg(feature = "ECIES-SYN")]
/// Marker for using the `ECIES-SYN` variant for authentication
pub struct Syn;

#[cfg(all(feature = "ECIES-MAC", feature = "HMAC-SHA256"))]
mod hmacsha256;
#[cfg(all(feature = "ECIES-MAC", feature = "HMAC-SHA256"))]
pub use hmacsha256::HmacSha256;