Note

This is the documentation for the latest development branch and may refer to features that are not available in released versions. If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

Cipher Demo

Cipher Demo#

Overview#

This section covers the security-related samples under sample_cipher, including AES, software hash, hardware hash, and PUF-based flows.

Source Paths#

  • src/rtsmart/examples/mpp/sample_cipher/sample_aes

  • src/rtsmart/examples/mpp/sample_cipher/sample_hash

  • src/rtsmart/examples/mpp/sample_cipher/sample_hwhash

  • src/rtsmart/examples/mpp/sample_cipher/sample_pufs

Build#

Enable the following items in make menuconfig:

  • RT-Smart UserSpace Examples Configuration

  • Enable MPP examples

  • Enable Build sample_cipher

Run#

cd /sdcard/app/examples/mpp
./sample_aes.elf
./sample_hash.elf
./sample_hwhash.elf
./sample_pufs.elf

Notes#

  • sample_aes tests /dev/aes related flows

  • sample_hash uses the software hash path

  • sample_hwhash uses the hardware hash path

  • sample_pufs demonstrates PUF encryption, decryption, and signing flows

Comments list
Comments
Log in