source: azure_iot_hub_riscv/trunk/wolfssl-4.4.0/user_settings.h@ 453

Last change on this file since 453 was 453, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 1.1 KB
Line 
1//#define DEBUG_WOLFSSL
2
3#define WOLFSSL_NO_SOCK
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
25#define WOLFSSL_CERT_EXT
26
27#define WC_RSA_BLINDING
28
29#define SINGLE_THREADED
30
31#define CUSTOM_RAND_GENERATE_SEED custom_rand_generate_seed
32
33#define WOLFSSL_USER_FILESYSTEM
34#include <stdio.h>
35#include <fcntl.h>
36
37#define XFILE FILE*
38#define XFOPEN fopen
39#define XFSEEK fseek
40#define XFTELL ftell
41#define XREWIND rewind
42#define XFREAD fread
43#define XFWRITE fwrite
44#define XFCLOSE fclose
45#define XSEEK_END SEEK_END
46#define XBADFILE NULL
47#define XFGETS fgets
48
49struct WOLFSSL;
50int EmbedReceive(struct WOLFSSL *ssl, char *buf, int sz, void *_ctx);
51int EmbedSend(struct WOLFSSL* ssl, char* buf, int sz, void* _ctx);
52
53/* WOLFSSL_USER_FILESYSTEM */
Note: See TracBrowser for help on using the repository browser.