wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.34k stars 830 forks source link

WolfSSL compilation on Zephyr RTOS fails for arm64 architecture boards #7116

Open ickochar opened 10 months ago

ickochar commented 10 months ago

Version

5.6.6

Description

Following are metioned steps for compiling Zephyr application using wolfssl : https://github.com/wolfSSL/wolfssl/tree/master/zephyr

Build command : west build -b qemu_kvm_arm64 modules/crypto/wolfssl/zephyr/samples/wolfssl_benchmark -d build -p

Error Logs : [3/247] Generating include/generated/version.h -- Zephyr version: 3.4.0 (/p/psg/swip/w/ckochar/zephyrproject_3_3/zephyr), build: zephyr-v3.4.0-419-g564e20b0ae03 [237/247] Linking C executable zephyr/zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map : && ccache /build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf -fuse-ld=bfd -Wl,-T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=/p/psg/swip/w/ckochar/zephyrproject_3_3/build/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarchcommon.a zephyr/arch/arch/arm64/core/libarcharm64core.a zephyr/lib/libc/minimal/libliblibcminimal.a zephyr/lib/libc/common/libliblibccommon.a zephyr/lib/posix/liblibposix.a zephyr/drivers/interrupt_controller/libdriversinterrupt_controller.a zephyr/drivers/console/libdriversconsole.a zephyr/drivers/serial/libdriversserial.a zephyr/drivers/timer/libdriverstimer.a modules/wolfssl/lib..modulescryptowolfssl__zephyr.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/./arch/arm64/core/offsets/offsets.c.obj -L"/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0" -L/p/psg/swip/w/ckochar/zephyrproject_3_3/build/zephyr -lgcc zephyr/arch/common/libisr_tables.a -mabi=lp64 -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie && cd /p/psg/swip/w/ckochar/zephyrproject_3_3/build/zephyr && /usr/local/bin/cmake -E echo /build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..modulescryptowolfssl__zephyr.a(random.c.obj): in function sys_rand_get': /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/build/zephyr/include/generated/syscalls/rand32.h:57: undefined reference toz_impl_sys_rand_get' /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/build/zephyr/include/generated/syscalls/rand32.h:57:(.text.wc_RNG_GenerateBlock+0xe8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol z_impl_sys_rand_get' /build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/build/zephyr/include/generated/syscalls/rand32.h:57: undefined reference toz_impl_sys_rand_get' /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/build/zephyr/include/generated/syscalls/rand32.h:57:(.text._InitRng+0x138): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `z_impl_sys_rand_get' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/build

embhorn commented 10 months ago

Hi @ickochar

Thanks for contacting wolfSSL Support. Does your Zephyr project configuration enable entropy? https://github.com/wolfSSL/wolfssl/blob/d5d476a3a1973fb9554f87fa84e1b587bdea70a0/zephyr/samples/wolfssl_benchmark/prj.conf#L27C1-L29C41

Could you please tell us a bit about your project using wolfSSL?

Thanks, @embhorn - wolfSSL Support

ickochar commented 10 months ago

Hello @embhorn , Thanks for the direction.

It seem like I didn't had entropy enabled. I have enabled in proj.cong :

Entropy

CONFIG_TEST_RANDOM_GENERATOR=y CONFIG_ENTROPY_GENERATOR=y CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR=y

Actually I am trying to run benchmark results on my ARMv8 device with WOLFSSL_ARMASM defined in my setting file. Now below issues was observed. Am I missing any other config or setting ?

[251/261] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map 
: && ccache /build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/p/psg/swip/w/ckochar/zephyrproject_3_3/zephyr/build/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm64/core/libarch__arm64__core.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/posix/liblib__posix.a  zephyr/subsys/random/libsubsys__random.a  zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/pm_cpu_ops/libdrivers__pm_cpu_ops.a  zephyr/drivers/reset/libdrivers__reset.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/syscon/libdrivers__syscon.a  zephyr/drivers/timer/libdrivers__timer.a  modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/arm64/core/offsets/offsets.c.obj  -L"/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0"  -L/p/psg/swip/w/ckochar/zephyrproject_3_3/zephyr/build/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -mcpu=cortex-a55  -mabi=lp64  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie && cd /p/psg/swip/w/ckochar/zephyrproject_3_3/zephyr/build/zephyr && /usr/local/bin/cmake -E echo
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_aesgcm_internal':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4203: undefined reference to `wc_AesGcmSetKey'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4203:(.text.bench_aesgcm_internal.constprop.0+0x8c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_AesGcmSetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4259: undefined reference to `wc_AesGcmSetKey'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4259:(.text.bench_aesgcm_internal.constprop.0+0x134): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_AesGcmSetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4220: undefined reference to `wc_AesGcmEncrypt'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4220:(.text.bench_aesgcm_internal.constprop.0+0x240): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_AesGcmEncrypt'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4275: undefined reference to `wc_AesGcmDecrypt'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4275:(.text.bench_aesgcm_internal.constprop.0+0x298): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_AesGcmDecrypt'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha512_256':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6586: undefined reference to `wc_Sha512_256Free'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6586:(.text.bench_sha512_256+0x90): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_Sha512_256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6504: undefined reference to `wc_InitSha512_256_ex'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6504:(.text.bench_sha512_256+0xb8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_InitSha512_256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6540: undefined reference to `wc_Sha512_256Final'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6540:(.text.bench_sha512_256+0x108): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_Sha512_256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6521: undefined reference to `wc_Sha512_256Update'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6521:(.text.bench_sha512_256+0x150): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_Sha512_256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6559: undefined reference to `wc_InitSha512_256_ex'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6559:(.text.bench_sha512_256+0x170): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_InitSha512_256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6562: undefined reference to `wc_Sha512_256Update'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6562:(.text.bench_sha512_256+0x18c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `wc_Sha512_256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6564: undefined reference to `wc_Sha512_256Final'
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6564:(.text.bench_sha512_256+0x1a0): additional relocation overflows omitted from the output
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha512_224':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6478: undefined reference to `wc_Sha512_224Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6396: undefined reference to `wc_InitSha512_224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6432: undefined reference to `wc_Sha512_224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6413: undefined reference to `wc_Sha512_224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6451: undefined reference to `wc_InitSha512_224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6454: undefined reference to `wc_Sha512_224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6456: undefined reference to `wc_Sha512_224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha512':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6371: undefined reference to `wc_Sha512Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6289: undefined reference to `wc_InitSha512_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6325: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6306: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6344: undefined reference to `wc_InitSha512_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6347: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6349: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha384':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6264: undefined reference to `wc_Sha384Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6182: undefined reference to `wc_InitSha384_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6218: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6199: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6237: undefined reference to `wc_InitSha384_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6240: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6242: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha256':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6157: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6074: undefined reference to `wc_InitSha256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6113: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6094: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6132: undefined reference to `wc_InitSha256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6135: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6137: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_sha224':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6048: undefined reference to `wc_Sha224Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5967: undefined reference to `wc_InitSha224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6003: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5984: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6022: undefined reference to `wc_InitSha224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6025: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:6027: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_chacha':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5666: undefined reference to `wc_Chacha_SetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5671: undefined reference to `wc_Chacha_SetIV'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5672: undefined reference to `wc_Chacha_Process'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_poly1305':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5199: undefined reference to `wc_Poly1305SetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5215: undefined reference to `wc_Poly1305Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5227: undefined reference to `wc_Poly1305SetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:5237: undefined reference to `wc_Poly1305Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: app/libapp.a(benchmark.c.obj): in function `bench_aescbc_internal':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4032: undefined reference to `wc_AesSetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4080: undefined reference to `wc_AesSetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4048: undefined reference to `wc_AesCbcEncrypt'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/benchmark/benchmark.c:4098: undefined reference to `wc_AesCbcDecrypt'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(aes.c.obj): in function `wc_GmacSetKey':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/aes.c:10421: undefined reference to `wc_AesGcmSetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(aes.c.obj): in function `wc_GmacUpdate':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/aes.c:10433: undefined reference to `wc_AesGcmEncrypt'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(chacha20_poly1305.c.obj): in function `wc_ChaCha20Poly1305_Init':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:155: undefined reference to `wc_Chacha_SetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:158: undefined reference to `wc_Chacha_SetIV'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:164: undefined reference to `wc_Chacha_Process'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:170: undefined reference to `wc_Poly1305SetKey'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:176: undefined reference to `wc_Chacha_SetIV'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(chacha20_poly1305.c.obj): in function `wc_ChaCha20Poly1305_UpdateData':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:242: undefined reference to `wc_Chacha_Process'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:249: undefined reference to `wc_Chacha_Process'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(chacha20_poly1305.c.obj): in function `wc_ChaCha20Poly1305_Final':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/chacha20_poly1305.c:289: undefined reference to `wc_Poly1305Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha224Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1411: undefined reference to `wc_InitSha224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1415: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1418: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1421: undefined reference to `wc_Sha224Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha256Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1461: undefined reference to `wc_InitSha256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1465: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1468: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1471: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha512Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1515: undefined reference to `wc_InitSha512_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1519: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1522: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1525: undefined reference to `wc_Sha512Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha512_224Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1564: undefined reference to `wc_InitSha512_224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1568: undefined reference to `wc_Sha512_224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1571: undefined reference to `wc_Sha512_224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1574: undefined reference to `wc_Sha512_224Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha512_256Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1616: undefined reference to `wc_InitSha512_256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1620: undefined reference to `wc_Sha512_256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1623: undefined reference to `wc_Sha512_256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1626: undefined reference to `wc_Sha512_256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hash.c.obj): in function `wc_Sha384Hash_ex':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1669: undefined reference to `wc_InitSha384_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1673: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1676: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hash.c:1679: undefined reference to `wc_Sha384Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `HmacKeyInnerHash':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:589: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:595: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:602: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:608: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `_InitHmac':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:174: undefined reference to `wc_InitSha224_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:180: undefined reference to `wc_InitSha256_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:186: undefined reference to `wc_InitSha384_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:191: undefined reference to `wc_InitSha512_ex'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `wc_HmacUpdate':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:709: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:715: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:721: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:726: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `wc_HmacFinal':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:843: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:846: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:850: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:854: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:861: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:864: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:868: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:872: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:878: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:881: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:885: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:889: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:894: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:897: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:901: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:905: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `wc_HmacFree':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:1124: undefined reference to `wc_Sha224Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:1129: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:1135: undefined reference to `wc_Sha384Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:1140: undefined reference to `wc_Sha512Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(hmac.c.obj): in function `wc_HmacSetKey':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:351: undefined reference to `wc_Sha224Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:354: undefined reference to `wc_Sha224Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:371: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:374: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:392: undefined reference to `wc_Sha384Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:395: undefined reference to `wc_Sha384Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:412: undefined reference to `wc_Sha512Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/hmac.c:415: undefined reference to `wc_Sha512Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(poly1305.c.obj): in function `wc_Poly1305Update':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/poly1305.c:788: undefined reference to `poly1305_blocks'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/poly1305.c:775: undefined reference to `poly1305_block'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(random.c.obj): in function `Hash_DRBG_Generate':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:629: undefined reference to `wc_InitSha256'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:633: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:640: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(random.c.obj): in function `Hash_gen':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:529: undefined reference to `wc_InitSha256'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:537: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:533: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:535: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:537: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(random.c.obj): in function `Hash_DRBG_Generate':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:635: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:637: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:640: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: modules/wolfssl/lib..__modules__crypto__wolfssl__zephyr.a(random.c.obj): in function `Hash_df':
/p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:361: undefined reference to `wc_InitSha256'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:366: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:387: undefined reference to `wc_Sha256Free'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:369: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:375: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:378: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:381: undefined reference to `wc_Sha256Update'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:384: undefined reference to `wc_Sha256Final'
/build/zephyr-sdk-0.15.1/aarch64-zephyr-elf/bin/../lib/gcc/aarch64-zephyr-elf/12.1.0/../../../../aarch64-zephyr-elf/bin/ld.bfd: /p/psg/swip/w/ckochar/zephyrproject_3_3/modules/crypto/wolfssl/wolfcrypt/src/random.c:387: undefined reference to `wc_Sha256Free'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /nfs/png/disks/swuser_work_ckochar/zephyrproject_3_3/zephyr/build
embhorn commented 9 months ago

