소스 검색

fix comment

fix comment on return value of `rt_hwcrypto_crc_update`
Judd 3 년 전
부모
커밋
80f20f668b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,