Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
fa6a620b
Commit
fa6a620b
authored
Oct 28, 2013
by
Paul Bakker
Browse files
Defines for UEFI environment under MSVC added
parent
178d9bac
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
32 additions
and
20 deletions
+32
-20
ChangeLog
ChangeLog
+1
-0
include/polarssl/aes.h
include/polarssl/aes.h
+1
-1
include/polarssl/bignum.h
include/polarssl/bignum.h
+1
-1
include/polarssl/blowfish.h
include/polarssl/blowfish.h
+1
-1
include/polarssl/camellia.h
include/polarssl/camellia.h
+1
-1
include/polarssl/compat-1.2.h
include/polarssl/compat-1.2.h
+8
-1
include/polarssl/des.h
include/polarssl/des.h
+1
-1
include/polarssl/gcm.h
include/polarssl/gcm.h
+1
-1
include/polarssl/md4.h
include/polarssl/md4.h
+1
-1
include/polarssl/md5.h
include/polarssl/md5.h
+1
-1
include/polarssl/padlock.h
include/polarssl/padlock.h
+1
-1
include/polarssl/pbkdf2.h
include/polarssl/pbkdf2.h
+1
-1
include/polarssl/pkcs5.h
include/polarssl/pkcs5.h
+1
-1
include/polarssl/sha1.h
include/polarssl/sha1.h
+1
-1
include/polarssl/sha256.h
include/polarssl/sha256.h
+1
-1
include/polarssl/xtea.h
include/polarssl/xtea.h
+1
-1
library/base64.c
library/base64.c
+1
-1
library/cipher.c
library/cipher.c
+1
-1
library/debug.c
library/debug.c
+6
-2
library/entropy_poll.c
library/entropy_poll.c
+1
-1
No files found.
ChangeLog
View file @
fa6a620b
...
...
@@ -17,6 +17,7 @@ Bugfix
* Const correctness
* cert_write with selfsign should use issuer_name as subject_name
* Fix ECDSA corner case: missing reduction mod N (found by DualTachyon)
* Defines to handle UEFI environment under MSVC
= PolarSSL 1.3.1 released on 2013-10-15
Features
...
...
include/polarssl/aes.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/bignum.h
View file @
fa6a620b
...
...
@@ -32,7 +32,7 @@
#include "config.h"
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
#if (_MSC_VER <= 1200)
typedef
signed
short
int16_t
;
...
...
include/polarssl/blowfish.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/camellia.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/compat-1.2.h
View file @
fa6a620b
...
...
@@ -32,7 +32,14 @@
// Comment out to disable prototype change warnings
#define SHOW_PROTOTYPE_CHANGE_WARNINGS
#if defined _MSC_VER
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
#if defined(__ARMCC_VERSION) && !defined(inline)
#define inline __inline
#endif
/* __ARMCC_VERSION */
#if defined(_MSC_VER)
// MSVC does not support #warning
#undef SHOW_PROTOTYPE_CHANGE_WARNINGS
#endif
...
...
include/polarssl/des.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/gcm.h
View file @
fa6a620b
...
...
@@ -29,7 +29,7 @@
#include "cipher.h"
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
typedef
UINT64
uint64_t
;
...
...
include/polarssl/md4.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/md5.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/padlock.h
View file @
fa6a620b
...
...
@@ -37,7 +37,7 @@
#define POLARSSL_HAVE_X86
#endif
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
INT32
int32_t
;
#else
...
...
include/polarssl/pbkdf2.h
View file @
fa6a620b
...
...
@@ -34,7 +34,7 @@
#include "md.h"
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/pkcs5.h
View file @
fa6a620b
...
...
@@ -34,7 +34,7 @@
#include "asn1.h"
#include "md.h"
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/sha1.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/sha256.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
include/polarssl/xtea.h
View file @
fa6a620b
...
...
@@ -31,7 +31,7 @@
#include <string.h>
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
library/base64.c
View file @
fa6a620b
...
...
@@ -29,7 +29,7 @@
#include "polarssl/base64.h"
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
typedef
UINT32
uint32_t
;
#else
...
...
library/cipher.c
View file @
fa6a620b
...
...
@@ -44,7 +44,7 @@
#define POLARSSL_CIPHER_MODE_STREAM
#endif
#if defined
_MSC_VER && !defined strcasecmp
#if defined
(
_MSC_VER
)
&& !defined strcasecmp
#define strcasecmp _stricmp
#endif
...
...
library/debug.c
View file @
fa6a620b
...
...
@@ -32,11 +32,15 @@
#include <stdarg.h>
#include <stdlib.h>
#if defined _MSC_VER && !defined snprintf
#if defined(EFIX64) || defined(EFI32)
#include <stdio.h>
#endif
#if defined(_MSC_VER) && !defined snprintf
#define snprintf _snprintf
#endif
#if defined
_MSC_VER && !defined vsnprintf
#if defined
(
_MSC_VER
)
&& !defined vsnprintf
#define vsnprintf _vsnprintf
#endif
...
...
library/entropy_poll.c
View file @
fa6a620b
...
...
@@ -38,7 +38,7 @@
#endif
#if !defined(POLARSSL_NO_PLATFORM_ENTROPY)
#if defined(_WIN32)
#if defined(_WIN32)
&& !defined(EFIX64) && !defined(EFI32)
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x0400
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment