source: azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/user_settings.h

Last change on this file was 468, checked in by coas-nagasima, 3 years ago

Ethernet版でもビルドが通るよう変更。

  • 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#define XFPRINTF fprintf
52
53struct WOLFSSL;
54int EmbedReceive(struct WOLFSSL *ssl, char *buf, int sz, void *_ctx);
55int EmbedSend(struct WOLFSSL* ssl, char* buf, int sz, void* _ctx);
56
57/* WOLFSSL_USER_FILESYSTEM */
Note: See TracBrowser for help on using the repository browser.