Application example to call caam driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Application example to call caam driver

1,893 次查看
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

标签 (2)
标记 (1)
0 项奖励
回复
0 回复数