pub enum ChainingMode {}
Expand description
L"ChainingMode"
A pointer to a null-terminated Unicode string that represents the chaining mode of the encryption algorithm. This property can be set on an algorithm handle or a key handle to one of the following values.
Identifier | Value | Description |
---|---|---|
BCRYPT_CHAIN_MODE_CBC | L“ChainingModeCBC“ | Sets the algorithm’s chaining mode to cipher block chaining. |
BCRYPT_CHAIN_MODE_CCM | L“ChainingModeCCM“ | Sets the algorithm’s chaining mode to counter with CBC-MAC mode (CCM).Windows Vista: This value is supported beginning with Windows Vista with SP1. |
BCRYPT_CHAIN_MODE_CFB | L“ChainingModeCFB“ | Sets the algorithm’s chaining mode to cipher feedback. |
BCRYPT_CHAIN_MODE_ECB | L“ChainingModeECB“ | Sets the algorithm’s chaining mode to electronic codebook. |
BCRYPT_CHAIN_MODE_GCM | L“ChainingModeGCM“ | Sets the algorithm’s chaining mode to Galois/counter mode (GCM).Windows Vista: This value is supported beginning with Windows Vista with SP1. |
BCRYPT_CHAIN_MODE_NA | L“ChainingModeN/A“ | The algorithm does not support chaining. |
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainingMode
impl RefUnwindSafe for ChainingMode
impl Send for ChainingMode
impl Sync for ChainingMode
impl Unpin for ChainingMode
impl UnwindSafe for ChainingMode
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