Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/native/sun/security/ec/impl/ec.h
38918 views
/*1* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.2* Use is subject to license terms.3*4* This library is free software; you can redistribute it and/or5* modify it under the terms of the GNU Lesser General Public6* License as published by the Free Software Foundation; either7* version 2.1 of the License, or (at your option) any later version.8*9* This library is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* Lesser General Public License for more details.13*14* You should have received a copy of the GNU Lesser General Public License15* along with this library; if not, write to the Free Software Foundation,16* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223/* *********************************************************************24*25* The Original Code is the Elliptic Curve Cryptography library.26*27* The Initial Developer of the Original Code is28* Sun Microsystems, Inc.29* Portions created by the Initial Developer are Copyright (C) 200330* the Initial Developer. All Rights Reserved.31*32* Contributor(s):33* Dr Vipul Gupta <[email protected]>, Sun Microsystems Laboratories34*35*********************************************************************** */3637#ifndef __ec_h_38#define __ec_h_3940#define EC_DEBUG 041#define EC_POINT_FORM_COMPRESSED_Y0 0x0242#define EC_POINT_FORM_COMPRESSED_Y1 0x0343#define EC_POINT_FORM_UNCOMPRESSED 0x0444#define EC_POINT_FORM_HYBRID_Y0 0x0645#define EC_POINT_FORM_HYBRID_Y1 0x074647#define ANSI_X962_CURVE_OID_TOTAL_LEN 1048#define SECG_CURVE_OID_TOTAL_LEN 74950#endif /* __ec_h_ */515253