/*
* Use is subject to license terms.
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* *********************************************************************
*
* The Original Code is the elliptic curve math library.
*
* The Initial Developer of the Original Code is
* Sun Microsystems, Inc.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
*
*********************************************************************** */
#include "ecl.h"
#include "ecl-curve.h"
#include "ecl-priv.h"
#ifndef _KERNEL
#include <stdlib.h>
#include <string.h>
#endif
/* Duplicates an ECCurveParams */
{
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
#ifdef _KERNEL
#else
#endif
}
if (res != 1) {
return NULL;
}
return ret;
}
/* Construct ECCurveParams from an ECCurveName */
{
return NULL;
} else {
}
}
/* Free the memory allocated (if any) to an ECCurveParams object. */
void
{
return;
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
#ifdef _KERNEL
#else
#endif
}