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
00ab4702
Commit
00ab4702
authored
Feb 06, 2015
by
Rich Evans
Browse files
cleanup library and some basic tests. Includes, add guards to includes
parent
e83ac1d7
Changes
100
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
25 additions
and
24 deletions
+25
-24
include/polarssl/aes.h
include/polarssl/aes.h
+1
-1
include/polarssl/arc4.h
include/polarssl/arc4.h
+1
-1
include/polarssl/asn1.h
include/polarssl/asn1.h
+2
-2
include/polarssl/base64.h
include/polarssl/base64.h
+1
-1
include/polarssl/bignum.h
include/polarssl/bignum.h
+2
-2
include/polarssl/blowfish.h
include/polarssl/blowfish.h
+1
-1
include/polarssl/camellia.h
include/polarssl/camellia.h
+1
-1
include/polarssl/cipher.h
include/polarssl/cipher.h
+2
-2
include/polarssl/cipher_wrap.h
include/polarssl/cipher_wrap.h
+1
-0
include/polarssl/ctr_drbg.h
include/polarssl/ctr_drbg.h
+0
-2
include/polarssl/debug.h
include/polarssl/debug.h
+2
-0
include/polarssl/des.h
include/polarssl/des.h
+1
-1
include/polarssl/entropy.h
include/polarssl/entropy.h
+2
-2
include/polarssl/entropy_poll.h
include/polarssl/entropy_poll.h
+2
-2
include/polarssl/error.h
include/polarssl/error.h
+1
-1
include/polarssl/havege.h
include/polarssl/havege.h
+1
-1
include/polarssl/md.h
include/polarssl/md.h
+1
-1
include/polarssl/md2.h
include/polarssl/md2.h
+1
-1
include/polarssl/md4.h
include/polarssl/md4.h
+1
-1
include/polarssl/md5.h
include/polarssl/md5.h
+1
-1
No files found.
include/polarssl/aes.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
include/polarssl/arc4.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if !defined(POLARSSL_ARC4_ALT)
// Regular implementation
...
...
include/polarssl/asn1.h
View file @
00ab4702
...
...
@@ -30,12 +30,12 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#if defined(POLARSSL_BIGNUM_C)
#include "bignum.h"
#endif
#include <string.h>
/**
* \addtogroup asn1_module
* \{
...
...
include/polarssl/base64.h
View file @
00ab4702
...
...
@@ -24,7 +24,7 @@
#ifndef POLARSSL_BASE64_H
#define POLARSSL_BASE64_H
#include <st
ring
.h>
#include <st
ddef
.h>
#define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL -0x002A
/**< Output buffer too small. */
#define POLARSSL_ERR_BASE64_INVALID_CHARACTER -0x002C
/**< Invalid character in input. */
...
...
include/polarssl/bignum.h
View file @
00ab4702
...
...
@@ -24,14 +24,14 @@
#ifndef POLARSSL_BIGNUM_H
#define POLARSSL_BIGNUM_H
#include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#if defined(POLARSSL_FS_IO)
#include <stdio.h>
#endif
...
...
include/polarssl/blowfish.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
include/polarssl/camellia.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
include/polarssl/cipher.h
View file @
00ab4702
...
...
@@ -33,6 +33,8 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#if defined(POLARSSL_GCM_C) || defined(POLARSSL_CCM_C)
#define POLARSSL_CIPHER_MODE_AEAD
#endif
...
...
@@ -41,8 +43,6 @@
#define POLARSSL_CIPHER_MODE_WITH_PADDING
#endif
#include <string.h>
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else
...
...
include/polarssl/cipher_wrap.h
View file @
00ab4702
...
...
@@ -31,6 +31,7 @@
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "cipher.h"
#ifdef __cplusplus
...
...
include/polarssl/ctr_drbg.h
View file @
00ab4702
...
...
@@ -24,8 +24,6 @@
#ifndef POLARSSL_CTR_DRBG_H
#define POLARSSL_CTR_DRBG_H
#include <string.h>
#include "aes.h"
#define POLARSSL_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED -0x0034
/**< The entropy source failed. */
...
...
include/polarssl/debug.h
View file @
00ab4702
...
...
@@ -29,7 +29,9 @@
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "ssl.h"
#if defined(POLARSSL_ECP_C)
#include "ecp.h"
#endif
...
...
include/polarssl/des.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
include/polarssl/entropy.h
View file @
00ab4702
...
...
@@ -24,14 +24,14 @@
#ifndef POLARSSL_ENTROPY_H
#define POLARSSL_ENTROPY_H
#include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#if defined(POLARSSL_SHA512_C) && !defined(POLARSSL_ENTROPY_FORCE_SHA256)
#include "sha512.h"
#define POLARSSL_ENTROPY_SHA512_ACCUMULATOR
...
...
include/polarssl/entropy_poll.h
View file @
00ab4702
...
...
@@ -24,14 +24,14 @@
#ifndef POLARSSL_ENTROPY_POLL_H
#define POLARSSL_ENTROPY_POLL_H
#include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
include/polarssl/error.h
View file @
00ab4702
...
...
@@ -24,7 +24,7 @@
#ifndef POLARSSL_ERROR_H
#define POLARSSL_ERROR_H
#include <st
ring
.h>
#include <st
ddef
.h>
/**
* Error code layout.
...
...
include/polarssl/havege.h
View file @
00ab4702
...
...
@@ -24,7 +24,7 @@
#ifndef POLARSSL_HAVEGE_H
#define POLARSSL_HAVEGE_H
#include <st
ring
.h>
#include <st
ddef
.h>
#define COLLECT_SIZE 1024
...
...
include/polarssl/md.h
View file @
00ab4702
...
...
@@ -26,7 +26,7 @@
#ifndef POLARSSL_MD_H
#define POLARSSL_MD_H
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
...
...
include/polarssl/md2.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#define POLARSSL_ERR_MD2_FILE_IO_ERROR -0x0070
/**< Read/write error in file. */
...
...
include/polarssl/md4.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
include/polarssl/md5.h
View file @
00ab4702
...
...
@@ -30,7 +30,7 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <st
ring
.h>
#include <st
ddef
.h>
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h>
...
...
Prev
1
2
3
4
5
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