Skip to content

Conversation

@josephnoir
Copy link
Contributor

Motivation:

Depending on the platform Swift Crypto Extras might use an
implementation backed by Security.framework, specifically for RSA. Since
BoringSSL is a necessary dependency on all platforms, we can deduplicate
the implementation and keep a single backend.

Modifications:

Remove the Security.framework implementation and tie the RSA backend to
BoringSSL.

Result:

Swift Crypto Extras always uses the BoringSSL backend for RSA.

Motivation:

Depending on the platform Swift Crypto Extras might use an
implementation backed by Security.framework, specifically for RSA. Since
BoringSSL is a necessary dependency on all platforms, we can deduplicate
the implementation and keep a single backend.

Modifications:

Remove the Security.framework implementation and tie the RSA backend to
BoringSSL.

Result:

Swift Crypto Extras always uses the BoringSSL backend for RSA.
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Jul 2, 2025
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love to see a negative diff, great stuff!

@Lukasa Lukasa enabled auto-merge (squash) July 2, 2025 01:08
@Lukasa Lukasa merged commit 9fb2fd8 into apple:main Jul 2, 2025
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants