cancel
Showing results for 
Search instead for 
Did you mean: 

CRC unit usage in STM32MP1

NPal.2
Senior

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

2 REPLIES 2
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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.

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