jdk/src/share/native/sun/security/ec/impl/ecc_impl.h

Print this page




  34  * the Initial Developer. All Rights Reserved.
  35  *
  36  * Contributor(s):
  37  *   Dr Vipul Gupta <vipul.gupta@sun.com> and
  38  *   Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
  39  *
  40  * Alternatively, the contents of this file may be used under the terms of
  41  * either the GNU General Public License Version 2 or later (the "GPL"), or
  42  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  43  * in which case the provisions of the GPL or the LGPL are applicable instead
  44  * of those above. If you wish to allow use of your version of this file only
  45  * under the terms of either the GPL or the LGPL, and not to allow others to
  46  * use your version of this file under the terms of the MPL, indicate your
  47  * decision by deleting the provisions above and replace them with the notice
  48  * and other provisions required by the GPL or the LGPL. If you do not delete
  49  * the provisions above, a recipient may use your version of this file under
  50  * the terms of any one of the MPL, the GPL or the LGPL.
  51  *
  52  *********************************************************************** */
  53 /*
  54  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  55  * Use is subject to license terms.
  56  */
  57 
  58 #ifndef _ECC_IMPL_H
  59 #define _ECC_IMPL_H
  60 
  61 #ifdef __cplusplus
  62 extern "C" {
  63 #endif
  64 
  65 #include <sys/types.h>
  66 #include "ecl-exp.h"
  67 
  68 /*
  69  * Multi-platform definitions
  70  */
  71 #ifdef __linux__
  72 #define B_FALSE FALSE
  73 #define B_TRUE TRUE
  74 typedef unsigned char uint8_t;




  34  * the Initial Developer. All Rights Reserved.
  35  *
  36  * Contributor(s):
  37  *   Dr Vipul Gupta <vipul.gupta@sun.com> and
  38  *   Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
  39  *
  40  * Alternatively, the contents of this file may be used under the terms of
  41  * either the GNU General Public License Version 2 or later (the "GPL"), or
  42  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  43  * in which case the provisions of the GPL or the LGPL are applicable instead
  44  * of those above. If you wish to allow use of your version of this file only
  45  * under the terms of either the GPL or the LGPL, and not to allow others to
  46  * use your version of this file under the terms of the MPL, indicate your
  47  * decision by deleting the provisions above and replace them with the notice
  48  * and other provisions required by the GPL or the LGPL. If you do not delete
  49  * the provisions above, a recipient may use your version of this file under
  50  * the terms of any one of the MPL, the GPL or the LGPL.
  51  *
  52  *********************************************************************** */
  53 /*
  54  * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
  55  * Use is subject to license terms.
  56  */
  57 
  58 #ifndef _ECC_IMPL_H
  59 #define _ECC_IMPL_H
  60 
  61 #ifdef __cplusplus
  62 extern "C" {
  63 #endif
  64 
  65 #include <sys/types.h>
  66 #include "ecl-exp.h"
  67 
  68 /*
  69  * Multi-platform definitions
  70  */
  71 #ifdef __linux__
  72 #define B_FALSE FALSE
  73 #define B_TRUE TRUE
  74 typedef unsigned char uint8_t;