Skip to content

veer: Add an ECDSA P-384 verify driver for Caliptra - #747

Merged
zhalvorsen merged 1 commit into
OpenPRoT:mainfrom
swenson:claude/veer-ecdsa-verify
Nov 18, 2026
Merged

zhalvorsen merged 1 commit into
OpenPRoT:mainfrom
swenson:claude/veer-ecdsa-verify

Conversation

@swenson

@swenson swenson commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds a VeeR driver that implements the EcdsaVerify HAL trait for P-384 by sending Caliptra's ECDSA384_SIGNATURE_VERIFY mailbox command. The caller passes the SHA-384 digest of the message.

The test verifies an RFC 6979 vector and checks that the driver rejects other digests, keys and signatures. It passes on the emulator and on the VCK190 FPGA. Only the FPGA runs the cases with a public key that is not a point on the curve because the Caliptra emulator panics when it gets such a key.

The driver implements the EcdsaVerify HAL trait with the
ECDSA384_SIGNATURE_VERIFY mailbox command. The test verifies an RFC 6979
vector and checks that the driver rejects other digests, keys and
signatures. It passes on the emulator and on the VCK190 FPGA.

Assisted-by: Claude:claude-fable-5-2
@swenson
swenson force-pushed the claude/veer-ecdsa-verify branch from 3aa1b52 to 9bfdb3e Compare November 18, 2026 23:31
@zhalvorsen
zhalvorsen merged commit a6b85d7 into OpenPRoT:main Nov 18, 2026
5 checks passed
@swenson

swenson commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

@swenson
swenson deleted the claude/veer-ecdsa-verify branch November 18, 2026 23:47
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