iPXE
Functions | Variables
p384.c File Reference

NIST P-384 elliptic curve. More...

#include <ipxe/p384.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
 WEIERSTRASS_CURVE (p384, p384_curve, P384_LEN, p384_prime, p384_a, p384_b, p384_base)
 P-384 elliptic curve. More...
 

Variables

static const uint8_t p384_prime [P384_LEN]
 P-384 field prime. More...
 
static const uint8_t p384_a [P384_LEN]
 P-384 constant "a". More...
 
static const uint8_t p384_b [P384_LEN]
 P-384 constant "b". More...
 
static const uint8_t p384_base [P384_LEN *2]
 P-384 base point. More...
 

Detailed Description

NIST P-384 elliptic curve.

Definition in file p384.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ WEIERSTRASS_CURVE()

WEIERSTRASS_CURVE ( p384  ,
p384_curve  ,
P384_LEN  ,
p384_prime  ,
p384_a  ,
p384_b  ,
p384_base   
)

P-384 elliptic curve.

Variable Documentation

◆ p384_prime

const uint8_t p384_prime[P384_LEN]
static
Initial value:
= {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff,
0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xff, 0xff
}

P-384 field prime.

Definition at line 35 of file p384.c.

◆ p384_a

const uint8_t p384_a[P384_LEN]
static
Initial value:
= {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff,
0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xff, 0xfc
}

P-384 constant "a".

Definition at line 44 of file p384.c.

◆ p384_b

const uint8_t p384_b[P384_LEN]
static
Initial value:
= {
0xb3, 0x31, 0x2f, 0xa7, 0xe2, 0x3e, 0xe7, 0xe4, 0x98, 0x8e, 0x05,
0x6b, 0xe3, 0xf8, 0x2d, 0x19, 0x18, 0x1d, 0x9c, 0x6e, 0xfe, 0x81,
0x41, 0x12, 0x03, 0x14, 0x08, 0x8f, 0x50, 0x13, 0x87, 0x5a, 0xc6,
0x56, 0x39, 0x8d, 0x8a, 0x2e, 0xd1, 0x9d, 0x2a, 0x85, 0xc8, 0xed,
0xd3, 0xec, 0x2a, 0xef
}

P-384 constant "b".

Definition at line 53 of file p384.c.

◆ p384_base

const uint8_t p384_base[P384_LEN *2]
static
Initial value:
= {
0xaa, 0x87, 0xca, 0x22, 0xbe, 0x8b, 0x05, 0x37, 0x8e, 0xb1, 0xc7,
0x1e, 0xf3, 0x20, 0xad, 0x74, 0x6e, 0x1d, 0x3b, 0x62, 0x8b, 0xa7,
0x9b, 0x98, 0x59, 0xf7, 0x41, 0xe0, 0x82, 0x54, 0x2a, 0x38, 0x55,
0x02, 0xf2, 0x5d, 0xbf, 0x55, 0x29, 0x6c, 0x3a, 0x54, 0x5e, 0x38,
0x72, 0x76, 0x0a, 0xb7, 0x36, 0x17, 0xde, 0x4a, 0x96, 0x26, 0x2c,
0x6f, 0x5d, 0x9e, 0x98, 0xbf, 0x92, 0x92, 0xdc, 0x29, 0xf8, 0xf4,
0x1d, 0xbd, 0x28, 0x9a, 0x14, 0x7c, 0xe9, 0xda, 0x31, 0x13, 0xb5,
0xf0, 0xb8, 0xc0, 0x0a, 0x60, 0xb1, 0xce, 0x1d, 0x7e, 0x81, 0x9d,
0x7a, 0x43, 0x1d, 0x7c, 0x90, 0xea, 0x0e, 0x5f
}

P-384 base point.

Definition at line 62 of file p384.c.