Add sample for AES Galois/Counter Mode (GCM) of operation with a MACsec GCM-AES test vector. Also improve existing code by declaring expected ciphertext arrays as constant. Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
37 lines
866 B
YAML
37 lines
866 B
YAML
sample:
|
|
description: An example to illustrate the usage of
|
|
crypto APIs
|
|
name: Crypto APIs
|
|
common:
|
|
tags: crypto
|
|
harness: console
|
|
min_ram: 20
|
|
arch_exclude: xtensa
|
|
tests:
|
|
sample.drivers.crypto.mbedtls:
|
|
min_flash: 34
|
|
extra_args: CONF_FILE=prj_mtls_shim.conf
|
|
harness_config:
|
|
type: multi_line
|
|
regex:
|
|
- ".*: Cipher Sample"
|
|
- ".*: CBC Mode"
|
|
- ".*: CTR Mode"
|
|
- ".*: CCM Mode"
|
|
- ".*: GCM Mode"
|
|
sample.drivers.crypto.mbedtls.micro:
|
|
tags: crypto
|
|
harness_config:
|
|
type: multi_line
|
|
regex:
|
|
- ".*: Cipher Sample"
|
|
- ".*: CBC Mode"
|
|
- ".*: CTR Mode"
|
|
- ".*: CCM Mode"
|
|
- ".*: GCM Mode"
|
|
sample.drivers.crypto.stm32:
|
|
tags: crypto
|
|
platform_whitelist: mikroe_mini_m4_for_stm32
|
|
build_only: true
|
|
extra_args: CONF_FILE=prj_stm32.conf
|