Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
ecl-exp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ECCurveParamsStr

Defines

#define ECCurve_X9_62_PRIME_192V1   ECCurve_NIST_P192
#define ECCurve_X9_62_PRIME_256V1   ECCurve_NIST_P256
#define ECCurve_SECG_PRIME_192R1   ECCurve_NIST_P192
#define ECCurve_SECG_PRIME_224R1   ECCurve_NIST_P224
#define ECCurve_SECG_PRIME_256R1   ECCurve_NIST_P256
#define ECCurve_SECG_PRIME_384R1   ECCurve_NIST_P384
#define ECCurve_SECG_PRIME_521R1   ECCurve_NIST_P521
#define ECCurve_SECG_CHAR2_163K1   ECCurve_NIST_K163
#define ECCurve_SECG_CHAR2_163R2   ECCurve_NIST_B163
#define ECCurve_SECG_CHAR2_233K1   ECCurve_NIST_K233
#define ECCurve_SECG_CHAR2_233R1   ECCurve_NIST_B233
#define ECCurve_SECG_CHAR2_283K1   ECCurve_NIST_K283
#define ECCurve_SECG_CHAR2_283R1   ECCurve_NIST_B283
#define ECCurve_SECG_CHAR2_409K1   ECCurve_NIST_K409
#define ECCurve_SECG_CHAR2_409R1   ECCurve_NIST_B409
#define ECCurve_SECG_CHAR2_571K1   ECCurve_NIST_K571
#define ECCurve_SECG_CHAR2_571R1   ECCurve_NIST_B571
#define ECCurve_WTLS_3   ECCurve_NIST_K163
#define ECCurve_WTLS_4   ECCurve_SECG_CHAR2_113R1
#define ECCurve_WTLS_5   ECCurve_X9_62_CHAR2_PNB163V1
#define ECCurve_WTLS_6   ECCurve_SECG_PRIME_112R1
#define ECCurve_WTLS_7   ECCurve_SECG_PRIME_160R1
#define ECCurve_WTLS_10   ECCurve_NIST_K233
#define ECCurve_WTLS_11   ECCurve_NIST_B233
#define ECCurve_WTLS_12   ECCurve_NIST_P224

Typedefs

typedef struct ECCurveParamsStr

Enumerations