@philljj - was there a Zephyr benchmark issue resolved recently?

philljj commented 9 months ago

Hi @ickochar,

I think what's happening is the build configuration is not finding the armasm implementations of those APIs.

Just so I understand your context better, as a sanity test have you built without WOLFSSL_ARMASM?

Thanks, Jordan

ickochar commented 9 months ago

Just so I understand your context better, as a sanity test have you built without WOLFSSL_ARMASM?

Yes, i was able to build without WOLFSSL_ARMASM

ickochar commented 7 months ago

Any update ?

dgarske commented 7 months ago

Hi @ickochar ,

Seems like the wolfSSL CMakeLists.txt is not including the wolfcrypt/src/port/arm files.

I have been doing Zephyr cleanups and will take a look. See PR #7325

Thanks, David Garske, wolfSSL

dgarske commented 7 months ago

Hi @ickochar ,

I pushed support for the ARM and Intel assembly support to PR #7325.

Note: The qemu_kvm_arm64 is a Cortex-A53 without crypto extensions, so our speedups that rely on aes and sha256 instructions won't be available.

Let me know if you have any issues. Can you tell us more about your project?

Thanks, David Garske, wolfSSL

ickochar commented 7 months ago

Let me know if you have any issues. Can you tell us more about your project? We are trying to benchmark crypto operation performance on our cortex-A53 hardware.

I tried to get your code and compile for our hardware. Seems like the changes are not compiling as expected. Error observed : /tmp/cclwNdTX.s: Assembler messages: /tmp/cclwNdTX.s:58: Error: selected processor does not support 'sha256h q12,q13,v0.4s'

Temporally I updated file with diff mentioned below and it was compiling. Not sure how to final fix will look like :

--- a/cmake/gcc-m-cpu.cmake +++ b/cmake/gcc-m-cpu.cmake @@ -72,7 +72,7 @@ if("${ARCH}" STREQUAL "arm") endif() elseif("${ARCH}" STREQUAL "arm64") if(CONFIG_CPU_CORTEX_A53)

  • set(GCC_M_CPU cortex-a53)
  • set(GCC_M_CPU cortex-a53+crypto -mstrict-align) elseif(CONFIG_CPU_CORTEX_A55) set(GCC_M_CPU cortex-a55) elseif(CONFIG_CPU_CORTEX_A76)
dgarske commented 2 months ago

Hi @ickochar ,

Was this issue resolved? Can we mark this closed?