#[repr(transparent)]pub struct CryptoKdf_ParamType(pub c_uint);Available on crate feature
api-20 only.Expand description
Defines the KDF param type.
Available since API-level: 20
Tuple Fields§
§0: c_uintImplementations§
Source§impl CryptoKdf_ParamType
impl CryptoKdf_ParamType
Sourcepub const CRYPTO_KDF_KEY_DATABLOB: CryptoKdf_ParamType
pub const CRYPTO_KDF_KEY_DATABLOB: CryptoKdf_ParamType
Indicates the key or password for KDF.
Sourcepub const CRYPTO_KDF_SALT_DATABLOB: CryptoKdf_ParamType
pub const CRYPTO_KDF_SALT_DATABLOB: CryptoKdf_ParamType
Indicates the salt for KDF.
Sourcepub const CRYPTO_KDF_INFO_DATABLOB: CryptoKdf_ParamType
pub const CRYPTO_KDF_INFO_DATABLOB: CryptoKdf_ParamType
Indicates the info for KDF.
Sourcepub const CRYPTO_KDF_ITER_COUNT_INT: CryptoKdf_ParamType
pub const CRYPTO_KDF_ITER_COUNT_INT: CryptoKdf_ParamType
Indicates the iteration count for PBKDF2.
Sourcepub const CRYPTO_KDF_SCRYPT_N_UINT64: CryptoKdf_ParamType
pub const CRYPTO_KDF_SCRYPT_N_UINT64: CryptoKdf_ParamType
Indicates the n for SCRYPT KDF.
Sourcepub const CRYPTO_KDF_SCRYPT_R_UINT64: CryptoKdf_ParamType
pub const CRYPTO_KDF_SCRYPT_R_UINT64: CryptoKdf_ParamType
Indicates the r for SCRYPT KDF.
Sourcepub const CRYPTO_KDF_SCRYPT_P_UINT64: CryptoKdf_ParamType
pub const CRYPTO_KDF_SCRYPT_P_UINT64: CryptoKdf_ParamType
Indicates the p for SCRYPT KDF.
Sourcepub const CRYPTO_KDF_SCRYPT_MAX_MEM_UINT64: CryptoKdf_ParamType
pub const CRYPTO_KDF_SCRYPT_MAX_MEM_UINT64: CryptoKdf_ParamType
Indicates the max memory for SCRYPT KDF.
Trait Implementations§
Source§impl Clone for CryptoKdf_ParamType
impl Clone for CryptoKdf_ParamType
Source§fn clone(&self) -> CryptoKdf_ParamType
fn clone(&self) -> CryptoKdf_ParamType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptoKdf_ParamType
impl Debug for CryptoKdf_ParamType
Source§impl Hash for CryptoKdf_ParamType
impl Hash for CryptoKdf_ParamType
Source§impl PartialEq for CryptoKdf_ParamType
impl PartialEq for CryptoKdf_ParamType
Source§fn eq(&self, other: &CryptoKdf_ParamType) -> bool
fn eq(&self, other: &CryptoKdf_ParamType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CryptoKdf_ParamType
impl Eq for CryptoKdf_ParamType
impl StructuralPartialEq for CryptoKdf_ParamType
Auto Trait Implementations§
impl Freeze for CryptoKdf_ParamType
impl RefUnwindSafe for CryptoKdf_ParamType
impl Send for CryptoKdf_ParamType
impl Sync for CryptoKdf_ParamType
impl Unpin for CryptoKdf_ParamType
impl UnsafeUnpin for CryptoKdf_ParamType
impl UnwindSafe for CryptoKdf_ParamType
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