Browse Source

fix comment

fix comment on return value of `rt_hwcrypto_crc_update`
Judd 3 years ago
parent
commit
80f20f668b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/hwcrypto/hw_crc.c

+ 1 - 1
components/drivers/hwcrypto/hw_crc.c

@@ -87,7 +87,7 @@ void rt_hwcrypto_crc_destroy(struct rt_hwcrypto_ctx *ctx)
  * @param input     Data buffer to be Processed
  * @param length    Data Buffer length
  *
- * @return          RT_EOK on success.
+ * @return          CRC value
  */
 rt_uint32_t rt_hwcrypto_crc_update(struct rt_hwcrypto_ctx *ctx,
                                              const rt_uint8_t *input,