diff --git a/interfaces/kits/native/include/crypto_asym_cipher.h b/interfaces/kits/native/include/crypto_asym_cipher.h index d6ab307212546b8c8b7bbfa768a63b67b7bc1cd7..3846be1733cfac6c843e75f837bb7f97065647d9 100644 --- a/interfaces/kits/native/include/crypto_asym_cipher.h +++ b/interfaces/kits/native/include/crypto_asym_cipher.h @@ -102,6 +102,7 @@ OH_Crypto_ErrCode OH_CryptoAsymCipher_Final(OH_CryptoAsymCipher *ctx, const Cryp * @brief Destroys the asymmetric cipher context. * * @param ctx Indicates the asymmetric cipher context. + * @since 20 */ void OH_CryptoAsymCipher_Destroy(OH_CryptoAsymCipher *ctx); diff --git a/interfaces/kits/native/include/crypto_asym_key.h b/interfaces/kits/native/include/crypto_asym_key.h index 4997e5e5589a486c9e68d1808fb409ac4a1cfee7..44803b8328177a8b86ec63a7e5309b51f087cbf4 100644 --- a/interfaces/kits/native/include/crypto_asym_key.h +++ b/interfaces/kits/native/include/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/interfaces/kits/native/include/crypto_common.h b/interfaces/kits/native/include/crypto_common.h index 9da7d4e654d5fe911c3cfdb2be9801fed1a6796f..12ae6d224cd1b0b7727ff3ff7c9a339f25e28176 100644 --- a/interfaces/kits/native/include/crypto_common.h +++ b/interfaces/kits/native/include/crypto_common.h @@ -28,7 +28,7 @@ * @brief Defines the crypto common APIs. * * @library libohcrypto.so - * @kit Crypto Architecture Kit + * @kit CryptoArchitectureKit * @syscap SystemCapability.Security.CryptoFramework * @since 12 */ @@ -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, diff --git a/interfaces/kits/native/include/crypto_digest.h b/interfaces/kits/native/include/crypto_digest.h index 1af61159d717dfe12e8161b076556e38be7ef105..bac24951a8b1c1fdc48364749b839435dd28ebcc 100644 --- a/interfaces/kits/native/include/crypto_digest.h +++ b/interfaces/kits/native/include/crypto_digest.h @@ -25,10 +25,10 @@ /** * @file crypto_digest.h * - * @brief Defines the digest apis. + * @brief Defines the digest APIs. * * @library libohcrypto.so - * @kit Crypto Architecture Kit + * @kit CryptoArchitectureKit * @syscap SystemCapability.Security.CryptoFramework * @since 12 */ diff --git a/interfaces/kits/native/include/crypto_sym_cipher.h b/interfaces/kits/native/include/crypto_sym_cipher.h index 3e4245fef0110e7ff3980d04e11ed573e949dd5d..95a6e46a523bcc2dc2a0aebb94c0e0da16b76935 100644 --- a/interfaces/kits/native/include/crypto_sym_cipher.h +++ b/interfaces/kits/native/include/crypto_sym_cipher.h @@ -29,7 +29,7 @@ * @brief Defines the symmetric key cipher APIs. * * @library libohcrypto.so - * @kit Crypto Architecture Kit + * @kit CryptoArchitectureKit * @syscap SystemCapability.Security.CryptoFramework * @since 12 */ diff --git a/interfaces/kits/native/include/crypto_sym_key.h b/interfaces/kits/native/include/crypto_sym_key.h index 840d104c6a7c6ba115ace4fa9ca6a4f702d9e932..b2ebf9ebbd61ff08faf0fa40a827780c46e8d9c9 100644 --- a/interfaces/kits/native/include/crypto_sym_key.h +++ b/interfaces/kits/native/include/crypto_sym_key.h @@ -28,7 +28,7 @@ * @brief Defines the symmetric key APIs. * * @library libohcrypto.so - * @kit Crypto Architecture Kit + * @kit CryptoArchitectureKit * @syscap SystemCapability.Security.CryptoFramework * @since 12 */