MCUXpresso SDK Documentation

psa_crypto_examples

psa_crypto_examples#

Overview#

PSA Crypto example to demonstrate cipher operation.

Supported Boards#

Running the demo#

The log below shows the output of the PSA crypto examples in the terminal window:

 * PSA crypto example *

cipher encrypt/decrypt AES CBC no padding:
        success!
cipher encrypt/decrypt AES CBC PKCS7 multipart:
        success!
cipher encrypt/decrypt AES CTR multipart:
        success!
cipher encrypt/decrypt AES CBC no padding one go:
        success!
cipher encrypt/decrypt AES CBC PKCS7 padding one go:
        success!
Hash a message SHA-256:
        success!

 * Example End *