1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Files
Tobias Frauenschläger b7722c6b61 nxp: run the Zephyr test and benchmark against the EdgeLock
Nothing committed exercised the port through wolfCrypt's own suites. Give both
samples an frdm_rw612 board overlay that turns the offload on; settings.h already
maps WC_USE_DEVID at WOLFSSL_ELS_PKC_DEVID, which is what the unmodified test and
benchmark read, and defining it also defines BENCH_DEVID, so the benchmark
measures every algorithm twice and labels the rows HW and SW.

Both suites pass on frdm_rw612.
2026-10-23 13:18:02 +02:00

36 lines
1.2 KiB
YAML

sample:
description: wolfCrypt benchmark sample app
name: wolfCrypt benchmark
common:
tags: crypto wolfssl userspace random
harness: console
harness_config:
type: one_line
regex:
- "Benchmark complete"
tests:
sample.crypto.wolfssl_benchmark:
platform_allow: qemu_x86
integration_platforms:
- qemu_x86
sample.crypto.wolfssl_benchmark_els_pkc:
# Measures each algorithm in software and on the hardware. Not in
# boards/frdm_rw612.conf, which every build for the board would merge.
timeout: 1200
platform_allow: frdm_rw612
extra_configs:
- CONFIG_WOLFSSL_ELS_PKC=y
# wc_port.c calls clock_gettime(). POSIX_TIMERS is gated behind
# POSIX_SYSTEM_INTERFACES and silently does nothing without it.
- CONFIG_POSIX_SYSTEM_INTERFACES=y
- CONFIG_POSIX_TIMERS=y
# The board has a real entropy source, so drop prj.conf's placeholder.
- CONFIG_TEST_RANDOM_GENERATOR=n
- CONFIG_ENTROPY_GENERATOR=y
# The arena carries the HAVE_STACK_SIZE benchmark thread stack on top of
# the benchmark's own allocations.
- CONFIG_MAIN_STACK_SIZE=32768
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=131072
integration_platforms:
- frdm_rw612