From 0e758a0eaeaadb572b50d1bc1e4584081d7a4c15 Mon Sep 17 00:00:00 2001 From: CheungVane Date: Mon, 27 Nov 2023 21:05:02 +0800 Subject: [PATCH] add deprecated Signed-off-by: zhangwenzhi --- security/huks/include/native_huks_api.h | 1 + security/huks/include/native_huks_type.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/security/huks/include/native_huks_api.h b/security/huks/include/native_huks_api.h index f052661e2..761019b31 100644 --- a/security/huks/include/native_huks_api.h +++ b/security/huks/include/native_huks_api.h @@ -50,6 +50,7 @@ extern "C" { * @param sdkVersion Indicates the pointer to the SDK version (in string format) obtained. * return Returns {@link OH_Huks_ErrCode#OH_HUKS_SUCCESS} if the operation is successful; * returns an error code otherwise. + * @deprecated since 11 * @since 9 * @version 1.0 */ diff --git a/security/huks/include/native_huks_type.h b/security/huks/include/native_huks_type.h index 6dcaa7a8c..3a35c2679 100644 --- a/security/huks/include/native_huks_type.h +++ b/security/huks/include/native_huks_type.h @@ -191,7 +191,9 @@ enum OH_Huks_KeySize { OH_HUKS_AES_KEY_SIZE_192 = 192, /** AES key of 256 bits. */ OH_HUKS_AES_KEY_SIZE_256 = 256, - /** AES key of 512 bits. */ + /** AES key of 512 bits. + * @deprecated since 11 + **/ OH_HUKS_AES_KEY_SIZE_512 = 512, /** Curve25519 key of 256 bits. */ -- Gitee