enum  ECField { ECField_GFp, ECField_GF2m, ECField_GFp, ECField_GF2m }
enum  ECCurveName {
  ECCurve_noName = 0, ECCurve_NIST_P192, ECCurve_NIST_P224, ECCurve_NIST_P256,
  ECCurve_NIST_P384, ECCurve_NIST_P521, ECCurve_NIST_K163, ECCurve_NIST_B163,
  ECCurve_NIST_K233, ECCurve_NIST_B233, ECCurve_NIST_K283, ECCurve_NIST_B283,
  ECCurve_NIST_K409, ECCurve_NIST_B409, ECCurve_NIST_K571, ECCurve_NIST_B571,
  ECCurve_X9_62_PRIME_192V2, ECCurve_X9_62_PRIME_192V3, ECCurve_X9_62_PRIME_239V1, ECCurve_X9_62_PRIME_239V2,
  ECCurve_X9_62_PRIME_239V3, ECCurve_X9_62_CHAR2_PNB163V1, ECCurve_X9_62_CHAR2_PNB163V2, ECCurve_X9_62_CHAR2_PNB163V3,
  ECCurve_X9_62_CHAR2_PNB176V1, ECCurve_X9_62_CHAR2_TNB191V1, ECCurve_X9_62_CHAR2_TNB191V2, ECCurve_X9_62_CHAR2_TNB191V3,
  ECCurve_X9_62_CHAR2_PNB208W1, ECCurve_X9_62_CHAR2_TNB239V1, ECCurve_X9_62_CHAR2_TNB239V2, ECCurve_X9_62_CHAR2_TNB239V3,
  ECCurve_X9_62_CHAR2_PNB272W1, ECCurve_X9_62_CHAR2_PNB304W1, ECCurve_X9_62_CHAR2_TNB359V1, ECCurve_X9_62_CHAR2_PNB368W1,
  ECCurve_X9_62_CHAR2_TNB431R1, ECCurve_SECG_PRIME_112R1, ECCurve_SECG_PRIME_112R2, ECCurve_SECG_PRIME_128R1,
  ECCurve_SECG_PRIME_128R2, ECCurve_SECG_PRIME_160K1, ECCurve_SECG_PRIME_160R1, ECCurve_SECG_PRIME_160R2,
  ECCurve_SECG_PRIME_192K1, ECCurve_SECG_PRIME_224K1, ECCurve_SECG_PRIME_256K1, ECCurve_SECG_CHAR2_113R1,
  ECCurve_SECG_CHAR2_113R2, ECCurve_SECG_CHAR2_131R1, ECCurve_SECG_CHAR2_131R2, ECCurve_SECG_CHAR2_163R1,
  ECCurve_SECG_CHAR2_193R1, ECCurve_SECG_CHAR2_193R2, ECCurve_SECG_CHAR2_239K1, ECCurve_WTLS_1,
  ECCurve_WTLS_8, ECCurve_WTLS_9, ECCurve_pastLastCurve, ECCurve_noName = 0,
  ECCurve_NIST_P192, ECCurve_NIST_P224, ECCurve_NIST_P256, ECCurve_NIST_P384,
  ECCurve_NIST_P521, ECCurve_NIST_K163, ECCurve_NIST_B163, ECCurve_NIST_K233,
  ECCurve_NIST_B233, ECCurve_NIST_K283, ECCurve_NIST_B283, ECCurve_NIST_K409,
  ECCurve_NIST_B409, ECCurve_NIST_K571, ECCurve_NIST_B571, ECCurve_X9_62_PRIME_192V2,
  ECCurve_X9_62_PRIME_192V3, ECCurve_X9_62_PRIME_239V1, ECCurve_X9_62_PRIME_239V2, ECCurve_X9_62_PRIME_239V3,
  ECCurve_X9_62_CHAR2_PNB163V1, ECCurve_X9_62_CHAR2_PNB163V2, ECCurve_X9_62_CHAR2_PNB163V3, ECCurve_X9_62_CHAR2_PNB176V1,
  ECCurve_X9_62_CHAR2_TNB191V1, ECCurve_X9_62_CHAR2_TNB191V2, ECCurve_X9_62_CHAR2_TNB191V3, ECCurve_X9_62_CHAR2_PNB208W1,
  ECCurve_X9_62_CHAR2_TNB239V1, ECCurve_X9_62_CHAR2_TNB239V2, ECCurve_X9_62_CHAR2_TNB239V3, ECCurve_X9_62_CHAR2_PNB272W1,
  ECCurve_X9_62_CHAR2_PNB304W1, ECCurve_X9_62_CHAR2_TNB359V1, ECCurve_X9_62_CHAR2_PNB368W1, ECCurve_X9_62_CHAR2_TNB431R1,
  ECCurve_SECG_PRIME_112R1, ECCurve_SECG_PRIME_112R2, ECCurve_SECG_PRIME_128R1, ECCurve_SECG_PRIME_128R2,
  ECCurve_SECG_PRIME_160K1, ECCurve_SECG_PRIME_160R1, ECCurve_SECG_PRIME_160R2, ECCurve_SECG_PRIME_192K1,
  ECCurve_SECG_PRIME_224K1, ECCurve_SECG_PRIME_256K1, ECCurve_SECG_CHAR2_113R1, ECCurve_SECG_CHAR2_113R2,
  ECCurve_SECG_CHAR2_131R1, ECCurve_SECG_CHAR2_131R2, ECCurve_SECG_CHAR2_163R1, ECCurve_SECG_CHAR2_193R1,
  ECCurve_SECG_CHAR2_193R2, ECCurve_SECG_CHAR2_239K1, ECCurve_WTLS_1, ECCurve_WTLS_8,
  ECCurve_WTLS_9, ECCurve_pastLastCurve
}

Class Documentation

struct ECCurveParamsStr

Definition at line 49 of file ecl-exp.h.

Collaboration diagram for ECCurveParamsStr:
Class Members
int cofactor
char * curvea
char * curveb
ECField field
char * genx
char * geny
char * irr
char * order
unsigned int size
char * text

Define Documentation

Definition at line 177 of file ecl-exp.h.

Definition at line 178 of file ecl-exp.h.

Definition at line 179 of file ecl-exp.h.

Definition at line 180 of file ecl-exp.h.

Definition at line 181 of file ecl-exp.h.

