#[repr(C)]pub struct PassCfg { /* private fields */ }
Expand description
[C binding] Password hasher configuration storage
The struct libreauth_pass_cfg
contains the following fields:
- min_len
- max_len
- salt_len
- algorithm
- length_calculation
- normalization
- standard
- version
- xhmac_type
- xhmac_alg
pepper
(*const u8): Key used for the XHMAC. NULL if no XHMAC is used.pepper_len
(size_t): Length of the XHMAC key, in bytes.
Auto Trait Implementations§
impl RefUnwindSafe for PassCfg
impl !Send for PassCfg
impl !Sync for PassCfg
impl Unpin for PassCfg
impl UnwindSafe for PassCfg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more