oqs 2.4.0
oqs: ^2.4.0 copied to clipboard
Dart FFI bindings for liboqs — high-performance post-quantum cryptography (PQC) with ML-KEM, ML-DSA, Falcon, SPHINCS+ for key encapsulation and signatures.
2.4.0 #
Added #
- Per-platform library path configuration via
LibraryPathsclass LibraryPaths.fromBinaryRoot()factory for binary release integrationLibraryPaths.fromExtractedArchives()factory for separate platform archivesbinaryRootparameter toloadLibrary()for extracted release directories- iOS XCFramework support with
DynamicLibrary.process()static linking - Android ABI auto-detection from
Platform.version - Better error messages showing all attempted loading strategies
Changed #
- Improved library loading with more fallback strategies
- Enhanced
PackageRelativeStrategyto check binary release structure - Updated iOS loading to use static linking instead of dynamic library
Deprecated #
LibOQSLoader.customPath- useLibOQSLoader.customPathsinstead
Fixed #
- iOS library loading (was incorrectly trying to load
.dylib) - Android loading efficiency with ABI detection
- Memory safety in pointer operations with chunk-based copying