-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Description
Apple introduced ML-KEM support to CryptoKit that will be available on Apple Platform 26+. We should allow MLKem
to use CryptoKit on Apple platforms.
Because CryptoKit is an opinionated framework, it has a couple of omissions.
- No security category 1. That means no ML-KEM-512, only ML-KEM-768/1024.
- Seeds only for private keys. That means Decapsulation key import / export cannot be implemented, and PKCS#8 files will only support the
seed
CHOICE.- We could support
both
, but that would effectively mean ignoring theexpandedKey
, which does not feel like the right thing to do.
- We could support
- CryptoKit is primitives only, so this would mean no PKCS#12 and certificate support. macOS may support them, but it won't be in CryptoKit. If that support becomes available it will be tracked in a separate issue.