From: sys_stv@intel.com
To: test-report@dpdk.org, gmuthukrishn@marvell.com
Subject: compilation|FAILURE| pw(157146) sid(36261) job(PER_PATCH_BUILD16798)[v1, 3/3] app/test: add ML crypto test vectors
Date: 30 Sep 2025 11:23:45 -0700 [thread overview]
Message-ID: <e04965$5e4qvb@ORVIESA003-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 174128 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/157146
_Compilation issues_
Submitter: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Date: 2025-09-30 18:03:13
Reply_mail: <20250930180316.1021-4-gmuthukrishn@marvell.com>
DPDK git baseline: Repo:dpdk, CommitID: f3878b615e69a12087a6c5d212723478cfc79c31
Meson Build Summary: 23 Builds Done, 6 Successful, 17 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL96-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| AzureLinux3.0-64 | fail | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL10-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL10-64RT | fail | | | | | | |
| UB2504-64 | fail | | | | | | |
| Fedora42-64 | fail | fail | | | | | |
| OpenEuler2404-64 | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.3-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 6.4.0-150700.51-default
GCC Version: gcc (SUSE Linux) 14.2.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10-64
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: 18.1.3 (1ubuntu1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL10-64RT
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2504-64
Kernel Version: 6.14.0-15-generic
GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora42-64
Kernel Version: 6.14.0-63.fc42.x86_64
GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2652/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2653/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2654/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2655/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2656/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2657/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2658/3565] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2659/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2660/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
clang -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_KEM_SEED'
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: error: call to undeclared function 'EVP_PKEY_sign_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: note: did you mean 'EVP_PKEY_sign_init'?
/usr/include/openssl/evp.h:1913:5: note: 'EVP_PKEY_sign_init' declared here
1913 | int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_DETERMINISTIC'
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING'
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: error: call to undeclared function 'EVP_PKEY_verify_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: note: did you mean 'EVP_PKEY_verify_recover_init'?
/usr/include/openssl/evp.h:1923:5: note: 'EVP_PKEY_verify_recover_init' declared here
1923 | int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:12: error: call to undeclared function 'process_openssl_mlkem_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:12: error: call to undeclared function 'process_openssl_mldsa_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^
17 errors generated.
[2605/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2606/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2607/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2608/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd_ops.c.o
[2609/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2610/3524] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o
[2611/3524] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2612/3524] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2613/3524] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #3:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2674/3410] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2675/3410] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2676/3410] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2677/3410] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2678/3410] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2679/3410] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2680/3410] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2681/3410] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2682/3410] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2653/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2654/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2655/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2656/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2657/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2658/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2659/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2660/3565] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2661/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #5:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
clang -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -DOPENSSL_LOAD_CONF -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_KEM_SEED'
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:28: error: use of undeclared identifier 'OSSL_KEM_PARAM_IKME'
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: error: call to undeclared function 'EVP_PKEY_sign_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: note: did you mean 'EVP_PKEY_sign_init'?
/usr/include/openssl/evp.h:1906:5: note: 'EVP_PKEY_sign_init' declared here
1906 | int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_DETERMINISTIC'
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING'
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:28: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_CONTEXT_STRING'
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: error: call to undeclared function 'EVP_PKEY_verify_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: note: did you mean 'EVP_PKEY_verify_recover_init'?
/usr/include/openssl/evp.h:1916:5: note: 'EVP_PKEY_verify_recover_init' declared here
1916 | int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:28: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_CONTEXT_STRING'
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:12: error: call to undeclared function 'process_openssl_mlkem_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2696/3630] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd_ops.c.o
[2697/3630] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o
[2698/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2699/3630] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o
[2700/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2701/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2702/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2703/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2704/3630] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #6:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -DOPENSSL_LOAD_CONF -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:49: error: ‘OSSL_KEM_PARAM_IKME’ undeclared (first use in this function); did you mean ‘OSSL_KDF_PARAM_UKM’?
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2714/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2715/3630] Generating drivers/rte_crypto_null.sym_chk with a custom command (wrapped by meson to capture output)
[2716/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2717/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2718/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2719/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2720/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2721/3630] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2722/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #7:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2715/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2716/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2717/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2718/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2719/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2720/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2721/3630] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2722/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2723/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL10-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2653/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2654/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2655/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2656/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd_ops.c.o
[2657/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2658/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2659/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2660/3565] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2661/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #9:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:49: error: ‘OSSL_KEM_PARAM_IKME’ undeclared (first use in this function); did you mean ‘OSSL_KDF_PARAM_UKM’?
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2849/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2851/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2854/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2855/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2856/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2857/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #10:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:49: error: ‘OSSL_KEM_PARAM_IKME’ undeclared (first use in this function); did you mean ‘OSSL_KDF_PARAM_UKM’?
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2849/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2851/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2854/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2855/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2856/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2857/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #11:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
clang -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_KEM_SEED'
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:28: error: use of undeclared identifier 'OSSL_KEM_PARAM_IKME'
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: error: call to undeclared function 'EVP_PKEY_sign_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: note: did you mean 'EVP_PKEY_sign_init'?
/usr/include/openssl/evp.h:1892:5: note: 'EVP_PKEY_sign_init' declared here
1892 | int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_DETERMINISTIC'
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING'
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:28: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_CONTEXT_STRING'
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: error: call to undeclared function 'EVP_PKEY_verify_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: note: did you mean 'EVP_PKEY_verify_recover_init'?
/usr/include/openssl/evp.h:1902:5: note: 'EVP_PKEY_verify_recover_init' declared here
1902 | int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:28: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_CONTEXT_STRING'
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:12: error: call to undeclared function 'process_openssl_mlkem_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2847/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2848/3800] Generating symbol file drivers/librte_crypto_dpaa_sec.so.26.0.p/librte_crypto_dpaa_sec.so.26.0.symbols
[2849/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2851/3800] Generating drivers/rte_crypto_dpaa2_sec.sym_chk with a custom command (wrapped by meson to capture output)
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2854/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2855/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #12:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3443:49: error: ‘OSSL_KEM_PARAM_IKME’ undeclared (first use in this function); did you mean ‘OSSL_KDF_PARAM_UKM’?
3443 | OSSL_PARAM_octet_string(OSSL_KEM_PARAM_IKME,
| ^~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3855:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
3855 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:4042:49: error: ‘OSSL_SIGNATURE_PARAM_CONTEXT_STRING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST_SIZE’?
4042 | OSSL_PARAM_octet_string(OSSL_SIGNATURE_PARAM_CONTEXT_STRING,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2849/3617] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2850/3617] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2851/3617] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o
[2852/3617] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd_ops.c.o
[2853/3617] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2854/3617] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2855/3617] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2856/3617] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2857/3617] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #13:
OS: RHEL10-64RT
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2651/3565] Linking target drivers/librte_crypto_null.so.26.0
[2652/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2653/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2654/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2655/3565] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2656/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2657/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2658/3565] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2659/3565] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #14:
OS: UB2504-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
In file included from /usr/include/openssl/indicator.h:18,
from /usr/include/openssl/core_dispatch.h:16,
from /usr/include/openssl/evp.h:28,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2845/3800] Generating drivers/rte_crypto_null.sym_chk with a custom command (wrapped by meson to capture output)
[2846/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2847/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2848/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2849/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2851/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #15:
OS: Fedora42-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2846/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2847/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2848/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2849/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2851/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2854/3800] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #16:
OS: Fedora42-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
clang -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_KEM_SEED'
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:252:3)'
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:4: error: use of undeclared identifier 'OSSL_PKEY_PARAM_ML_DSA_SEED'
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: error: call to undeclared function 'EVP_PKEY_sign_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:6: note: did you mean 'EVP_PKEY_sign_init'?
/usr/include/openssl/evp.h:1913:5: note: 'EVP_PKEY_sign_init' declared here
1913 | int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_DETERMINISTIC'
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING'
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:38: error: no member named 'pctx' in 'struct openssl_asym_session::(unnamed at ../drivers/crypto/openssl/openssl_pmd_private.h:258:3)'
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ~~~~~~~~~~~~~~ ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: error: call to undeclared function 'EVP_PKEY_verify_message_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:6: note: did you mean 'EVP_PKEY_verify_recover_init'?
/usr/include/openssl/evp.h:1923:5: note: 'EVP_PKEY_verify_recover_init' declared here
1923 | int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:19: error: use of undeclared identifier 'OSSL_SIGNATURE_PARAM_MU'
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:12: error: call to undeclared function 'process_openssl_mlkem_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:12: error: call to undeclared function 'process_openssl_mldsa_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^
17 errors generated.
[2848/3800] Generating drivers/rte_crypto_dpaa_sec.sym_chk with a custom command (wrapped by meson to capture output)
[2849/3800] Compiling C object drivers/librte_crypto_cnxk.so.26.0.p/meson-generated_.._rte_crypto_cnxk.pmd.c.o
[2850/3800] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd_ops.c.o
[2851/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2852/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2853/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2854/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2855/3800] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2856/3800] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #17:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3264:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3264 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: error: ‘OSSL_PKEY_PARAM_ML_KEM_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_EC_SEED’?
3294 | OSSL_PKEY_PARAM_ML_KEM_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_EC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3294:25: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3371:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3371 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3499:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3499 | EVP_PKEY_CTX *pctx = sess->u.ml_kem.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_keygen_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3633:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3633 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3658:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3658 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_sign_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3735:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3735 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3765:25: error: ‘OSSL_PKEY_PARAM_ML_DSA_SEED’ undeclared (first use in this function); did you mean ‘OSSL_PKEY_PARAM_FFC_SEED’?
3765 | OSSL_PKEY_PARAM_ML_DSA_SEED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSSL_PKEY_PARAM_FFC_SEED
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: implicit declaration of function ‘EVP_PKEY_sign_message_init’; did you mean ‘EVP_PKEY_sign_init’? [-Werror=implicit-function-declaration]
3814 | if (EVP_PKEY_sign_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_sign_init
../drivers/crypto/openssl/rte_openssl_pmd.c:3814:13: error: nested extern declaration of ‘EVP_PKEY_sign_message_init’ [-Werror=nested-externs]
In file included from /usr/include/openssl/evp.h:32,
from /usr/include/openssl/cmac.h:25,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:14:
../drivers/crypto/openssl/rte_openssl_pmd.c:3822:40: error: ‘OSSL_SIGNATURE_PARAM_DETERMINISTIC’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_DIGEST’?
3822 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_DETERMINISTIC, &deterministic),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3839:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
3839 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3854:40: error: ‘OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_PAD_MODE’?
3854 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MESSAGE_ENCODING, &has_ctx),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mldsa_verify_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3944:44: error: ‘struct <anonymous>’ has no member named ‘pctx’
3944 | EVP_PKEY_CTX *pctx = sess->u.ml_dsa.pctx;
| ^
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: implicit declaration of function ‘EVP_PKEY_verify_message_init’; did you mean ‘EVP_PKEY_verify_recover_init’? [-Werror=implicit-function-declaration]
4017 | if (EVP_PKEY_verify_message_init(cctx, sigalg, NULL) != 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EVP_PKEY_verify_recover_init
../drivers/crypto/openssl/rte_openssl_pmd.c:4017:13: error: nested extern declaration of ‘EVP_PKEY_verify_message_init’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4028:40: error: ‘OSSL_SIGNATURE_PARAM_MU’ undeclared (first use in this function); did you mean ‘OSSL_SIGNATURE_PARAM_KAT’?
4028 | OSSL_PARAM_int(OSSL_SIGNATURE_PARAM_MU, &has_mu),
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘process_asym_op’:
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: implicit declaration of function ‘process_openssl_mlkem_op’; did you mean ‘process_openssl_mlkem_op_evp’? [-Werror=implicit-function-declaration]
4313 | retval = process_openssl_mlkem_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mlkem_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4313:26: error: nested extern declaration of ‘process_openssl_mlkem_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: implicit declaration of function ‘process_openssl_mldsa_op’; did you mean ‘process_openssl_mldsa_op_evp’? [-Werror=implicit-function-declaration]
4320 | retval = process_openssl_mldsa_op(op, sess);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| process_openssl_mldsa_op_evp
../drivers/crypto/openssl/rte_openssl_pmd.c:4320:26: error: nested extern declaration of ‘process_openssl_mldsa_op’ [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c: At top level:
../drivers/crypto/openssl/rte_openssl_pmd.c:4070:1: error: ‘process_openssl_mldsa_op_evp’ defined but not used [-Werror=unused-function]
4070 | process_openssl_mldsa_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3601:1: error: ‘process_openssl_mlkem_op_evp’ defined but not used [-Werror=unused-function]
3601 | process_openssl_mlkem_op_evp(struct rte_crypto_op *cop,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2715/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2716/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2717/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o
[2718/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o
[2719/3630] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2720/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2721/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2722/3630] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2723/3630] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2025-09-30 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e04965$5e4qvb@ORVIESA003-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=gmuthukrishn@marvell.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).