summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/p256.h
blob: 14d429cd96504b5cf2a4cbe8e06302aae2b2f14a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _IPXE_P256_H
#define _IPXE_P256_H

/** @file
 *
 * NIST P-256 elliptic curve
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FILE_SECBOOT ( PERMITTED );

#include <ipxe/weierstrass.h>

/** P-256 value length */
#define P256_LEN ( 256 / 8 )

extern struct elliptic_curve p256_curve;

#endif /* _IPXE_P256_H */