mirror of
https://github.com/ipxe/ipxe
synced 2026-01-22 03:32:59 +03:00
[crypto] Add support for ECDSA signatures
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
19
src/include/ipxe/ecdsa.h
Normal file
19
src/include/ipxe/ecdsa.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _IPXE_ECDSA_H
|
||||
#define _IPXE_ECDSA_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Elliptic curve digital signature algorithm (ECDSA)
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
|
||||
#include <ipxe/crypto.h>
|
||||
|
||||
/** Uncompressed curve point */
|
||||
#define ECDSA_UNCOMPRESSED 0x04
|
||||
|
||||
extern struct pubkey_algorithm ecdsa_algorithm;
|
||||
|
||||
#endif /* _IPXE_ECDSA_H */
|
||||
@@ -444,6 +444,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define ERRFILE_weierstrass ( ERRFILE_OTHER | 0x00660000 )
|
||||
#define ERRFILE_efi_cacert ( ERRFILE_OTHER | 0x00670000 )
|
||||
#define ERRFILE_ecdhe ( ERRFILE_OTHER | 0x00680000 )
|
||||
#define ERRFILE_ecdsa ( ERRFILE_OTHER | 0x00690000 )
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user