Definition at line 182 of file ecl-exp.h.

Definition at line 183 of file ecl-exp.h.

Definition at line 184 of file ecl-exp.h.

Definition at line 185 of file ecl-exp.h.

Definition at line 186 of file ecl-exp.h.

Definition at line 172 of file ecl-exp.h.

Definition at line 173 of file ecl-exp.h.

Definition at line 174 of file ecl-exp.h.

Definition at line 175 of file ecl-exp.h.

Definition at line 176 of file ecl-exp.h.

Definition at line 192 of file ecl-exp.h.

Definition at line 193 of file ecl-exp.h.

Definition at line 194 of file ecl-exp.h.

Definition at line 187 of file ecl-exp.h.

Definition at line 188 of file ecl-exp.h.

Definition at line 189 of file ecl-exp.h.

Definition at line 190 of file ecl-exp.h.

Definition at line 191 of file ecl-exp.h.

Definition at line 170 of file ecl-exp.h.

Definition at line 171 of file ecl-exp.h.


Typedef Documentation

typedef struct ECCurveParamsStr

Definition at line 61 of file ecl-exp.h.


Enumeration Type Documentation

Enumerator:
ECCurve_noName 
ECCurve_NIST_P192 
ECCurve_NIST_P224 
ECCurve_NIST_P256 
ECCurve_NIST_P384 
ECCurve_NIST_P521 
ECCurve_NIST_K163 
ECCurve_NIST_B163 
ECCurve_NIST_K233 
ECCurve_NIST_B233 
ECCurve_NIST_K283 
ECCurve_NIST_B283 
ECCurve_NIST_K409 
ECCurve_NIST_B409 
ECCurve_NIST_K571 
ECCurve_NIST_B571 
ECCurve_X9_62_PRIME_192V2 
ECCurve_X9_62_PRIME_192V3 
ECCurve_X9_62_PRIME_239V1 
ECCurve_X9_62_PRIME_239V2 
ECCurve_X9_62_PRIME_239V3 
ECCurve_X9_62_CHAR2_PNB163V1 
ECCurve_X9_62_CHAR2_PNB163V2 
ECCurve_X9_62_CHAR2_PNB163V3 
ECCurve_X9_62_CHAR2_PNB176V1 
ECCurve_X9_62_CHAR2_TNB191V1 
ECCurve_X9_62_CHAR2_TNB191V2 
ECCurve_X9_62_CHAR2_TNB191V3 
ECCurve_X9_62_CHAR2_PNB208W1 
ECCurve_X9_62_CHAR2_TNB239V1 
ECCurve_X9_62_CHAR2_TNB239V2 
ECCurve_X9_62_CHAR2_TNB239V3 
ECCurve_X9_62_CHAR2_PNB272W1 
ECCurve_X9_62_CHAR2_PNB304W1 
ECCurve_X9_62_CHAR2_TNB359V1 
ECCurve_X9_62_CHAR2_PNB368W1 
ECCurve_X9_62_CHAR2_TNB431R1 
ECCurve_SECG_PRIME_112R1 
ECCurve_SECG_PRIME_112R2 
ECCurve_SECG_PRIME_128R1 
ECCurve_SECG_PRIME_128R2 
ECCurve_SECG_PRIME_160K1 
ECCurve_SECG_PRIME_160R1 
ECCurve_SECG_PRIME_160R2 
ECCurve_SECG_PRIME_192K1 
ECCurve_SECG_PRIME_224K1 
ECCurve_SECG_PRIME_256K1 
ECCurve_SECG_CHAR2_113R1 
ECCurve_SECG_CHAR2_113R2 
ECCurve_SECG_CHAR2_131R1 
ECCurve_SECG_CHAR2_131R2 
ECCurve_SECG_CHAR2_163R1 
ECCurve_SECG_CHAR2_193R1 
ECCurve_SECG_CHAR2_193R2 
ECCurve_SECG_CHAR2_239K1 
ECCurve_WTLS_1 
ECCurve_WTLS_8 
ECCurve_WTLS_9 
ECCurve_pastLastCurve 
ECCurve_noName 
ECCurve_NIST_P192 
ECCurve_NIST_P224 
ECCurve_NIST_P256 
ECCurve_NIST_P384 
ECCurve_NIST_P521 
ECCurve_NIST_K163 
ECCurve_NIST_B163 
ECCurve_NIST_K233 
ECCurve_NIST_B233 
ECCurve_NIST_K283 
ECCurve_NIST_B283 
ECCurve_NIST_K409 
ECCurve_NIST_B409 
ECCurve_NIST_K571 
ECCurve_NIST_B571 
ECCurve_X9_62_PRIME_192V2 
ECCurve_X9_62_PRIME_192V3 
ECCurve_X9_62_PRIME_239V1 
ECCurve_X9_62_PRIME_239V2 
ECCurve_X9_62_PRIME_239V3 
ECCurve_X9_62_CHAR2_PNB163V1 
ECCurve_X9_62_CHAR2_PNB163V2 
ECCurve_X9_62_CHAR2_PNB163V3 
ECCurve_X9_62_CHAR2_PNB176V1 
ECCurve_X9_62_CHAR2_TNB191V1 
ECCurve_X9_62_CHAR2_TNB191V2 
ECCurve_X9_62_CHAR2_TNB191V3 
ECCurve_X9_62_CHAR2_PNB208W1 
ECCurve_X9_62_CHAR2_TNB239V1 
ECCurve_X9_62_CHAR2_TNB239V2 
ECCurve_X9_62_CHAR2_TNB239V3 
ECCurve_X9_62_CHAR2_PNB272W1 
ECCurve_X9_62_CHAR2_PNB304W1 
ECCurve_X9_62_CHAR2_TNB359V1 
ECCurve_X9_62_CHAR2_PNB368W1 
ECCurve_X9_62_CHAR2_TNB431R1 
ECCurve_SECG_PRIME_112R1 
ECCurve_SECG_PRIME_112R2 
ECCurve_SECG_PRIME_128R1 
ECCurve_SECG_PRIME_128R2 
ECCurve_SECG_PRIME_160K1 
ECCurve_SECG_PRIME_160R1 
ECCurve_SECG_PRIME_160R2 
ECCurve_SECG_PRIME_192K1 
ECCurve_SECG_PRIME_224K1 
ECCurve_SECG_PRIME_256K1 
ECCurve_SECG_CHAR2_113R1 
ECCurve_SECG_CHAR2_113R2 
ECCurve_SECG_CHAR2_131R1 
ECCurve_SECG_CHAR2_131R2 
ECCurve_SECG_CHAR2_163R1 
ECCurve_SECG_CHAR2_193R1 
ECCurve_SECG_CHAR2_193R2 
ECCurve_SECG_CHAR2_239K1 
ECCurve_WTLS_1 
ECCurve_WTLS_8 
ECCurve_WTLS_9 
ECCurve_pastLastCurve 

