Topic: Unable to enable RNG on wolfssl version 5.6.3
Hello All,
We are using WOLFSSL version 5.6.3-stable.
Compiling the wolfssl for x86 and arm arch and we are facing the compilation issue on enabling RNG.
Configure command that we are using to compile wolfssl for x86 arch:
./configure --prefix=/home/wolfssl/ --enable-static --enable-opensslall --enable-pkcs7 --enable-debug --enable-singlethreaded --disable-pkcs8 --disable-dh --disable-poly1305 --disable-md5 --disable-sha224 --disable-sha384 --disable-sha3 --disable-chacha --disable-examples --disable-crypttests --disable-benchmark --disable-tls13 --disable-harden --disable-aligndata --disable-eccshamir --disable-errorstrings --disable-errorqueue --disable-oldtls --disable-secure-renegotiation-info --disable-extended-master --disable-enc-then-mac --disable-asyncthreads --disable-ocsp --disable-rsa --disable-hashdrbg --disable-base64encode --disable-supportedcurves --disable-memory --disable-tlsv12 --disable-aesgcm --disable-pkcs12 CFLAGS="-DNO_WOLFSSL_CLIENT -DNO_WOLFSSL_SERVER -DNO_TLS -DNO_SHA -DNO_PWDBASED -DNO_SESSION_CACHE -DSMALL_SESSION_CACHE -DNO_DEV_URANDOM -DWOLFSSL_NO_SIGALG -DWOLFSSL_SP_NO_2048 -DWOLFSSL_SP_NO_3072 -DWOLFSSL_SP_NO_256 -DNO_RESUME_SUITE_CHECK -DWOLFSSL_AEAD_ONLY -DNO_FILESYSTEM -DNO_ASN_TIME -DNO_WOLSSL_IO -fPIC"
For arm arch:
./configure --host=arm-linux-gnueabihf --prefix=/home/wolfssl --disable-dependency-tracking --enable-static --enable-opensslall --enable-pkcs7 --enable-debug --enable-singlethreaded --disable-pkcs8 --disable-dh --disable-poly1305 --disable-md5 --disable-sha224 --disable-sha384 --disable-sha3 --disable-chacha --disable-examples --disable-crypttests --disable-benchmark --disable-tls13 --disable-harden --disable-aligndata --disable-eccshamir --disable-errorstrings --disable-errorqueue --disable-oldtls --disable-secure-renegotiation-info --disable-extended-master --disable-enc-then-mac --disable-asyncthreads --disable-ocsp --disable-rsa --disable-hashdrbg --disable-base64encode --disable-supportedcurves --disable-memory --disable-tlsv12 --disable-aesgcm --disable-pkcs12 --srcdir=/home/anika/git/linux-kernel/bootloader/wolfssl/wolfssl --enable-sys-ca-certs=no --enable-error-queue-per-thread=no --enable-x963kdf=no --enable-pwdbased=no --enable-oldnames=no --enable-filesystem=no --enable-debug=no CFLAGS="-DNO_WOLFSSL_CLIENT -DNO_WOLFSSL_SERVER -DNO_TLS -DNO_SHA -DNO_PWDBASED -DNO_SESSION_CACHE -DSMALL_SESSION_CACHE -DNO_DEV_URANDOM -DWOLFSSL_NO_SIGALG -DWOLFSSL_SP_NO_2048 -DWOLFSSL_SP_NO_3072 -DWOLFSSL_SP_NO_256 -DNO_RESUME_SUITE_CHECK -DWOLFSSL_AEAD_ONLY -DNO_FILESYSTEM -DNO_ASN_TIME -DNO_WOLSSL_IO -fPIC -fshort-wchar -fstack-check=no -fstack-protector-explicit -Wp,-U_FORTIFY_SOURCE -Os -flto=auto -ffat-lto-objects -flto-partition=balanced -fuse-linker-plugin -ffunction-sections -fdata-sections -Wl,--gc-sections -DSESSION_CERTS -DHAVE_ECC_DHE -Wp,-UHAVE_ERRNO_H -Wp,-UXINET_PTON -DWOLFSSL_USER_IO -DNO_FILESYSTEM -Wp,-UCloseSocket -DCTYPE_USER -DOPENSSL_EXTRA_X509_SMALL" CXXFLAGS="" LDFLAGS=""
Error: configure: error: Header file inconsistency detected -- error including wolfssl/openssl/aes.h
Please let us know whether we need to enable any new config?
Regards
Anika