From 7d462456d8e82f72f834080b917bb0be4298ab2d Mon Sep 17 00:00:00 2001 From: lcc Date: Mon, 9 Jun 2025 19:42:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=93=9D=E9=BB=84=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E6=80=A7=E5=B7=AE=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lcc --- CryptoArchitectureKit/crypto_asym_key.h | 2 +- CryptoArchitectureKit/crypto_common.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CryptoArchitectureKit/crypto_asym_key.h b/CryptoArchitectureKit/crypto_asym_key.h index 4997e5e55..44803b832 100644 --- a/CryptoArchitectureKit/crypto_asym_key.h +++ b/CryptoArchitectureKit/crypto_asym_key.h @@ -279,7 +279,7 @@ OH_Crypto_ErrCode OH_CryptoPubKey_GetParam(OH_CryptoPubKey *key, CryptoAsymKey_P * @brief Sets the password to the asymmetric key generator context. * * Call this method to set the password if you need to convert encrypted private key data to a key pair using - * {@link OH_CryptoAsymKeyGenerator_Convert} + * {@link OH_CryptoAsymKeyGenerator_Convert}.\n * * @param ctx Indicates the asymmetric key generator context. * @param password Indicates the password. diff --git a/CryptoArchitectureKit/crypto_common.h b/CryptoArchitectureKit/crypto_common.h index 36a3c1b4f..12ae6d224 100644 --- a/CryptoArchitectureKit/crypto_common.h +++ b/CryptoArchitectureKit/crypto_common.h @@ -69,7 +69,10 @@ typedef enum { CRYPTO_NOT_SUPPORTED = 801, /** Indicates the memory error. */ CRYPTO_MEMORY_ERROR = 17620001, - /** Indicates that parameter check failed. */ + /** + * Indicates that parameter check failed. + * @since 20 + */ CRYPTO_PARAMETER_CHECK_FAILED = 17620003, /** Indicates that crypto operation error. */ CRYPTO_OPERTION_ERROR = 17630001, -- Gitee