Imported Upstream version 3.10.2+dfsg

This commit is contained in:
Mario Fetka
2017-05-11 14:01:41 +02:00
commit 1893aafd38
715 changed files with 248801 additions and 0 deletions

1
ctaocrypt/src/aes.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/des3.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/hmac.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

29
ctaocrypt/src/misc.c Normal file
View File

@@ -0,0 +1,29 @@
/* misc.c
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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.
*
* wolfSSL 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
#ifdef NO_INLINE
#include <wolfssl/wolfcrypt/misc.h>
#else
/* for inline includes */
#define WOLFSSL_MISC_INCLUDED
#include <wolfcrypt/src/misc.c>
#endif

1
ctaocrypt/src/random.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/rsa.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/sha.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/sha256.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

1
ctaocrypt/src/sha512.c Normal file
View File

@@ -0,0 +1 @@
/* dummy file for autoconf */

View File

@@ -0,0 +1,54 @@
/* wolfcrypt_first.c
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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.
*
* wolfSSL 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
/* This file needs to be linked first in order to work correctly */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* in case user set HAVE_FIPS there */
#include <cyassl/ctaocrypt/settings.h>
#ifdef HAVE_FIPS
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$a")
#pragma const_seg(".fipsB$a")
#endif
/* read only start address */
const unsigned int wolfCrypt_FIPS_ro_start[] =
{ 0x1a2b3c4d, 0x00000001 };
/* first function of text/code segment */
int wolfCrypt_FIPS_first(void);
int wolfCrypt_FIPS_first(void)
{
return 0;
}
#endif /* HAVE_FIPS */

View File

@@ -0,0 +1,54 @@
/* wolfcrypt_last.c
*
* Copyright (C) 2006-2016 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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.
*
* wolfSSL 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
/* This file needs to be linked last in order to work correctly */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* in case user set HAVE_FIPS there */
#include <cyassl/ctaocrypt/settings.h>
#ifdef HAVE_FIPS
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$l")
#pragma const_seg(".fipsB$l")
#endif
/* last function of text/code segment */
int wolfCrypt_FIPS_last(void);
int wolfCrypt_FIPS_last(void)
{
return 0;
}
/* read only end address */
const unsigned int wolfCrypt_FIPS_ro_end[] =
{ 0x1a2b3c4d, 0xffffffff };
#endif /* HAVE_FIPS */