diff --git a/CryptoArchitectureKit/crypto_asym_key.h b/CryptoArchitectureKit/crypto_asym_key.h index 4997e5e5589a486c9e68d1808fb409ac4a1cfee7..44803b8328177a8b86ec63a7e5309b51f087cbf4 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 36a3c1b4f7be405428dcce1511547dc8b327f822..12ae6d224cd1b0b7727ff3ff7c9a339f25e28176 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,