Commit Graph

10 Commits (master)

Author SHA1 Message Date
Koji Takeda 24993ad370 Use HAVE_DILITHIUM flag to judge ML-DSA enablement 2025-03-07 08:03:32 +09:00
Koji Takeda c59e5910d1 Fix details by hand 2025-03-03 16:14:07 +09:00
Devin AI b501989317 Support ML-DSA
Co-Authored-By: Koji Takeda <takeda@wolfssl.com>
2025-03-03 16:11:37 +09:00
Koji Takeda 2e2d9cd338 Remove the --enable-experimental configure option 2025-02-22 07:42:29 +09:00
Koji Takeda db90b836a2 Support ML-KEM 2025-02-21 17:04:40 +09:00
Jack Tjaden fd704f59dd Fix for jenkins test 2024-10-01 12:24:13 -06:00
Jack Tjaden b1a1dffbcf Added working test for chacha20poly1305 2024-09-26 13:22:12 -06:00
Jack Tjaden 6cbf8db220 Rough adding of chacha20poly1305 2024-09-13 14:23:14 -06:00
Lealem Amedie dc3a326d64 Add user settings path for scripts/user_settings_asm.sh during cmake 2023-04-19 12:52:59 +02:00
Hayden Roche 352219fc87 Make several improvements to the CFFI build process.
- Move _build_ffi.py to scripts/build_ffi.py. Do as little in the global
namespace of the script as possible by putting functionality into functions,
including a new main function.
- Improve feature detection by allowing user_settings.h in addition to
options.h. This is particularly useful on Windows.
- Add the windows directory. This contains subdirectories non_fips and
fips_ready, which each have a user_settings.h. The non_fips user_settings.h is
used by the build script to build on Windows with CMake, when not using
USE_LOCAL_WOLFSSL. The fips_ready user_settings.h is an example user_settings.h
that works with our FIPS Ready code and wolfcrypt-py.
- Improve Windows support. This commit modifies the way we build wolfSSL for
wolfcrypt-py on Windows. Instead of using CMake directly, we use it with
user_settings.h. This is typically how Windows users are building wolfSSL, and
it gets around some shortcoming of wolfSSL's CMake support (e.g. not all
required features are supported). Additionally, USE_LOCAL_WOLFSSL now works
properly on Windows. When using USE_LOCAL_WOLFSSL, it should point to a wolfSSL
source code directory. This works for FIPS bundles, too. Finally, for FIPS on
Windows, we only support DLL builds. The CFFI library (.pyd extension) requires
this DLL to work. build_ffi.py detects this scenario and copies the .dll into
the wolfcrypt package directory. I've modified setup.py to distribute the
.dll with the package.
- Add some missing FIPS gates. Testing against FIPS v2 triggered some errors.
Those are fixed in this commit.
2022-11-03 14:56:04 +01:00