We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a901b commit 5bb76d8Copy full SHA for 5bb76d8
tss-esapi/src/structures/tagged/symmetric.rs
@@ -165,6 +165,11 @@ impl SymmetricDefinitionObject {
165
key_bits: AesKeyBits::Aes256,
166
mode: SymmetricMode::Cfb,
167
};
168
+ // Constant for the SM4 128 bits CFB symmetric definition object
169
+ pub const SM4_128_CFB: SymmetricDefinitionObject = SymmetricDefinitionObject::Sm4 {
170
+ key_bits: Sm4KeyBits::Sm4_128,
171
+ mode: SymmetricMode::Cfb,
172
+ };
173
pub(crate) fn is_null(&self) -> bool {
174
matches!(self, Self::Null)
175
}
0 commit comments