Skip to content

Add XECDH support - #965

Open
iomartin wants to merge 2 commits into
cisco:libacvp_2_3_0-throttlefrom
Eideticom:martin/xecdh
Open

iomartin wants to merge 2 commits into
cisco:libacvp_2_3_0-throttlefrom
Eideticom:martin/xecdh

Conversation

@iomartin

Copy link
Copy Markdown
Contributor

This adds XECDH support to the library and acvp_app, which was missing (Curve25519 and Curve448). It covers keygen, keyval and SSC (Shared Secret Computation)

Tested on the demo server.

Disclaimer: this was AI-generated.

iomartin and others added 2 commits October 16, 2026 10:33
Add support for testing XECDH keyGen, keyVer and SSC on Curve25519 and
Curve448.

Co-authored-by: Claude <noreply@anthropic.com>
Add the --xecdh option and an OpenSSL 3 handler for all three XECDH modes
on both curves.

The OpenSSL FIPS provider marks X25519 and X448 as unapproved from 3.4, so
XECDH is registered only for --disable_fips runs. Earlier versions seem
to mark it as FIPS-approved as bug:

   openssl/openssl#24099
   openssl/openssl#22054

Tested against the NIST demo server with OpenSSL 3.5.6.

Co-authored-by: Claude <noreply@anthropic.com>
@iomartin
iomartin changed the base branch from main to libacvp_2_3_0-throttle October 16, 2026 16:34
@abkarcher

Copy link
Copy Markdown
Contributor

Thanks! Sorry for the wait on this, but I should be able to get around looking at it after some other ongoing work. I should be making a 2.4.0 branch soon that would be a good fit things like this and the ASCON work I will finish porting in.

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.

2 participants