Definition at line 64 of file ecl-exp.h.

             {

       ECCurve_noName = 0,

       /* NIST prime curves */
       ECCurve_NIST_P192,
       ECCurve_NIST_P224,
       ECCurve_NIST_P256,
       ECCurve_NIST_P384,
       ECCurve_NIST_P521,

       /* NIST binary curves */
       ECCurve_NIST_K163,
       ECCurve_NIST_B163,
       ECCurve_NIST_K233,
       ECCurve_NIST_B233,
       ECCurve_NIST_K283,
       ECCurve_NIST_B283,
       ECCurve_NIST_K409,
       ECCurve_NIST_B409,
       ECCurve_NIST_K571,
       ECCurve_NIST_B571,

       /* ANSI X9.62 prime curves */
       /* ECCurve_X9_62_PRIME_192V1 == ECCurve_NIST_P192 */
       ECCurve_X9_62_PRIME_192V2,
       ECCurve_X9_62_PRIME_192V3,
       ECCurve_X9_62_PRIME_239V1,
       ECCurve_X9_62_PRIME_239V2,
       ECCurve_X9_62_PRIME_239V3,
       /* ECCurve_X9_62_PRIME_256V1 == ECCurve_NIST_P256 */

       /* ANSI X9.62 binary curves */
       ECCurve_X9_62_CHAR2_PNB163V1,
       ECCurve_X9_62_CHAR2_PNB163V2,
       ECCurve_X9_62_CHAR2_PNB163V3,
       ECCurve_X9_62_CHAR2_PNB176V1,
       ECCurve_X9_62_CHAR2_TNB191V1,
       ECCurve_X9_62_CHAR2_TNB191V2,
       ECCurve_X9_62_CHAR2_TNB191V3,
       ECCurve_X9_62_CHAR2_PNB208W1,
       ECCurve_X9_62_CHAR2_TNB239V1,
       ECCurve_X9_62_CHAR2_TNB239V2,
       ECCurve_X9_62_CHAR2_TNB239V3,
       ECCurve_X9_62_CHAR2_PNB272W1,
       ECCurve_X9_62_CHAR2_PNB304W1,
       ECCurve_X9_62_CHAR2_TNB359V1,
       ECCurve_X9_62_CHAR2_PNB368W1,
       ECCurve_X9_62_CHAR2_TNB431R1,

       /* SEC2 prime curves */
       ECCurve_SECG_PRIME_112R1,
       ECCurve_SECG_PRIME_112R2,
       ECCurve_SECG_PRIME_128R1,
       ECCurve_SECG_PRIME_128R2,
       ECCurve_SECG_PRIME_160K1,
       ECCurve_SECG_PRIME_160R1,
       ECCurve_SECG_PRIME_160R2,
       ECCurve_SECG_PRIME_192K1,
       /* ECCurve_SECG_PRIME_192R1 == ECCurve_NIST_P192 */
       ECCurve_SECG_PRIME_224K1,
       /* ECCurve_SECG_PRIME_224R1 == ECCurve_NIST_P224 */
       ECCurve_SECG_PRIME_256K1,
       /* ECCurve_SECG_PRIME_256R1 == ECCurve_NIST_P256 */
       /* ECCurve_SECG_PRIME_384R1 == ECCurve_NIST_P384 */
       /* ECCurve_SECG_PRIME_521R1 == ECCurve_NIST_P521 */

       /* SEC2 binary curves */
       ECCurve_SECG_CHAR2_113R1,
       ECCurve_SECG_CHAR2_113R2,
       ECCurve_SECG_CHAR2_131R1,
       ECCurve_SECG_CHAR2_131R2,
       /* ECCurve_SECG_CHAR2_163K1 == ECCurve_NIST_K163 */
       ECCurve_SECG_CHAR2_163R1,
       /* ECCurve_SECG_CHAR2_163R2 == ECCurve_NIST_B163 */
       ECCurve_SECG_CHAR2_193R1,
       ECCurve_SECG_CHAR2_193R2,
       /* ECCurve_SECG_CHAR2_233K1 == ECCurve_NIST_K233 */
       /* ECCurve_SECG_CHAR2_233R1 == ECCurve_NIST_B233 */
       ECCurve_SECG_CHAR2_239K1,
       /* ECCurve_SECG_CHAR2_283K1 == ECCurve_NIST_K283 */
       /* ECCurve_SECG_CHAR2_283R1 == ECCurve_NIST_B283 */
       /* ECCurve_SECG_CHAR2_409K1 == ECCurve_NIST_K409 */
       /* ECCurve_SECG_CHAR2_409R1 == ECCurve_NIST_B409 */
       /* ECCurve_SECG_CHAR2_571K1 == ECCurve_NIST_K571 */
       /* ECCurve_SECG_CHAR2_571R1 == ECCurve_NIST_B571 */

       /* WTLS curves */
       ECCurve_WTLS_1,
       /* there is no WTLS 2 curve */
       /* ECCurve_WTLS_3 == ECCurve_NIST_K163 */
       /* ECCurve_WTLS_4 == ECCurve_SECG_CHAR2_113R1 */
       /* ECCurve_WTLS_5 == ECCurve_X9_62_CHAR2_PNB163V1 */
       /* ECCurve_WTLS_6 == ECCurve_SECG_PRIME_112R1 */
       /* ECCurve_WTLS_7 == ECCurve_SECG_PRIME_160R1 */
       ECCurve_WTLS_8,
       ECCurve_WTLS_9,
       /* ECCurve_WTLS_10 == ECCurve_NIST_K233 */
       /* ECCurve_WTLS_11 == ECCurve_NIST_B233 */
       /* ECCurve_WTLS_12 == ECCurve_NIST_P224 */

       ECCurve_pastLastCurve
} ECCurveName;
enum ECField
Enumerator:
ECField_GFp 
ECField_GF2m 
ECField_GFp 
ECField_GF2m 

Definition at line 43 of file ecl-exp.h.