summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJudd <[email protected]>2022-04-12 20:22:15 +0800
committerguo <[email protected]>2022-04-13 16:20:39 +0800
commit80f20f668b692ff9af3877438f36f63f77ded058 (patch)
tree61d1fe1435ca8ea10811e98b670556a90b55df44 /components
parentfdb486de7b8c8bc4c6619db7ea49559b00cacfc7 (diff)
fix comment
fix comment on return value of `rt_hwcrypto_crc_update`
Diffstat (limited to 'components')
-rw-r--r--components/drivers/hwcrypto/hw_crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/hwcrypto/hw_crc.c b/components/drivers/hwcrypto/hw_crc.c
index a1d95793e2..21a97bf097 100644
--- a/components/drivers/hwcrypto/hw_crc.c
+++ b/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,