]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Use private data field for public-key algorithms master
authorMichael Brown <mcb30@ipxe.org>
Fri, 19 Jun 2026 13:53:03 +0000 (14:53 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 19 Jun 2026 13:54:03 +0000 (14:54 +0100)
commit846686325c6681b648f02a2275e6eef1991c979e
treee15dc038f79f7bc6731decfa5e4a958790012de4
parent2420211e7f0d81680e010b7b16aa42d365214271
[crypto] Use private data field for public-key algorithms

Following the example of commit 25072c1 ("[crypto] Use private data
field for key exchange algorithms"), extend the definition of a
public-key algorithm to include an opaque private data field, and use
this to eliminate the wrapper functions for PKCS#1 and RSA-PSS.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/crypto_null.c
src/crypto/ecdsa.c
src/crypto/rsa.c
src/include/ipxe/crypto.h