diff --git a/security/huks/include/native_huks_api.h b/security/huks/include/native_huks_api.h index f052661e21981d10971e1a98d4f05457a67f1d3f..761019b31750a979578c9b6a906cb942fffc74e7 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 6dcaa7a8c43cad1cfbb88ee8bbc2110af1d1fd37..3a35c2679c8be23770ce7a5e4eb2befb3a4ff35e 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. */