blob: 11f1b261fc356e8de74e1eb2ceeedee757c6ceca [file] [log] [blame]
sample:
description: An example to illustrate the usage of
crypto APIs
name: Crypto APIs
common:
tags: crypto
harness: console
min_ram: 16
tests:
test-mbedtls:
extra_args: CONF_FILE=prj_mtls_shim.conf
harness_config:
type: multi_line
regex:
- "\\[general\\] \\[INF\\] .*: Cipher Sample"
- "\\[general\\] \\[INF\\] ccm_mode: CCM Mode"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode ENCRYPT - Match"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode DECRYPT - Match"
test-micro:
tags: micro
harness_config:
type: multi_line
regex:
- "\\[general\\] \\[INF\\] .*: Cipher 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"