-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.sh
executable file
·50 lines (34 loc) · 1.29 KB
/
examples.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh
# get c Pre Processor Macros for all four dirs, both source dirs, and both
# header dirs while accounting for duplicates across all four
#---- Uncomment to run #
echo "./run m wolfssl/src wolfssl/wolfcrypt/src wolfssl/wolfssl wolfssl/wolfssl/wolfcrypt 4 0 > wolfssl-pp-all.txt"
echo "n" | ./run m wolfssl/src wolfssl/wolfcrypt/src wolfssl/wolfssl wolfssl/wolfssl/wolfcrypt 4 0 > wolfssl-pp-all.txt
#----#
# do the same as above but ignore duplicates across directories
#---- Uncomment to run #
#./run e wolfssl/src > wolfssl-pp.txt
#./run e wolfssl/wolfcrypt/src >> wolfssl-pp.txt
#./run e wolfssl/wolfssl >> wolfssl-pp.txt
#./run e wolfssl/wolfssl/wolfcrypt >> wolfssl-pp.txt
#----#
# run the benchmarks for all configure options found in ./configure -h output
# with the exception of those in the ignore_opts array found in the header
# "<wolfCFG-root>/include/configurator_common.h"
#---- Uncomment to run #
#echo "./run b"
#echo "n" | ./run b
#----#
# create a custom build that only includes a subset of wolfSSL functionality
#
# current custom supported builds are:
# aes_only
#
#---- Uncomment to run #
#./run c aes_only DEFAULT
#./run c rsa_pss_pkcs DEFAULT
#./run c rsa_pss_pkcs_sv_ned DEFAULT
#./run c sha256_ecc DEFAULT
#./run c sha512_only DEFAULT
#./run c ecc_only DEFAULT
#----#