From ea5123ebe4cf30e467b3b8524523f8b2f805ca90 Mon Sep 17 00:00:00 2001 From: CheungVane Date: Mon, 5 Feb 2024 17:09:57 +0800 Subject: [PATCH] add OH_HUKS_MODE_CFB Signed-off-by: zhangwenzhi --- security/huks/include/native_huks_type.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index c015432c8f5..b2d4fbc2a9a 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -151,6 +151,14 @@ enum OH_Huks_CipherMode { OH_HUKS_MODE_CTR = 3, /** Output Feedback (OFB) mode. */ OH_HUKS_MODE_OFB = 4, + + /** + * Cipher feedback mode. + * + * @since 12 + */ + OH_HUKS_MODE_CFB = 4, + /** Counter with CBC-MAC (CCM) mode. */ OH_HUKS_MODE_CCM = 31, /** Galois/Counter (GCM) mode. */ -- Gitee