zephyr/samples/drivers/crypto
Joakim Andersson a7b8295428 samples: drivers: crypto: Change README to rst format
Rename README.txt to README.rst and convert to rst format.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-05-15 17:18:56 +02:00
..
src drivers: crypto: add driver for nRF ECB 2020-04-08 16:20:53 +02:00
CMakeLists.txt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
prj_mtls_shim.conf modules: mbedtls: Update mbedTLS commit and apply fixes 2020-05-07 23:46:08 -05:00
prj_nrf_ecb.conf drivers: crypto: add driver for nRF ECB 2020-04-08 16:20:53 +02:00
prj_stm32.conf samples: drivers: crypto: Add STM32 driver support 2020-02-07 10:45:51 -06:00
prj.conf samples: drivers: crypto: fix test failure 2020-01-13 16:35:10 -05:00
README.rst samples: drivers: crypto: Change README to rst format 2020-05-15 17:18:56 +02:00
sample.yaml samples: remove unused harness definition 2020-05-05 06:16:50 -04:00

.. _crypto_sample:

Crypto
######

Overview
********
An example to illustrate the usage of crypto APIs.

Building and Running
********************

This project outputs to the console.  It can be built and executed
on QEMU as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/crypto
   :host-os: unix
   :board: qemu_x86
   :goals: run
   :compact:

Sample Output
=============

.. code-block:: console

    [general] [INF] main: Encryption Sample

    [general] [INF] cbc_mode: CBC Mode

    [general] [INF] cbc_mode: cbc mode ENCRYPT - Match

    [general] [INF] cbc_mode: cbc mode DECRYPT - Match

    [general] [INF] ctr_mode: CTR Mode

    [general] [INF] ctr_mode: ctr mode ENCRYPT - Match

    [general] [INF] ctr_mode: ctr mode DECRYPT - Match

    [general] [INF] ccm_mode: CCM Mode

    [general] [INF] ccm_mode: CCM mode ENCRYPT - Match

    [general] [INF] ccm_mode: CCM mode DECRYPT - Match

Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.