You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building wolfssl with liboqs fails with clang (I'm using Clang 15) due to an implicit casting in wolfcrypt/src/port/liboqs/liboqs.c. Possibly the consequence of #7026
Fix implicit type conversion from size_t to word32 in liboqs.c source
file to make it build with clang.
FixeswolfSSL#7108.
Signed-off-by: Tobias Frauenschläger <[email protected]>
Contact Details
No response
Version
current master (commit 9db2077)
Description
Building wolfssl with liboqs fails with clang (I'm using Clang 15) due to an implicit casting in
wolfcrypt/src/port/liboqs/liboqs.c
. Possibly the consequence of #7026Reproduction steps
export CC=clang
git clone https://github.com/open-quantum-safe/liboqs.git
git clone --depth 1 https://github.com/wolfSSL/wolfssl.git
mkdir liboqs-install/
cd liboqs/
git checkout 0.8.0
mkdir build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(realpath ../../liboqs-install) -DOQS_USE_OPENSSL=0 ..
make -j$(nproc)
make install
cd ../../wolfssl/
autoreconf -ivf
./configure --enable-static --disable-examples --disable-crypttests --enable-aesccm --enable-aescfb --enable-aesctr --enable-aeseax --enable-aesgcm-stream --enable-aeskeywrap --enable-aesofb --enable-aessiv --enable-arc4 --enable-asn=original --enable-blake2 --enable-blake2s --enable-camellia --enable-certext --enable-cmac --enable-compkey --enable-crl --enable-cryptocb --enable-curve25519 --enable-curve448 --enable-des3 --enable-dsa --enable-dtls --enable-dtls13 --enable-dtlscid --enable-earlydata --enable-ecccustcurves --enable-ecccustcurves=all --enable-eccencrypt --enable-eccsi --enable-ed25519 --enable-ed25519-stream --enable-ed448 --enable-ed448-stream --enable-harden --enable-hkdf --enable-hrrcookie --enable-indef --enable-keygen --enable-md2 --enable-md4 --enable-nullcipher --enable-ocsp --enable-ocspstapling --enable-oldtls --enable-postauth --enable-psk --enable-pwdbased --enable-ripemd --enable-scrypt --enable-secure-renegotiation --enable-session-ticket --enable-shake128 --enable-shake256 --enable-siphash --enable-smallstack --enable-sni --enable-srp --enable-srtp --enable-sslv3 --enable-tls13 --enable-tlsv10 --enable-tlsx --enable-x963kdf --enable-xchacha --enable-xts --with-eccminsz=0 --enable-hpke --enable-ocspstapling2 --enable-pkcs7 --enable-dtls-frag-ch --with-liboqs=$(realpath ../liboqs-install/)
make
Relevant log output
The text was updated successfully, but these errors were encountered: