Application example to call caam driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Application example to call caam driver

1,433 Views
shaojun_wang
NXP Employee
NXP Employee

This is the sample code to call caam driver from user space, on L4.1.0 BSP.

 

In u-boot, add "caam" in command line.

 

In kernel menuconfig, select

<*>   User-space interface for hash algorithms

<*>   User-space interface for symmetric key cipher algorithms

 

To verify if application have called caam, run “cat /proc/interrupts | grep caam”, if caam interrupt counts is increased, caam driver is called.

Original Attachment has been moved to: Makefile.txt.zip

Original Attachment has been moved to: test_caam_crypto.c.txt.zip

Labels (2)
Tags (1)
0 Kudos
0 Replies