wolfssl/cyassl/ctaocrypt/asn.h

49 lines
1.4 KiB
C
Raw Normal View History

/* asn.h
2011-02-05 22:14:47 +03:00
*
2015-01-08 19:39:04 +03:00
* Copyright (C) 2006-2015 wolfSSL Inc.
2011-02-05 22:14:47 +03:00
*
2015-01-06 22:14:15 +03:00
* This file is part of wolfSSL. (formerly known as CyaSSL)
2011-02-05 22:14:47 +03:00
*
2015-01-06 22:14:15 +03:00
* wolfSSL is free software; you can redistribute it and/or modify
2011-02-05 22:14:47 +03:00
* 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.
*
2015-01-06 22:14:15 +03:00
* wolfSSL is distributed in the hope that it will be useful,
2011-02-05 22:14:47 +03:00
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
2014-04-12 01:58:58 +04:00
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
2011-02-05 22:14:47 +03:00
*/
2012-11-02 02:03:29 +04:00
#ifndef NO_ASN
2011-02-05 22:14:47 +03:00
#ifndef CTAO_CRYPT_ASN_H
#define CTAO_CRYPT_ASN_H
2015-01-09 20:06:50 +03:00
/* pull in compatibility for each include */
#include <cyassl/ctaocrypt/dh.h>
#include <cyassl/ctaocrypt/dsa.h>
#include <cyassl/ctaocrypt/sha.h>
#include <cyassl/ctaocrypt/md5.h>
#include <cyassl/ctaocrypt/asn_public.h> /* public interface */
#ifdef HAVE_ECC
#include <cyassl/ctaocrypt/ecc.h>
#endif
2015-01-07 08:23:20 +03:00
#include <wolfssl/wolfcrypt/asn.h>
2015-01-07 23:11:37 +03:00
2015-01-07 08:23:20 +03:00
#ifndef WOLFSSL_PEMCERT_TODER_DEFINED
2014-12-05 04:16:39 +03:00
#ifndef NO_FILESYSTEM
2015-01-07 08:23:20 +03:00
#define CyaSSL_PemCertToDer wolfSSL_PemCertToDer
2014-12-05 04:16:39 +03:00
#endif
2011-02-05 22:14:47 +03:00
#endif
#endif /* CTAO_CRYPT_ASN_H */
2012-11-02 02:03:29 +04:00
#endif /* !NO_ASN */