CRC unit usage in STM32MP1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-18 11:48 PM
Hi ,
How we use the CRC unit on Linux in STM32MP1.
My target is to use the CRC engine for verification of data at application layer.
The link here mentions info about the crypto unit : Crypto API overview - stm32mpu
But in reference no module talks about CRC also OpenSSL does not support CRC.
So how it can be used?
TIA
- Labels:
-
CRC
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-25 9:05 AM
Hi @NPal.2​ ,
In our starter package you can see that "stm32-crc32" module is probed.
root@stm32mp1:~# modinfo stm32-crc32
filename: /lib/modules/5.10.10/kernel/drivers/crypto/stm32/stm32-crc32.ko
license: GPL
description: STMicrolectronics STM32 CRC32 hardware driver
author: Fabien Dessenne <fabien.dessenne@st.com>
alias: of:N*T*Cst,stm32f7-crcC*
alias: of:N*T*Cst,stm32f7-crc
depends:
intree: Y
name: stm32_crc32
vermagic: 5.10.10 SMP preempt mod_unload modversions ARMv7 p2v8
parm: burst_size:Select burst byte size (0 unlimited) (uint)
You can use it in your application.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-23 6:07 AM
Hi @Community member​ : Thanks for response. I am trying to figure out where I can probe at sysfs interface level . Can you help figure that out been struggling for sometime now around that. TIA
