Skip to content

Add crypto callback only mode for curve25519#10832

Merged
bigbrett merged 4 commits into
wolfSSL:masterfrom
padelsbach:curve25519-cryptocb-only
Jul 22, 2026
Merged

Add crypto callback only mode for curve25519#10832
bigbrett merged 4 commits into
wolfSSL:masterfrom
padelsbach:curve25519-cryptocb-only

Conversation

@padelsbach

@padelsbach padelsbach commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Description

Companion PR to #10830. Applied for make_key and shared_secret operations. No streaming or async support.

Note: some fe_operations math routines linger due to some curve25519 operations without CRYPTO_CB support (regular or "only" mode). About 6kB of code can be trimmed in CB-only mode. I'm considering that as a follow-up change. GE math is fully trimmed however.

Testing

Added unit tests

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@padelsbach padelsbach self-assigned this Jul 1, 2026
@padelsbach
padelsbach force-pushed the curve25519-cryptocb-only branch from b8fc923 to d4e2e43 Compare July 6, 2026 15:36
@padelsbach
padelsbach marked this pull request as ready for review July 6, 2026 15:39
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

retest this please

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fenrir Automated Review — PR #10832

Scan targets checked: wolfcrypt-bugs, wolfcrypt-rs-bugs, wolfcrypt-src, wolfssl-bugs, wolfssl-src

No new issues found in the changed files. ✅

@bigbrett

bigbrett commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

@padelsbach CI failing

@padelsbach

padelsbach commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@Frauschi

Frauschi commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Jenkis retest this please.

Frauschi
Frauschi previously approved these changes Jul 8, 2026
@padelsbach
padelsbach force-pushed the curve25519-cryptocb-only branch 2 times, most recently from 3007402 to dafbb48 Compare July 13, 2026 16:20
Frauschi
Frauschi previously approved these changes Jul 13, 2026

@Frauschi Frauschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@padelsbach

Copy link
Copy Markdown
Contributor Author

@rizlik, can you take a look at this one now that ed25519 has merged?

@rizlik rizlik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a small comment

Comment thread wolfssl/wolfcrypt/settings.h Outdated
@padelsbach
padelsbach force-pushed the curve25519-cryptocb-only branch from 61854dd to 4c7cbf5 Compare July 20, 2026 14:34
@padelsbach
padelsbach requested a review from rizlik July 20, 2026 15:24

@rizlik rizlik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bigbrett
bigbrett merged commit e6d86b4 into wolfSSL:master Jul 22, 2026
341 of 342 checks passed
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.

6 participants