jdk/src/share/native/sun/security/ec/impl/secitem.c

Print this page




  32  * Netscape Communications Corporation.
  33  * Portions created by the Initial Developer are Copyright (C) 1994-2000
  34  * the Initial Developer. All Rights Reserved.
  35  *
  36  * Contributor(s):
  37  *
  38  * Alternatively, the contents of this file may be used under the terms of
  39  * either the GNU General Public License Version 2 or later (the "GPL"), or
  40  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  41  * in which case the provisions of the GPL or the LGPL are applicable instead
  42  * of those above. If you wish to allow use of your version of this file only
  43  * under the terms of either the GPL or the LGPL, and not to allow others to
  44  * use your version of this file under the terms of the MPL, indicate your
  45  * decision by deleting the provisions above and replace them with the notice
  46  * and other provisions required by the GPL or the LGPL. If you do not delete
  47  * the provisions above, a recipient may use your version of this file under
  48  * the terms of any one of the MPL, the GPL or the LGPL.
  49  *
  50  *********************************************************************** */
  51 /*
  52  * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
  53  * Use is subject to license terms.
  54  */
  55 
  56 /*
  57  * Support routines for SECItem data structure.
  58  *
  59  * $Id: secitem.c,v 1.14 2006/05/22 22:24:34 wtchang%redhat.com Exp $
  60  */
  61 
  62 #include <sys/types.h>
  63 
  64 #ifndef _WIN32
  65 #ifndef __linux__
  66 #include <sys/systm.h>
  67 #endif /* __linux__ */
  68 #include <sys/param.h>
  69 #endif /* _WIN32 */
  70 
  71 #ifdef _KERNEL
  72 #include <sys/kmem.h>




  32  * Netscape Communications Corporation.
  33  * Portions created by the Initial Developer are Copyright (C) 1994-2000
  34  * the Initial Developer. All Rights Reserved.
  35  *
  36  * Contributor(s):
  37  *
  38  * Alternatively, the contents of this file may be used under the terms of
  39  * either the GNU General Public License Version 2 or later (the "GPL"), or
  40  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  41  * in which case the provisions of the GPL or the LGPL are applicable instead
  42  * of those above. If you wish to allow use of your version of this file only
  43  * under the terms of either the GPL or the LGPL, and not to allow others to
  44  * use your version of this file under the terms of the MPL, indicate your
  45  * decision by deleting the provisions above and replace them with the notice
  46  * and other provisions required by the GPL or the LGPL. If you do not delete
  47  * the provisions above, a recipient may use your version of this file under
  48  * the terms of any one of the MPL, the GPL or the LGPL.
  49  *
  50  *********************************************************************** */
  51 /*
  52  * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
  53  * Use is subject to license terms.
  54  */
  55 
  56 /*
  57  * Support routines for SECItem data structure.
  58  *
  59  * $Id: secitem.c,v 1.14 2006/05/22 22:24:34 wtchang%redhat.com Exp $
  60  */
  61 
  62 #include <sys/types.h>
  63 
  64 #ifndef _WIN32
  65 #ifndef __linux__
  66 #include <sys/systm.h>
  67 #endif /* __linux__ */
  68 #include <sys/param.h>
  69 #endif /* _WIN32 */
  70 
  71 #ifdef _KERNEL
  72 #include <sys/kmem.h>