/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1994-2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*********************************************************************** */
/*
* Support routines for SECItem data structure.
*
*/
#ifndef _WIN32
#if !defined(__linux__) && !defined(_ALLBSD_SOURCE)
#endif /* __linux__ || _ALLBSD_SOURCE */
#endif /* _WIN32 */
#ifdef _KERNEL
#else
#include <string.h>
#ifndef _WIN32
#include <strings.h>
#endif /* _WIN32 */
#include <assert.h>
#endif
#include "ec.h"
#include "ecl-curve.h"
#include "ecc_impl.h"
SECItem *
int kmflag)
{
}
} else {
}
goto loser;
}
} else {
}
if (len) {
} else {
}
goto loser;
}
} else {
}
if (mark) {
}
return(result);
if (mark) {
}
}
} else {
}
/*
* If item is not NULL, the above has set item->data and
* item->len to 0.
*/
}
return(NULL);
}
int kmflag)
{
if ( arena ) {
kmflag);
} else {
}
return SECFailure;
}
} else {
}
return SECSuccess;
}
void
{
if (zap) {
#ifdef _KERNEL
#else
#endif
if (freeit) {
#ifdef _KERNEL
#else
#endif
}
}
}