apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 166 forks source link

Exclude AES from CMake #152

Closed yim-lee closed 1 year ago

yim-lee commented 1 year ago

SwiftPM doesn't need it and this would allow removal of CCryptoBoringSSL dependency on non-Darwin platforms, thus reducing SwiftPM size.

Also remove CryptoKitErrors_boring.swift in _CryptoExtras because the same util already exists in Crypto and code in _CryptoExtras can use that instead.

yim-lee commented 1 year ago

Need to add exclusions to update_cmakelists or else those files would keep getting re-added to CMakeLists