Skip to content

Conversation

ariawisp
Copy link

@ariawisp ariawisp commented Sep 7, 2025

What

  • Add CryptoKit implementations for EdDSA (Ed25519) and XDH (X25519).
  • Add Swift sources (SwiftEd.swift) used by the provider.
  • Wire algorithms in CryptoKitCryptographyProvider.
  • No Swift interop/Gradle task changes in this PR.
  • Decoding for DER/PEM unwraps to RAW (SPKI/PKCS#8) and then calls decodeRawWithRawRepresentation (public/private) per maintainer guidance.
  • Internal naming: rename inner types to EdPublicKey/EdPrivateKey and XPublicKey/XPrivateKey.

Why

  • Provide Apple platform support for Ed25519/X25519 behind the new core APIs.

Notes

…wrap-to-RAW+decodeRaw; encode hoists raw; rename *Key; use ObjectIdentifier OIDs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant