/* Loading of PEM encoded files with optional encryption * Copyright (C) 2001-2004 Andreas Steffen, Zuercher Hochschule Winterthur * Copyright (C) 2004-2008 Michael Richardson * Copyright (C) 2004-2009 Paul Wouters * Copyright (C) 2009 Avesh Agarwal * Copyright (C) 2012 Paul Wouters * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. See . * * This program 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 General Public License * for more details. * */ #include "certs.h" extern err_t pemtobin(chunk_t *blob); extern void do_3des_nss(u_int8_t *buf, size_t buf_len, PK11SymKey *key, u_int8_t *iv, bool enc);