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
2021-10-25 09: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
2021-11-23 06: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