A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.

Dependents:   HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers wolfcrypt_first.c Source File

wolfcrypt_first.c

00001 /* wolfcrypt_first.c
00002  *
00003  * Copyright (C) 2006-2014 wolfSSL Inc.
00004  *
00005  * This file is part of CyaSSL.
00006  *
00007  * CyaSSL is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * CyaSSL is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
00020  */
00021 
00022 /* This file needs to be linked first in order to work correctly */
00023 
00024 #ifdef HAVE_CONFIG_H
00025     #include <config.h>
00026 #endif
00027 
00028 /* in case user set HAVE_FIPS there */
00029 #include <cyassl/ctaocrypt/settings.h>
00030 
00031 #ifdef HAVE_FIPS
00032 
00033 /* read only start address */
00034 const unsigned int wolfCrypt_FIPS_ro_start[] =
00035 { 0x1a2b3c4d, 0x00000001 };
00036 
00037 
00038 /* first function of text/code segment */
00039 int wolfCrypt_FIPS_first(void);
00040 int wolfCrypt_FIPS_first(void)
00041 {
00042     return 0;
00043 }
00044 
00045 
00046 #endif /* HAVE_FIPS */
00047