* Rework canImport to just defines with platform conditions
* Soundness and make
---------
Co-authored-by: Cory Benfield <lukasa@apple.com>
(cherry picked from commit 9c1b699540)
Co-authored-by: Franz Busch <f.busch@apple.com>
* Bring over API files from macOS Ventura
* Implement the new API surface
This patch implements the new API surface, and removes anything that's
no longer compatible with the expected API surface from CryptoKit
Motivation:
At WWDC 2020 Apple updated the CryptoKit APIs. This PR brings those new
APIs to Swift Crypto. This brings Swift Crypto up-to-date with the
latest CryptoKit API support, including PEM/DER key support and HKDF API
extensions.
Modifications:
- Bring forward the CryptoKit API files
- Update to have API match the WWDC seed.
Result:
Users will have access to the seed APIs.