zephyr/samples/drivers/crypto/sample.yaml

38 lines
1.0 KiB
YAML

sample:
description: An example to illustrate the usage of
crypto APIs
name: Crypto APIs
common:
tags: crypto
harness: console
min_ram: 20
tests:
test-mbedtls:
min_flash: 34
extra_args: CONF_FILE=prj_mtls_shim.conf
harness_config:
type: multi_line
regex:
- ".*: Cipher Sample"
- ".*main: CBC Mode"
- ".*mtls_session_setup: Unsupported mode"
- ".*main: CTR Mode"
- ".*main: CCM Mode"
- ".*ccm_mode: CCM mode ENCRYPT - Match"
- ".*ccm_mode: CCM mode DECRYPT - Match"
test-micro:
tags: micro
harness_config:
type: multi_line
regex:
- ".*: Cipher Sample"
- ".*main: CBC Mode"
- ".*cbc_mode: CBC mode ENCRYPT - Match"
- ".*cbc_mode: CBC mode DECRYPT - Match"
- ".*main: CTR Mode"
- ".*ctr_mode: CTR mode ENCRYPT - Match"
- ".*ctr_mode: CTR mode DECRYPT - Match"
- ".*main: CCM Mode"
- ".*ccm_mode: CCM mode ENCRYPT - Match"
- ".*ccm_mode: CCM mode DECRYPT - Match"