Last change
on this file since 466 was 464, checked in by coas-nagasima, 3 years ago |
WolfSSLとAzure IoT SDKを更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
1.2 KB
|
Line | |
---|
1 | //#define DEBUG_WOLFSSL
|
---|
2 |
|
---|
3 | #define WOLFSSL_LWIP
|
---|
4 | #define NO_WOLFSSL_DIR
|
---|
5 | #define NO_WRITEV
|
---|
6 |
|
---|
7 | #ifndef HAVE_LIBZ
|
---|
8 | #define HAVE_LIBZ
|
---|
9 | #endif
|
---|
10 | #define HAVE_ECC
|
---|
11 | #define HAVE_AESGCM
|
---|
12 | //#define HAVE_FIPS
|
---|
13 | #define HAVE_TLS_EXTENSIONS
|
---|
14 | #define HAVE_SNI
|
---|
15 | #define HAVE_SUPPORTED_CURVES
|
---|
16 |
|
---|
17 | #define ECC_TIMING_RESISTANT
|
---|
18 | #define TFM_TIMING_RESISTANT
|
---|
19 |
|
---|
20 | #define WOLFSSL_RIPEMD
|
---|
21 | #define WOLFSSL_SHA512
|
---|
22 | #define WOLFSSL_SHA384
|
---|
23 | #define WOLFSSL_SMALL_STACK
|
---|
24 | // curlで使用している
|
---|
25 | #define WOLFSSL_ALLOW_TLSV10
|
---|
26 |
|
---|
27 | #define WOLFSSL_CERT_EXT
|
---|
28 | //#define OPENSSL_EXTRA GR-SAKURAでROMが足らなくなる
|
---|
29 |
|
---|
30 | #define WC_RSA_BLINDING
|
---|
31 |
|
---|
32 | #define SINGLE_THREADED
|
---|
33 |
|
---|
34 | #define CUSTOM_RAND_GENERATE_SEED custom_rand_generate_seed
|
---|
35 |
|
---|
36 | #define WOLFSSL_USER_FILESYSTEM
|
---|
37 | #include <stdio.h>
|
---|
38 | #include <fcntl.h>
|
---|
39 |
|
---|
40 | #define XFILE FILE*
|
---|
41 | #define XFOPEN fopen
|
---|
42 | #define XFSEEK fseek
|
---|
43 | #define XFTELL ftell
|
---|
44 | #define XREWIND rewind
|
---|
45 | #define XFREAD fread
|
---|
46 | #define XFWRITE fwrite
|
---|
47 | #define XFCLOSE fclose
|
---|
48 | #define XSEEK_END SEEK_END
|
---|
49 | #define XBADFILE NULL
|
---|
50 | #define XFGETS fgets
|
---|
51 |
|
---|
52 | struct WOLFSSL;
|
---|
53 | int EmbedReceive(struct WOLFSSL *ssl, char *buf, int sz, void *_ctx);
|
---|
54 | int EmbedSend(struct WOLFSSL* ssl, char* buf, int sz, void* _ctx);
|
---|
55 |
|
---|
56 | /* WOLFSSL_USER_FILESYSTEM */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.