add CFB for sm4

Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Id87ccaa9eeeab0f694d5a0a0fed87cf931280875
This commit is contained in:
y30053096 2024-04-08 11:31:13 +08:00
parent e6a7e08c39
commit 2ef39b642b

View File

@ -151,6 +151,11 @@ enum OH_Huks_CipherMode {
OH_HUKS_MODE_CTR = 3,
/** Output Feedback (OFB) mode. */
OH_HUKS_MODE_OFB = 4,
/**
* Cipher Feedback (CFB) mode.
* @since 12
*/
OH_HUKS_MODE_CFB = 5,
/** Counter with CBC-MAC (CCM) mode. */
OH_HUKS_MODE_CCM = 31,
/** Galois/Counter (GCM) mode. */