ecl-exp.h revision f9fbec18f5b458b560ecf45d3db8e8bd56bf6942
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/*
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * ***** BEGIN LICENSE BLOCK *****
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Version: MPL 1.1/GPL 2.0/LGPL 2.1
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * The contents of this file are subject to the Mozilla Public License Version
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * 1.1 (the "License"); you may not use this file except in compliance with
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * the License. You may obtain a copy of the License at
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * http://www.mozilla.org/MPL/
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Software distributed under the License is distributed on an "AS IS" basis,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * for the specific language governing rights and limitations under the
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * License.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * The Original Code is the elliptic curve math library.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * The Initial Developer of the Original Code is
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Sun Microsystems, Inc.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Portions created by the Initial Developer are Copyright (C) 2003
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * the Initial Developer. All Rights Reserved.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Contributor(s):
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Alternatively, the contents of this file may be used under the terms of
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * either the GNU General Public License Version 2 or later (the "GPL"), or
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * in which case the provisions of the GPL or the LGPL are applicable instead
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * of those above. If you wish to allow use of your version of this file only
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * under the terms of either the GPL or the LGPL, and not to allow others to
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * use your version of this file under the terms of the MPL, indicate your
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * decision by deleting the provisions above and replace them with the notice
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * and other provisions required by the GPL or the LGPL. If you do not delete
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * the provisions above, a recipient may use your version of this file under
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * the terms of any one of the MPL, the GPL or the LGPL.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * ***** END LICENSE BLOCK ***** */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/*
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Use is subject to license terms.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers *
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers * Sun elects to use this software under the MPL license.
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#ifndef _ECL_EXP_H
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define _ECL_EXP_H
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#pragma ident "%Z%%M% %I% %E% SMI"
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/* Curve field type */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowerstypedef enum {
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECField_GFp,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECField_GF2m
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers} ECField;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/* Hexadecimal encoding of curve parameters */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowersstruct ECCurveParamsStr {
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *text;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECField field;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers unsigned int size;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *irr;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *curvea;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *curveb;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *genx;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *geny;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers char *order;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers int cofactor;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers};
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowerstypedef struct ECCurveParamsStr ECCurveParams;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/* Named curve parameters */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowerstypedef enum {
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_noName = 0,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* NIST prime curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_P192,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_P224,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_P256,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_P384,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_P521,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* NIST binary curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_K163,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_B163,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_K233,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_B233,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_K283,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_B283,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_K409,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_B409,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_K571,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_NIST_B571,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ANSI X9.62 prime curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_X9_62_PRIME_192V1 == ECCurve_NIST_P192 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_PRIME_192V2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_PRIME_192V3,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_PRIME_239V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_PRIME_239V2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_PRIME_239V3,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_X9_62_PRIME_256V1 == ECCurve_NIST_P256 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ANSI X9.62 binary curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB163V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB163V2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB163V3,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB176V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB191V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB191V2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB191V3,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB208W1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB239V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB239V2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB239V3,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB272W1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB304W1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB359V1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_PNB368W1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_X9_62_CHAR2_TNB431R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* SEC2 prime curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_112R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_112R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_128R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_128R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_160K1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_160R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_160R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_192K1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_PRIME_192R1 == ECCurve_NIST_P192 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_224K1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_PRIME_224R1 == ECCurve_NIST_P224 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_PRIME_256K1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_PRIME_256R1 == ECCurve_NIST_P256 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_PRIME_384R1 == ECCurve_NIST_P384 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_PRIME_521R1 == ECCurve_NIST_P521 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* SEC2 binary curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_113R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_113R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_131R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_131R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_163K1 == ECCurve_NIST_K163 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_163R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_163R2 == ECCurve_NIST_B163 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_193R1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_193R2,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_233K1 == ECCurve_NIST_K233 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_233R1 == ECCurve_NIST_B233 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_SECG_CHAR2_239K1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_283K1 == ECCurve_NIST_K283 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_283R1 == ECCurve_NIST_B283 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_409K1 == ECCurve_NIST_K409 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_409R1 == ECCurve_NIST_B409 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_571K1 == ECCurve_NIST_K571 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_SECG_CHAR2_571R1 == ECCurve_NIST_B571 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* WTLS curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_WTLS_1,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* there is no WTLS 2 curve */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_3 == ECCurve_NIST_K163 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_4 == ECCurve_SECG_CHAR2_113R1 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_5 == ECCurve_X9_62_CHAR2_PNB163V1 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_6 == ECCurve_SECG_PRIME_112R1 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_7 == ECCurve_SECG_PRIME_160R1 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_WTLS_8,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_WTLS_9,
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_10 == ECCurve_NIST_K233 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_11 == ECCurve_NIST_B233 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers /* ECCurve_WTLS_12 == ECCurve_NIST_P224 */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers ECCurve_pastLastCurve
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers} ECCurveName;
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers/* Aliased named curves */
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_X9_62_PRIME_192V1 ECCurve_NIST_P192
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_X9_62_PRIME_256V1 ECCurve_NIST_P256
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_PRIME_192R1 ECCurve_NIST_P192
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_PRIME_224R1 ECCurve_NIST_P224
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_PRIME_256R1 ECCurve_NIST_P256
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_PRIME_384R1 ECCurve_NIST_P384
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_PRIME_521R1 ECCurve_NIST_P521
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_163K1 ECCurve_NIST_K163
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_163R2 ECCurve_NIST_B163
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_233K1 ECCurve_NIST_K233
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_233R1 ECCurve_NIST_B233
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_283K1 ECCurve_NIST_K283
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_283R1 ECCurve_NIST_B283
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_409K1 ECCurve_NIST_K409
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_409R1 ECCurve_NIST_B409
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_571K1 ECCurve_NIST_K571
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_SECG_CHAR2_571R1 ECCurve_NIST_B571
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_3 ECCurve_NIST_K163
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_4 ECCurve_SECG_CHAR2_113R1
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_5 ECCurve_X9_62_CHAR2_PNB163V1
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_6 ECCurve_SECG_PRIME_112R1
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_7 ECCurve_SECG_PRIME_160R1
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_10 ECCurve_NIST_K233
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_11 ECCurve_NIST_B233
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#define ECCurve_WTLS_12 ECCurve_NIST_P224
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers
f9fbec18f5b458b560ecf45d3db8e8bd56bf6942mcpowers#endif /* _ECL_EXP_H */