Compare commits
975 Commits
v5.8.2-sta
...
TLS13-ciph
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0767cb84bf | ||
|
|
5e2fd78113 | ||
|
|
29c2f15a8f | ||
|
|
c56ea55f89 | ||
|
|
7cfffd5bbc | ||
|
|
92fffa166b | ||
|
|
3fe534e3a2 | ||
|
|
ca920edbd0 | ||
|
|
fbb7ae2257 | ||
|
|
3296e6a1f0 | ||
|
|
6914f08f5e | ||
|
|
798b16dcef | ||
|
|
32b00fd10b | ||
|
|
4c273a6f3f | ||
|
|
e323fb9675 | ||
|
|
2db1c7a522 | ||
|
|
4da365214a | ||
|
|
d84564217c | ||
|
|
702f6ce94f | ||
|
|
f54ca0d481 | ||
|
|
967f520c28 | ||
|
|
0fa2274a16 | ||
|
|
0771bc42d6 | ||
|
|
2c47675194 | ||
|
|
3af60ff85d | ||
|
|
b7ade58c52 | ||
|
|
9c1526c90d | ||
|
|
f977004dca | ||
|
|
9e9a7392d4 | ||
|
|
ea4311666e | ||
|
|
8b3eaa0eff | ||
|
|
fdec53c4c9 | ||
|
|
0cf3728ca0 | ||
|
|
b45217db00 | ||
|
|
22ab16df97 | ||
|
|
88373d8cb5 | ||
|
|
4f4826ae92 | ||
|
|
8654599e61 | ||
|
|
0d49df7735 | ||
|
|
4c5bc5f8fe | ||
|
|
222f6084f8 | ||
|
|
58bd6a8d94 | ||
|
|
a96b35c0ff | ||
|
|
f208716b80 | ||
|
|
53a20f4928 | ||
|
|
f376c8d910 | ||
|
|
3416a0f70e | ||
|
|
e02de78507 | ||
|
|
98d84eb435 | ||
|
|
ca51fda3bb | ||
|
|
15ecc2e4da | ||
|
|
ec60d88f82 | ||
|
|
9b2f7a371f | ||
|
|
78f2e65da6 | ||
|
|
2b8f83fd8d | ||
|
|
d3de6305e8 | ||
|
|
eecf82362e | ||
|
|
bd2cc5ba5c | ||
|
|
c2377fd266 | ||
|
|
975033c64f | ||
|
|
6e826583a3 | ||
|
|
0d7fe2f0a4 | ||
|
|
3ebc0c5f99 | ||
|
|
ed970e7cd8 | ||
|
|
0355a31192 | ||
|
|
08db159c5d | ||
|
|
9780137962 | ||
|
|
3ec882cd66 | ||
|
|
aba0246550 | ||
|
|
b0a7f5938c | ||
|
|
8077551ba8 | ||
|
|
aa0b37a7e5 | ||
|
|
fe69a7cf5a | ||
|
|
97e9fa09bd | ||
|
|
3d99090bcb | ||
|
|
b379de4119 | ||
|
|
d73af7ab77 | ||
|
|
797194f85b | ||
|
|
958fa1af60 | ||
|
|
6e583a01f1 | ||
|
|
572776e685 | ||
|
|
6885573d3d | ||
|
|
9fdcd2e72a | ||
|
|
7f0e575ed7 | ||
|
|
54dc060579 | ||
|
|
4b93e3ecf7 | ||
|
|
f95cb4e9bf | ||
|
|
abec842c59 | ||
|
|
656fe3da7c | ||
|
|
b82cccce21 | ||
|
|
d47108c97f | ||
|
|
e4d47fb5c7 | ||
|
|
e0eac95fc9 | ||
|
|
0714c535f1 | ||
|
|
a43e416f66 | ||
|
|
720b8e117c | ||
|
|
9a4fa0df2c | ||
|
|
33be31aeea | ||
|
|
bb284247b3 | ||
|
|
412a78261d | ||
|
|
6855325bf8 | ||
|
|
0127571238 | ||
|
|
17a08b9e36 | ||
|
|
574067e204 | ||
|
|
5922b5def5 | ||
|
|
78ff20569e | ||
|
|
7cbcd0b00d | ||
|
|
b6cfdcb758 | ||
|
|
f07cd264fe | ||
|
|
9273c00566 | ||
|
|
643cbe127d | ||
|
|
7085421dd0 | ||
|
|
299257eae9 | ||
|
|
bac055dc14 | ||
|
|
a2b3af095d | ||
|
|
9c031608ef | ||
|
|
f1f2423f3c | ||
|
|
5425894127 | ||
|
|
c5ae76e40d | ||
|
|
3209d264b8 | ||
|
|
d45678472d | ||
|
|
d260493642 | ||
|
|
7b7f9a4fe0 | ||
|
|
c14b1a0504 | ||
|
|
df79b1062f | ||
|
|
d7807d39e0 | ||
|
|
8c60b7b250 | ||
|
|
9b90ea83eb | ||
|
|
097cd576ff | ||
|
|
e546d319c1 | ||
|
|
7aec2a8280 | ||
|
|
1d64a4ed8f | ||
|
|
a4be322fd6 | ||
|
|
1c8e7885b4 | ||
|
|
bc72ac375e | ||
|
|
ef92114347 | ||
|
|
bfa04ca5be | ||
|
|
2e281ae2c6 | ||
|
|
50521699af | ||
|
|
993ecad16a | ||
|
|
85bfc49711 | ||
|
|
d883a950d2 | ||
|
|
070923a373 | ||
|
|
e6af5bcd4f | ||
|
|
a1d000cede | ||
|
|
76abc43812 | ||
|
|
c825d0b34c | ||
|
|
7ef560c188 | ||
|
|
594a3bc963 | ||
|
|
4669aaeaed | ||
|
|
7bbe15936d | ||
|
|
2f2d5b37fd | ||
|
|
a6cb6170b6 | ||
|
|
91a526c218 | ||
|
|
093cc04076 | ||
|
|
d54f5e7c6a | ||
|
|
c9cc701097 | ||
|
|
1a779b3f73 | ||
|
|
7524552b1a | ||
|
|
c145b7ee81 | ||
|
|
d62b1068d2 | ||
|
|
1ed1b83aa5 | ||
|
|
a28e107722 | ||
|
|
62deeedb52 | ||
|
|
4282ad38ec | ||
|
|
c354202f11 | ||
|
|
2127365559 | ||
|
|
f087b1300c | ||
|
|
67c2d80470 | ||
|
|
6ff47a7a4c | ||
|
|
61a277c262 | ||
|
|
b75be94f0d | ||
|
|
5b8115ed8f | ||
|
|
33b08ed136 | ||
|
|
3e85b572f3 | ||
|
|
985a090adc | ||
|
|
7f5d02c36b | ||
|
|
f376512692 | ||
|
|
27212312f1 | ||
|
|
df4a2120c2 | ||
|
|
b801396d52 | ||
|
|
36b64fb5ae | ||
|
|
3bd5a30a77 | ||
|
|
b1f2ff73ed | ||
|
|
be301f93da | ||
|
|
dc45a6f340 | ||
|
|
4daab8a813 | ||
|
|
520d9501af | ||
|
|
d60e4ddbd1 | ||
|
|
58e37067ef | ||
|
|
821dc5cb13 | ||
|
|
8533bc803b | ||
|
|
4964a1760a | ||
|
|
ce610db4e8 | ||
|
|
7e6c86a6c3 | ||
|
|
9c3a0e3a67 | ||
|
|
936e350c63 | ||
|
|
1134d246f7 | ||
|
|
b07bc74a71 | ||
|
|
818d1e37eb | ||
|
|
c1339abc05 | ||
|
|
6f9ca6cb52 | ||
|
|
0eb7ad0ead | ||
|
|
90e0857d2d | ||
|
|
259670055a | ||
|
|
be1428d108 | ||
|
|
11d2f4894e | ||
|
|
8b4f816ae7 | ||
|
|
e6ca4d15e2 | ||
|
|
9c1462a9ec | ||
|
|
ca552cc345 | ||
|
|
279238ce63 | ||
|
|
c1032a8cb6 | ||
|
|
5adf392d56 | ||
|
|
3f9e2e5baa | ||
|
|
00c936c29e | ||
|
|
f1faefed91 | ||
|
|
26ba17b48e | ||
|
|
d86575c766 | ||
|
|
0dca3bc24d | ||
|
|
4d6418f31a | ||
|
|
7fa53c8c71 | ||
|
|
bd4099d2d7 | ||
|
|
28c78b5c0c | ||
|
|
fba8cab200 | ||
|
|
525c212d1c | ||
|
|
987bf2fe2e | ||
|
|
714abfa1c0 | ||
|
|
aba9ee4015 | ||
|
|
9881c95c46 | ||
|
|
a36dd35e59 | ||
|
|
2bbc3a0ae2 | ||
|
|
08f5c3e8b9 | ||
|
|
d87ca70048 | ||
|
|
01dc28ad31 | ||
|
|
65bb68b6c0 | ||
|
|
036c66c777 | ||
|
|
c091c8b7ba | ||
|
|
69f236be0a | ||
|
|
6a0be6a7f7 | ||
|
|
d2f819a2f6 | ||
|
|
d475985062 | ||
|
|
e142a9629f | ||
|
|
354c576c96 | ||
|
|
7a43732daa | ||
|
|
4faa21a74a | ||
|
|
8e7f77db76 | ||
|
|
5280bfb89a | ||
|
|
f492abfe9e | ||
|
|
8969e5f36a | ||
|
|
9cf08afbbb | ||
|
|
f508b44f0f | ||
|
|
b924e9a905 | ||
|
|
5ee42402ae | ||
|
|
6fb547a1ae | ||
|
|
e8d9f91868 | ||
|
|
581e86c178 | ||
|
|
0d588b446c | ||
|
|
d0909991fb | ||
|
|
0c4feb0aa6 | ||
|
|
d6aa157187 | ||
|
|
6ee660841b | ||
|
|
0727bae09e | ||
|
|
a22d239bfd | ||
|
|
d88ab84b9f | ||
|
|
058686b829 | ||
|
|
c111c5bacc | ||
|
|
36c953dd8f | ||
|
|
88a55cdb71 | ||
|
|
8d41d1ca65 | ||
|
|
832e23a5f7 | ||
|
|
3746164d60 | ||
|
|
790808b172 | ||
|
|
0c4f5879d8 | ||
|
|
250e19a682 | ||
|
|
f9b666dd8a | ||
|
|
53bbf7f2d7 | ||
|
|
91bf738025 | ||
|
|
1de2ad48bd | ||
|
|
cadea76e43 | ||
|
|
c771167127 | ||
|
|
21a66ec36b | ||
|
|
75097f3e09 | ||
|
|
1602ed2f3a | ||
|
|
7c7040da24 | ||
|
|
204eb96d2f | ||
|
|
014f55fe10 | ||
|
|
3534fad3ee | ||
|
|
4280b52bff | ||
|
|
4b7a2b677b | ||
|
|
77dcbb5603 | ||
|
|
b2c105d5f7 | ||
|
|
6fbd101f7d | ||
|
|
e877fa747d | ||
|
|
dd22fa3243 | ||
|
|
f3428295f6 | ||
|
|
4f0836eb73 | ||
|
|
9872207702 | ||
|
|
e67b85724e | ||
|
|
bae25afa40 | ||
|
|
adc9146035 | ||
|
|
83336e3436 | ||
|
|
6b0e24eed2 | ||
|
|
610d8e5366 | ||
|
|
f4b8f844b2 | ||
|
|
fac53abc14 | ||
|
|
c161cbd9f3 | ||
|
|
a61d79d154 | ||
|
|
b5c5854064 | ||
|
|
6bda10abd0 | ||
|
|
3921362250 | ||
|
|
75a6621c63 | ||
|
|
7a3db09ddd | ||
|
|
b2c5eb51d8 | ||
|
|
e47be2163a | ||
|
|
f713cdb5e0 | ||
|
|
9debdda1fa | ||
|
|
a081a033fd | ||
|
|
e4b7f66927 | ||
|
|
8a6297d42b | ||
|
|
aa56c40d30 | ||
|
|
f8c2e9c000 | ||
|
|
dbc1ecc376 | ||
|
|
d9f8e15fff | ||
|
|
46281a2c17 | ||
|
|
a986b03f53 | ||
|
|
42238c57b7 | ||
|
|
7502cbaa3e | ||
|
|
490f20d8f8 | ||
|
|
9633248b49 | ||
|
|
f767bd2851 | ||
|
|
d1ba8eb9d0 | ||
|
|
f1d014aecd | ||
|
|
f070ae1024 | ||
|
|
883da3dd35 | ||
|
|
5efdc6b7b6 | ||
|
|
ed506a5e4d | ||
|
|
bd9f7b5b87 | ||
|
|
3f460b40bc | ||
|
|
29e2f21fff | ||
|
|
db4d2af935 | ||
|
|
38df498db0 | ||
|
|
f4d929593f | ||
|
|
7c64292851 | ||
|
|
8233d0d8a2 | ||
|
|
13f8f66281 | ||
|
|
b32c1aa15c | ||
|
|
10365d6082 | ||
|
|
6fbbdf9324 | ||
|
|
4dbf96b7bc | ||
|
|
459a4be339 | ||
|
|
b179f0d267 | ||
|
|
f5898d5f5d | ||
|
|
33030c2862 | ||
|
|
5c4801fca1 | ||
|
|
a3af514b65 | ||
|
|
9d72337a25 | ||
|
|
b564138490 | ||
|
|
233e574f32 | ||
|
|
8fbc39ea6c | ||
|
|
14e1d2eec3 | ||
|
|
931384a117 | ||
|
|
1d67e5551b | ||
|
|
4fba5f8679 | ||
|
|
cf9014dce5 | ||
|
|
e4f0acdc1d | ||
|
|
b75af93a05 | ||
|
|
2445af9308 | ||
|
|
5069d977ed | ||
|
|
b3031d25ca | ||
|
|
1237a5468f | ||
|
|
d9b52d832c | ||
|
|
ea300985e0 | ||
|
|
abfcb7122c | ||
|
|
9d546acd03 | ||
|
|
92a47829fa | ||
|
|
ab5d9ad1b8 | ||
|
|
d4242fa026 | ||
|
|
68eb8b70d1 | ||
|
|
f854795c02 | ||
|
|
7128932eff | ||
|
|
dcafe9adf2 | ||
|
|
fe7b6f1651 | ||
|
|
c349001d94 | ||
|
|
ee77094dd6 | ||
|
|
f6be6c8b6d | ||
|
|
cd0d986016 | ||
|
|
874633da38 | ||
|
|
32e24e8199 | ||
|
|
a9ad5181e6 | ||
|
|
303401b047 | ||
|
|
fc348da28f | ||
|
|
9cbc3f97e5 | ||
|
|
a53f0cd3fa | ||
|
|
99c983d44f | ||
|
|
fca3028395 | ||
|
|
781c9bb990 | ||
|
|
46fd3d60f9 | ||
|
|
4e92920a7f | ||
|
|
12cfca4060 | ||
|
|
328f505702 | ||
|
|
7a5e97e30e | ||
|
|
6987304f42 | ||
|
|
d2be867b51 | ||
|
|
ac23b48283 | ||
|
|
f9063c406b | ||
|
|
2adae90a5d | ||
|
|
ea4554c941 | ||
|
|
d8d3a7a22d | ||
|
|
e14cc3a34e | ||
|
|
5804ba759a | ||
|
|
5501111e77 | ||
|
|
408e6f79f9 | ||
|
|
c36c39af0a | ||
|
|
db6a4dfedb | ||
|
|
6de0b93a08 | ||
|
|
6430a123fd | ||
|
|
b4b9bee950 | ||
|
|
36ce93d409 | ||
|
|
31db2b9e08 | ||
|
|
c3c7b11cfc | ||
|
|
abaf57d049 | ||
|
|
d53beb0f9d | ||
|
|
018af47f49 | ||
|
|
992dfecc11 | ||
|
|
2ca9f66579 | ||
|
|
477d7fae54 | ||
|
|
56524a3169 | ||
|
|
b3a5c96c56 | ||
|
|
88075664dc | ||
|
|
d5750ac7ca | ||
|
|
c893191577 | ||
|
|
55a19da4c6 | ||
|
|
234ba7780a | ||
|
|
b4ee8869c8 | ||
|
|
1932c5a96d | ||
|
|
2172a4dea9 | ||
|
|
4a176d175a | ||
|
|
c7cd3b6c6d | ||
|
|
42d2b81231 | ||
|
|
f869daafa2 | ||
|
|
0efc8118d3 | ||
|
|
a3a08e81a9 | ||
|
|
b56cafdd25 | ||
|
|
50f25c5849 | ||
|
|
4719fd5e80 | ||
|
|
7ea66aeffe | ||
|
|
6698cb7616 | ||
|
|
5121847728 | ||
|
|
1247d2b5ed | ||
|
|
7b67dbaa31 | ||
|
|
436a06e864 | ||
|
|
26ed835ca1 | ||
|
|
d8fd19feb8 | ||
|
|
3c81fffedd | ||
|
|
be02b1ea72 | ||
|
|
97c094f802 | ||
|
|
eda6c184bb | ||
|
|
224dbb75d0 | ||
|
|
ef989a4241 | ||
|
|
d2537a883f | ||
|
|
b302e8edd0 | ||
|
|
28aef2f4dd | ||
|
|
f336e8fc5a | ||
|
|
f798a585d9 | ||
|
|
b982f86d2f | ||
|
|
af9a06e9bf | ||
|
|
3a4472f5da | ||
|
|
a3b29ed99f | ||
|
|
193e5205ed | ||
|
|
cac309d0d8 | ||
|
|
54a52f0482 | ||
|
|
677eeb31e4 | ||
|
|
50835c14a2 | ||
|
|
40b9fc35f9 | ||
|
|
65d4e01ad6 | ||
|
|
8516411ff2 | ||
|
|
561fead861 | ||
|
|
b5a914b6c2 | ||
|
|
1cfafc2a52 | ||
|
|
e168714123 | ||
|
|
ae760923e3 | ||
|
|
9cf91e157c | ||
|
|
aa87b35964 | ||
|
|
51a7531b6a | ||
|
|
26c9908504 | ||
|
|
4af6eb4f2b | ||
|
|
93955a2ba7 | ||
|
|
0fcfade6a0 | ||
|
|
7084728482 | ||
|
|
a4d0a777bc | ||
|
|
a8fb94b425 | ||
|
|
4535572428 | ||
|
|
b20f3dac57 | ||
|
|
b8df4d84e9 | ||
|
|
e763dcc33b | ||
|
|
e497d28ae1 | ||
|
|
1c7fe06322 | ||
|
|
006fe05305 | ||
|
|
4dfa75fbfa | ||
|
|
e3fbb24713 | ||
|
|
504c51f354 | ||
|
|
4ca5c315fc | ||
|
|
fa4312edef | ||
|
|
d50593834b | ||
|
|
f4d9c90827 | ||
|
|
7afcf20077 | ||
|
|
4174f554be | ||
|
|
5efc4a7cd0 | ||
|
|
821758a73c | ||
|
|
ed46357fe1 | ||
|
|
23f595586d | ||
|
|
b90720c6be | ||
|
|
5d9c608ed6 | ||
|
|
f143dbb858 | ||
|
|
1f33b9910c | ||
|
|
beaf16b9e8 | ||
|
|
d15523a6df | ||
|
|
0231f33b2e | ||
|
|
8f47b4bb08 | ||
|
|
b7679dbe96 | ||
|
|
2819e5c4cc | ||
|
|
7a0c40ee16 | ||
|
|
05bcd82adc | ||
|
|
66ee2c2ef3 | ||
|
|
7ddf263199 | ||
|
|
72ae012ace | ||
|
|
b8b35e25e6 | ||
|
|
377d238457 | ||
|
|
5b864657b7 | ||
|
|
d2c16bacb6 | ||
|
|
3bdb43eb6a | ||
|
|
5cb2103feb | ||
|
|
65108beee8 | ||
|
|
b591b52ab2 | ||
|
|
600058529c | ||
|
|
bf5536d6b8 | ||
|
|
152075848c | ||
|
|
a8fca08b7e | ||
|
|
86abe793d7 | ||
|
|
01178b325e | ||
|
|
c2a3a37c1e | ||
|
|
7da0b54d32 | ||
|
|
d4f8c9c754 | ||
|
|
aa8151dc4b | ||
|
|
989a9da65a | ||
|
|
ec92f76dec | ||
|
|
a216ea170c | ||
|
|
5226b1b410 | ||
|
|
167e76add4 | ||
|
|
98ac98db9a | ||
|
|
b146c4e417 | ||
|
|
13809256ef | ||
|
|
dc421a0d4c | ||
|
|
a17b10ef10 | ||
|
|
f5a735a184 | ||
|
|
a7cb64fcc0 | ||
|
|
20d7650edf | ||
|
|
f0b35d18a0 | ||
|
|
3e63bc68d4 | ||
|
|
c397a27897 | ||
|
|
88586a5a47 | ||
|
|
472605fb54 | ||
|
|
de50268dfd | ||
|
|
edf3c3158c | ||
|
|
2332347ca1 | ||
|
|
2028d1f0f4 | ||
|
|
04834680d5 | ||
|
|
484f35244e | ||
|
|
74c7115cc1 | ||
|
|
e3423d0922 | ||
|
|
92d504f726 | ||
|
|
ce5878fb8d | ||
|
|
71068a42a9 | ||
|
|
2a1df11327 | ||
|
|
1dc40c5129 | ||
|
|
2179dccb1d | ||
|
|
f1ef484076 | ||
|
|
b3aa39ddad | ||
|
|
5957afb8b5 | ||
|
|
3e3b673ea7 | ||
|
|
a3a21fac3c | ||
|
|
b6bb43e9bc | ||
|
|
b4f1abe0f4 | ||
|
|
342c37d8a3 | ||
|
|
c60553da66 | ||
|
|
ae4b33c997 | ||
|
|
5fd5ff89c3 | ||
|
|
f772aad95a | ||
|
|
bdc1f890c8 | ||
|
|
815f2ce9db | ||
|
|
0a4ce40eb8 | ||
|
|
8e9a04c55f | ||
|
|
c22354e2f5 | ||
|
|
8a7331776a | ||
|
|
7c2fc506b5 | ||
|
|
3f7ba638dd | ||
|
|
c1b4af2dd7 | ||
|
|
b4a82877b8 | ||
|
|
53ee6d3a0b | ||
|
|
48385884c0 | ||
|
|
5c2f90968f | ||
|
|
8e7bcfc5c2 | ||
|
|
562ee21d36 | ||
|
|
4d1fa1b012 | ||
|
|
ee2e63444d | ||
|
|
5108dcd0d6 | ||
|
|
e29b65d22b | ||
|
|
37fc63ca39 | ||
|
|
095fd88cbe | ||
|
|
183aa7a214 | ||
|
|
0065d9a0dd | ||
|
|
f33814b377 | ||
|
|
4d5e1d0dfe | ||
|
|
6dd626de0c | ||
|
|
aa96c352d4 | ||
|
|
f8e4feb633 | ||
|
|
7df8ee4081 | ||
|
|
e2fe74502f | ||
|
|
295a11d0f7 | ||
|
|
7ef94284cc | ||
|
|
8ed1ce6a8b | ||
|
|
330d6ad5a6 | ||
|
|
24bbb38a9a | ||
|
|
c2885cf0b9 | ||
|
|
cdbad34284 | ||
|
|
a0c8efdffe | ||
|
|
44c403f4c7 | ||
|
|
f7c7ac275a | ||
|
|
0224ef3d2e | ||
|
|
9774e4959f | ||
|
|
ccf8eebc5f | ||
|
|
8b1422a869 | ||
|
|
11942e774c | ||
|
|
1ad8b2897a | ||
|
|
87f99ea824 | ||
|
|
e25bd603ed | ||
|
|
344f127e64 | ||
|
|
dac80aad58 | ||
|
|
934364b8e1 | ||
|
|
4ff6f5f10c | ||
|
|
c78bb1cd42 | ||
|
|
797c1d00ac | ||
|
|
02cba85856 | ||
|
|
71581e321e | ||
|
|
00860baddf | ||
|
|
1ce13fc3ee | ||
|
|
79a75d1ef2 | ||
|
|
c7d1673948 | ||
|
|
d26b2811e0 | ||
|
|
5934c1eece | ||
|
|
fa61187f2e | ||
|
|
115d4d88c0 | ||
|
|
7aab2f3b47 | ||
|
|
1c2fb10007 | ||
|
|
6ae0ecc5f3 | ||
|
|
cfee026f98 | ||
|
|
e0913c47ef | ||
|
|
623c593210 | ||
|
|
8207053636 | ||
|
|
2885df68b4 | ||
|
|
6ab6634efc | ||
|
|
ffbcd4f86c | ||
|
|
a67d1a84f5 | ||
|
|
d9467db007 | ||
|
|
e0383b496a | ||
|
|
8dd43077fd | ||
|
|
6f567bbca2 | ||
|
|
9575c69d3b | ||
|
|
c2eeeafdbe | ||
|
|
bc5b297d33 | ||
|
|
1f579afc66 | ||
|
|
0d1e9c3264 | ||
|
|
4a067fa1bc | ||
|
|
4043dc2dd0 | ||
|
|
af4e2d127f | ||
|
|
077beaecd8 | ||
|
|
b53db94f1e | ||
|
|
7ab4c6fa14 | ||
|
|
da8ffd5762 | ||
|
|
42c5324962 | ||
|
|
d66c69eaec | ||
|
|
b3366acdaf | ||
|
|
b1cdf0b214 | ||
|
|
658c3d69fb | ||
|
|
993099e47e | ||
|
|
79fe6e467b | ||
|
|
596e211a97 | ||
|
|
d2f139c9b0 | ||
|
|
0e6e040039 | ||
|
|
5f7e2389d9 | ||
|
|
8119034555 | ||
|
|
23498c293e | ||
|
|
44784729c0 | ||
|
|
59ac260ae8 | ||
|
|
9cdbc03a23 | ||
|
|
98b6b92a76 | ||
|
|
2810656242 | ||
|
|
cd55fe6135 | ||
|
|
b9cc060340 | ||
|
|
c089abe92f | ||
|
|
27d03fce7a | ||
|
|
f114f2cde2 | ||
|
|
fb6375551b | ||
|
|
aa6f1b231a | ||
|
|
19b778dda0 | ||
|
|
cb985dcfa8 | ||
|
|
60c84744c8 | ||
|
|
1e367597b6 | ||
|
|
6b01053d98 | ||
|
|
027f0891f4 | ||
|
|
aaadb7971d | ||
|
|
7b4a50b701 | ||
|
|
d6f603b661 | ||
|
|
15a147d957 | ||
|
|
f9eda18445 | ||
|
|
946f20ccc7 | ||
|
|
025dbc3454 | ||
|
|
43f94a5d7d | ||
|
|
0ba16a9c5b | ||
|
|
39c6c5af6f | ||
|
|
b096d9b250 | ||
|
|
32b0bd963b | ||
|
|
a98006eca9 | ||
|
|
10a05ad839 | ||
|
|
ffe3d80f8d | ||
|
|
5b1302e4df | ||
|
|
228ede7495 | ||
|
|
c5bbf4c7e0 | ||
|
|
e00fd2fd70 | ||
|
|
c535e281c6 | ||
|
|
cb3f7de3f7 | ||
|
|
3bcbbd2924 | ||
|
|
a652b733e4 | ||
|
|
ab342978d7 | ||
|
|
61ccea55ac | ||
|
|
cb623dc9ea | ||
|
|
0a9356e645 | ||
|
|
cefeb4cd7e | ||
|
|
bd4e723f9d | ||
|
|
a1dd7dae6f | ||
|
|
102525c9c9 | ||
|
|
034df3d28f | ||
|
|
a64c719fd2 | ||
|
|
0e3f877326 | ||
|
|
8458b5ec1d | ||
|
|
18f3f22a7e | ||
|
|
7fe890d5e7 | ||
|
|
344db9d7f7 | ||
|
|
dc18f404ca | ||
|
|
71c2878780 | ||
|
|
53c36f8529 | ||
|
|
d79ca8a746 | ||
|
|
b67e063535 | ||
|
|
22b221a8be | ||
|
|
f279f9cd71 | ||
|
|
a725f4d7ac | ||
|
|
a02025d0c9 | ||
|
|
31bf1b90b4 | ||
|
|
8d24a30996 | ||
|
|
c8c93d2218 | ||
|
|
3289b6b3da | ||
|
|
e24f76bb1e | ||
|
|
2d1c797b64 | ||
|
|
11d84bea86 | ||
|
|
7b077737a9 | ||
|
|
29dd6cce98 | ||
|
|
f4fefcbd5e | ||
|
|
6617f2edf8 | ||
|
|
e36daf41a4 | ||
|
|
9ad7e79dfc | ||
|
|
55f30adb3e | ||
|
|
5a402b2254 | ||
|
|
260fca600a | ||
|
|
9236b81ade | ||
|
|
46394f3da3 | ||
|
|
db7702f66c | ||
|
|
b3496a04d6 | ||
|
|
9dc4b71112 | ||
|
|
e6c6ef64df | ||
|
|
2960844c3e | ||
|
|
6070ca8499 | ||
|
|
e631f2e56e | ||
|
|
1cfbc92ce2 | ||
|
|
9e3f726b0e | ||
|
|
f5a4b13391 | ||
|
|
35ea769c9f | ||
|
|
a821e4cfa2 | ||
|
|
948f90251a | ||
|
|
cf3f7b9911 | ||
|
|
e6ffbfb601 | ||
|
|
9470668538 | ||
|
|
a01d4c2d5f | ||
|
|
8bd4fb52c8 | ||
|
|
256836fe6f | ||
|
|
0d532cc3f2 | ||
|
|
2dfc7eee89 | ||
|
|
40506a6ddf | ||
|
|
5a8b86da5d | ||
|
|
782d0b9828 | ||
|
|
b4d186004c | ||
|
|
e6eac9b920 | ||
|
|
61f1223f1d | ||
|
|
648a057147 | ||
|
|
07b3695b98 | ||
|
|
d1bf35b209 | ||
|
|
ccdef57e8e | ||
|
|
d64ef34ef8 | ||
|
|
33d0e1e51c | ||
|
|
339f7efbf4 | ||
|
|
cc137e99fe | ||
|
|
753a6b1083 | ||
|
|
76c4ee9ff5 | ||
|
|
b8463dc5c1 | ||
|
|
8e5e273aca | ||
|
|
8e77ee5c2a | ||
|
|
53eedd4b38 | ||
|
|
8ff0f455f8 | ||
|
|
53ae865184 | ||
|
|
e9292e301f | ||
|
|
36e0e3aa53 | ||
|
|
034cbb9b97 | ||
|
|
dbb75c46c9 | ||
|
|
d0f8493c6a | ||
|
|
219509d7d9 | ||
|
|
7c9327a36b | ||
|
|
90d4efa1e6 | ||
|
|
1693f72af7 | ||
|
|
649b6ede69 | ||
|
|
b40e3d479f | ||
|
|
bfb2a817e3 | ||
|
|
8e52978153 | ||
|
|
6e795f149c | ||
|
|
c22c37df09 | ||
|
|
598a3e6232 | ||
|
|
040e2102a8 | ||
|
|
367e3e4246 | ||
|
|
0392ee009f | ||
|
|
8e6b13822b | ||
|
|
a63bb12f6b | ||
|
|
65e7f2c40f | ||
|
|
86adcd6c8e | ||
|
|
1152d612a6 | ||
|
|
bbd606538a | ||
|
|
0e8aab241d | ||
|
|
6f66f4fda3 | ||
|
|
2891815965 | ||
|
|
09deacbe8f | ||
|
|
c353052e54 | ||
|
|
9b7caac3ef | ||
|
|
ee4e511a01 | ||
|
|
70af2be5ab | ||
|
|
6a01122c47 | ||
|
|
26806cda7b | ||
|
|
f6437d3072 | ||
|
|
d0bf9c4b3c | ||
|
|
40646964b4 | ||
|
|
46347173b2 | ||
|
|
09dd519764 | ||
|
|
ccb463dd1d | ||
|
|
42e2dd9990 | ||
|
|
a1e2ba2cd3 | ||
|
|
d7f85c533b | ||
|
|
36912c3af8 | ||
|
|
f130a9d44d | ||
|
|
df7e105fb7 | ||
|
|
26f4c968df | ||
|
|
9aace48189 | ||
|
|
189ba201f3 | ||
|
|
26a4ea93eb | ||
|
|
bbcdfe92e0 | ||
|
|
778dcbaafb | ||
|
|
a82d1a6b12 | ||
|
|
cc2f7927ec | ||
|
|
b0f6829614 | ||
|
|
5b888f809f | ||
|
|
77dccc0c32 | ||
|
|
c7e054a7a7 | ||
|
|
c347f75b3c | ||
|
|
804c4f20b5 | ||
|
|
1226dedeb8 | ||
|
|
71bd9e2f6e | ||
|
|
6309b241cd | ||
|
|
a06268f705 | ||
|
|
2db1669713 | ||
|
|
e4a9ffd00e | ||
|
|
c25efcee92 | ||
|
|
cf843c8b82 | ||
|
|
09de113145 | ||
|
|
6750c29e67 | ||
|
|
6aabc73845 | ||
|
|
44eba446ec | ||
|
|
551ff3f1b6 | ||
|
|
e1b3c43a2b | ||
|
|
5e57ec5c93 | ||
|
|
c261bf4452 | ||
|
|
ca6a12769f | ||
|
|
b7b0ab6dbf | ||
|
|
53de4a582e | ||
|
|
a447a991b0 | ||
|
|
8d7009e9de | ||
|
|
5360738351 | ||
|
|
2f2f999657 | ||
|
|
0d48911ae4 | ||
|
|
86d7d42eb6 | ||
|
|
7762fa9b14 | ||
|
|
65126352a0 | ||
|
|
5e77253577 | ||
|
|
6043274d96 | ||
|
|
c7bc6e834e | ||
|
|
13fb6b83cd | ||
|
|
27f0ef8789 | ||
|
|
c26f6ded14 | ||
|
|
7bcb346dd7 | ||
|
|
15c8730ef7 | ||
|
|
77bace5010 | ||
|
|
97c2e9f973 | ||
|
|
357b624ca5 | ||
|
|
29288640ab | ||
|
|
b0fd0296f3 | ||
|
|
01fd36b840 | ||
|
|
22b01bcda9 | ||
|
|
3759c6f1a1 | ||
|
|
828b9b7024 | ||
|
|
42b80878d9 | ||
|
|
dc345553df | ||
|
|
aa986a2b24 | ||
|
|
e03fc6858b | ||
|
|
525f1cc39e | ||
|
|
8f00fc2594 | ||
|
|
cd7256ae63 | ||
|
|
1f72866489 | ||
|
|
6c847b1870 | ||
|
|
21f283c143 | ||
|
|
7417958649 | ||
|
|
95768038b9 | ||
|
|
0c4c156893 | ||
|
|
f034f09bb4 | ||
|
|
f1175043f3 | ||
|
|
0495f2cc20 | ||
|
|
98c70fb77e | ||
|
|
8df20d6966 | ||
|
|
b306e88d1a | ||
|
|
f9afdfd8e2 | ||
|
|
90bd374c16 | ||
|
|
6f8e0f128a | ||
|
|
b2463f167c | ||
|
|
2e25c65129 | ||
|
|
06d86af67c | ||
|
|
8e46687223 | ||
|
|
7a03b9fea6 | ||
|
|
70587dd2d5 | ||
|
|
e571988059 | ||
|
|
f3ee192a96 | ||
|
|
ba358b8fb8 | ||
|
|
59659ef8fb | ||
|
|
cc123d7c3a | ||
|
|
a08b93347f | ||
|
|
66650a95d8 | ||
|
|
af3296a836 | ||
|
|
429ccd5456 | ||
|
|
ec252a73e2 | ||
|
|
eb8a3afe38 | ||
|
|
dc3209b797 | ||
|
|
9fa1d2e75f | ||
|
|
1a0a3283a0 | ||
|
|
c4a178f029 | ||
|
|
e9def03585 | ||
|
|
0a0b9a3c24 | ||
|
|
01cd91cbea | ||
|
|
13b8a972ea | ||
|
|
bfacbf9764 | ||
|
|
f0459eb1cf | ||
|
|
4bd2835cf1 | ||
|
|
57e2ae5a21 |
325
.github/workflows/arduino.yml
vendored
Normal file
325
.github/workflows/arduino.yml
vendored
Normal file
@@ -0,0 +1,325 @@
|
||||
name: Arduino CI Build (1 of 4) wolfssl
|
||||
|
||||
#
|
||||
# Test fetches wolfssl-examples/Arduino and uses local, latest github master branch wolfssl
|
||||
#
|
||||
# These 4 workflows across 3 repos are interdependent for the current $REPO_OWNER:
|
||||
#
|
||||
# THIS Arduino CI Build 1: https://github.com/$REPO_OWNER/wolfssl # /.github/workflows/arduino.yml
|
||||
# - Builds Arduino library from local clone of wolfssl master branch
|
||||
# - Fetches examples from https://github.com/$REPO_OWNER/wolfssl-examples
|
||||
#
|
||||
# Arduino CI Build 2: https://github.com/$REPO_OWNER/wolfssl-examples # /.github/workflows/arduino-release.yml
|
||||
# - Tests examples based on latest published release of Arduino library, NOT latest on wolfssl github.
|
||||
# - Should be identical to Arduino CI Build 3 in every way but wolfssl install.
|
||||
# - Copies only compile script from wolfssl-examples
|
||||
# - Builds local examples
|
||||
# - No other repos used
|
||||
#
|
||||
# Arduino CI Build 3: https://github.com/$REPO_OWNER/wolfssl-examples # /.github/workflows/arduino.yml
|
||||
# - Fetches current wolfSSL from https://github.com/$REPO_OWNER/wolfssl
|
||||
# - Creates an updated Arduino library
|
||||
# - Compiles local examples
|
||||
# - Contains the source of `compile-all-examples.sh` and respective board-list.txt
|
||||
#
|
||||
# Arduino CI Build 4: https://github.com/$REPO_OWNER/Arduino-wolfssl # /.github/workflows/arduino.yml
|
||||
# - Assembles and installs an updated Arduino wolfssl library from LOCAL wolfssl master source
|
||||
# - Copies only compile script copied from wolfssl-examples
|
||||
# - Builds local examples
|
||||
# - No other repos used
|
||||
#
|
||||
#
|
||||
# ** NOTE TO MAINTAINERS **
|
||||
#
|
||||
# Consider using winmerge or similar tool to keep the 4 arduino[-release].yml files in relative sync.
|
||||
# Although there are some specific differences, most of the contents are otherwise identical.
|
||||
#
|
||||
# See https://github.com/wolfSSL/Arduino-wolfSSL
|
||||
#
|
||||
# To test locally:
|
||||
# cd [your WOLFSSL_ROOT], e.g. cd /mnt/c/workspace/wolfssl-$USER
|
||||
# [optional checkout] e.g. git checkout tags/v5.8.2-stable
|
||||
# pushd ./IDE/ARDUINO
|
||||
# export ARDUINO_ROOT="$HOME/Arduino/libraries"
|
||||
# ./wolfssl-arduino.sh INSTALL
|
||||
# cd [your WOLFSSL_EXAMPLES_ROOT] e.g. /mnt/c/workspace/wolfssl-examples-$USER
|
||||
#
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ '**', 'master', 'main', 'release/**' ]
|
||||
paths:
|
||||
- '.github/workflows/arduino.yml'
|
||||
- 'IDE/ARDUINO/**'
|
||||
- 'src/**'
|
||||
- 'wolfcrypt/**'
|
||||
- 'wolfssl/**'
|
||||
pull_request:
|
||||
branches: [ '**' ]
|
||||
paths:
|
||||
- 'github/workflows/arduino.yml'
|
||||
- 'IDE/ARDUINO/**'
|
||||
- 'src/**'
|
||||
- 'wolfcrypt/**'
|
||||
- 'wolfssl/**'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
REPO_OWNER: ${{ github.repository_owner }}
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Arduino CLI
|
||||
run: |
|
||||
# Script to fetch and run install.sh from arduino/arduino-cli
|
||||
|
||||
# The install script will test to see if the recently installed apps in in the path
|
||||
# So set it up in advance:
|
||||
mkdir -p "${PWD}/bin"
|
||||
echo "${PWD}/bin" >> $GITHUB_PATH
|
||||
|
||||
# Sets the install directory to a consistent path at the repo root.
|
||||
ROOT_BIN="$GITHUB_WORKSPACE/bin"
|
||||
|
||||
# Ensures that BINDIR exists before the installer runs
|
||||
mkdir -p "$ROOT_BIN"
|
||||
|
||||
# Save as a lobal environment variable
|
||||
echo "$ROOT_BIN" >> "$GITHUB_PATH"
|
||||
|
||||
# Download and run install script from Arduino:
|
||||
# -S show errors; -L follow redirects; -v Verbose
|
||||
set +e # don't abort on error
|
||||
set -o pipefail
|
||||
|
||||
curl -vSL --retry 5 --retry-delay 10 \
|
||||
https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh \
|
||||
| sh -x
|
||||
rc=$?
|
||||
c_rc=${PIPESTATUS[0]} # curl's exit code
|
||||
s_rc=${PIPESTATUS[1]} # sh's exit code
|
||||
|
||||
set -e # restore default abort-on-error
|
||||
|
||||
# If there was a curl error, we have our own local copy that is more reliable and can add our own debugging
|
||||
if [ "$rc" -ne 0 ]; then
|
||||
echo "Primary install failed: curl=$c_rc, sh=$s_rc. Falling back..." >&2
|
||||
echo "Using local copy of arduino_install.sh"
|
||||
pushd ./Arduino/sketches
|
||||
chmod +x ./arduino_install.sh
|
||||
|
||||
# Mimic curl install, does not use current directory:
|
||||
BINDIR="$ROOT_BIN" sh -x ./arduino_install.sh
|
||||
popd
|
||||
else
|
||||
echo "Alternative install script not needed."
|
||||
fi
|
||||
|
||||
- name: Confirm Arduino CLI install
|
||||
run: arduino-cli version
|
||||
|
||||
- name: Setup Arduino CLI
|
||||
run: |
|
||||
arduino-cli config init
|
||||
arduino-cli core update-index
|
||||
arduino-cli config add board_manager.additional_urls https://www.pjrc.com/teensy/package_teensy_index.json
|
||||
arduino-cli core update-index
|
||||
arduino-cli config add board_manager.additional_urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
|
||||
arduino-cli core update-index
|
||||
arduino-cli core install esp32:esp32 # ESP32
|
||||
arduino-cli core install arduino:avr # Arduino Uno, Mega, Nano
|
||||
arduino-cli core install arduino:sam # Arduino Due
|
||||
arduino-cli core install arduino:samd # Arduino Zero
|
||||
arduino-cli core install teensy:avr # PJRC Teensy
|
||||
arduino-cli core install esp8266:esp8266 # ESP8266
|
||||
arduino-cli core install arduino:mbed_nano # nanorp2040connect
|
||||
arduino-cli core install arduino:mbed_portenta # portenta_h7_m7
|
||||
arduino-cli core install arduino:mbed_edge
|
||||
# sudo "/home/$USER/.arduino15/packages/arduino/hardware/mbed_nano/4.2.4/post_install.sh"
|
||||
arduino-cli core install arduino:renesas_uno
|
||||
arduino-cli lib install "ArduinoJson" # Example dependency
|
||||
arduino-cli lib install "WiFiNINA" # ARDUINO_SAMD_NANO_33_IOT
|
||||
arduino-cli lib install "Ethernet" # Install Ethernet library
|
||||
arduino-cli lib install "Bridge" # Pseudo-network for things like arduino:samd:tian
|
||||
|
||||
- name: Set job environment variables
|
||||
run: |
|
||||
# Script to assign some common environment variables after everything is installed
|
||||
|
||||
ICON_OK=$(printf "\xE2\x9C\x85")
|
||||
ICON_FAIL=$(printf "\xE2\x9D\x8C")
|
||||
|
||||
echo "GITHUB_WORK=$(realpath "$GITHUB_WORKSPACE/../..")" >> "$GITHUB_ENV"
|
||||
echo "ARDUINO_ROOT=$(realpath "$HOME/Arduino/libraries")" >> "$GITHUB_ENV"
|
||||
|
||||
# Show predefined summary:
|
||||
echo "GITHUB_WORKSPACE = $GITHUB_WORKSPACE"
|
||||
|
||||
# Show assigned build:env values (e.g. "wolfssl", "gojimmpi" or other owners):
|
||||
echo "REPO_OWNER = $REPO_OWNER"
|
||||
|
||||
echo "GITHUB_ENV=$GITHUB_ENV"
|
||||
|
||||
# Show our custom values:
|
||||
echo "GITHUB_WORK = $GITHUB_WORK"
|
||||
echo "ARDUINO_ROOT = $ARDUINO_ROOT"
|
||||
|
||||
# WOLFSSL_EXAMPLES_ROOT is the repo root, not example location
|
||||
echo "WOLFSSL_EXAMPLES_ROOT = $WOLFSSL_EXAMPLES_ROOT"
|
||||
|
||||
- name: Get wolfssl-examples
|
||||
run: |
|
||||
# Fetch Arduino examples from the wolfssl-examples repo
|
||||
echo "Start pwd:"
|
||||
pwd
|
||||
# we're typically in $GITHUB_WORKSPACE=/home/runner/work/wolfssl/wolfssl
|
||||
# goto /home/runner/work to fetch wolfssl-examples
|
||||
|
||||
echo "Current pwd for wolfssl-examples clone fetch: $(pwd)"
|
||||
GITHUB_WORK=$(realpath "$GITHUB_WORKSPACE/../..")
|
||||
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
|
||||
|
||||
# Typically /home/runner/work
|
||||
echo "GITHUB_WORK=$GITHUB_WORK"
|
||||
|
||||
pushd "$GITHUB_WORK"
|
||||
echo "Updated pwd for wolfssl-examples clone fetch: $(pwd)"
|
||||
|
||||
git clone --depth 1 https://github.com/$REPO_OWNER/wolfssl-examples.git wolfssl-examples-publish
|
||||
|
||||
cd ./wolfssl-examples-publish
|
||||
echo "WOLFSSL_EXAMPLES_ROOT=$(pwd)"
|
||||
|
||||
echo "Path for wolfssl-examples-publish: $(pwd)"
|
||||
popd # GITHUB_WORK
|
||||
|
||||
|
||||
# ** END ** Get wolfssl-examples
|
||||
|
||||
- name: Install wolfSSL Arduino library
|
||||
run: |
|
||||
# Run the local wolfssl-arduino.sh install script to install wolfssl Arduino library.
|
||||
|
||||
# Methods of installing Arduino library:
|
||||
# 1) arduino-cli lib install "wolfSSL"
|
||||
# 2) manual copy of files (typical of the Arduino-wolfssl repo)
|
||||
# 3) run ./wolfssl-arduino.sh INSTALL (typical of the wolfssl repo)
|
||||
|
||||
echo "Current pwd for wolfssl-examples clone fetch: $(pwd)"
|
||||
GITHUB_WORK=$(realpath "$GITHUB_WORKSPACE/../..")
|
||||
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
|
||||
|
||||
# Typically /home/runner/work
|
||||
echo "GITHUB_WORK=$GITHUB_WORK"
|
||||
pwd
|
||||
pushd ./IDE/ARDUINO
|
||||
|
||||
# Set default ARDUINO_ROOT to Arduino library.
|
||||
export ARDUINO_ROOT="$HOME/Arduino/libraries"
|
||||
export WOLFSSL_EXAMPLES_ROOT="$GITHUB_WORK/wolfssl-examples-publish"
|
||||
|
||||
echo "ARDUINO_ROOT: $WOLFSSL_EXAMPLES_ROOT"
|
||||
echo "WOLFSSL_EXAMPLES_ROOT: $WOLFSSL_EXAMPLES_ROOT"
|
||||
|
||||
bash ./wolfssl-arduino.sh INSTALL # Install wolfSSL library
|
||||
popd
|
||||
|
||||
# ** END ** Install wolfSSL Arduino library
|
||||
|
||||
- name: List installed Arduino libraries
|
||||
run: arduino-cli lib list
|
||||
|
||||
- name: Get compile-all-examples.sh
|
||||
run: |
|
||||
# Fetch compile script FROM THE CURRENT OWNER.
|
||||
# This repo is Arduino-wolfssl; we'll fetch the script from the wolfssl-examples for the same repository owner.
|
||||
echo "Repository owner: $REPO_OWNER"
|
||||
echo "Current directory: $PWD"
|
||||
echo "Current pwd for wolfssl-examples clone fetch: $PWD"
|
||||
WOLFSSL_EXAMPLES_DIRECTORY="$ARDUINO_ROOT/wolfssl/examples"
|
||||
THIS_BOARD_LIST="board_list.txt"
|
||||
echo "WOLFSSL_EXAMPLES_DIRECTORY=$WOLFSSL_EXAMPLES_DIRECTORY"
|
||||
|
||||
# Fetch script and board list into WOLFSSL_EXAMPLES_DIRECTORY
|
||||
echo "Fetching board_list.txt from REPO_OWNER=$REPO_OWNER"
|
||||
curl -L "https://raw.githubusercontent.com/$REPO_OWNER/wolfssl-examples/master/Arduino/sketches/board_list.txt" -o "$WOLFSSL_EXAMPLES_DIRECTORY/$THIS_BOARD_LIST"
|
||||
|
||||
# Check if the first line is "404: Not Found" - which would indicate the curl path above is bad.
|
||||
FILE="$WOLFSSL_EXAMPLES_DIRECTORY/board_list.txt"
|
||||
|
||||
# Ensure the file exists
|
||||
if [[ ! -f "$FILE" ]]; then
|
||||
echo "File not found: $FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if the first line is "404: Not Found"
|
||||
if [[ $(head -n 1 "$FILE") == "404: Not Found" ]]; then
|
||||
echo "The first line is '404: Not Found'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fetch the compile script from repo: https://github.com/[$USER]/wolfssl-examples/
|
||||
echo "Fetching compile-all-examples.sh from REPO_OWNER=$REPO_OWNER"
|
||||
curl -L "https://raw.githubusercontent.com/$REPO_OWNER/wolfssl-examples/master/Arduino/sketches/compile-all-examples.sh" -o "$WOLFSSL_EXAMPLES_DIRECTORY/compile-all-examples.sh"
|
||||
|
||||
# Check if the first line is "404: Not Found" - which would indicate the curl path above is bad.
|
||||
FILE="$WOLFSSL_EXAMPLES_DIRECTORY/compile-all-examples.sh"
|
||||
|
||||
# Ensure the file exists
|
||||
if [[ ! -f "$FILE" ]]; then
|
||||
echo "File not found: $FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if the first line is "404: Not Found"
|
||||
if [[ $(head -n 1 "$FILE") == "404: Not Found" ]]; then
|
||||
echo "The first line is '404: Not Found'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pushd "$WOLFSSL_EXAMPLES_DIRECTORY"
|
||||
echo "Current directory: $PWD"
|
||||
|
||||
echo "Current directory $PWD"
|
||||
echo "Contents:"
|
||||
ls -al
|
||||
find ./ -type f | sort
|
||||
|
||||
# ensure we can execute the script here (permissions lost during curl fetch)
|
||||
chmod +x ./compile-all-examples.sh
|
||||
echo "Found compile script: $(ls -al ./compile-all-examples.sh ./$THIS_BOARD_LIST)"
|
||||
popd
|
||||
|
||||
# ** END ** Get compile-all-examples.sh
|
||||
|
||||
# This will fail with Arduino published wolfSSL v5.7.6 and older
|
||||
# as the examples moved. See https://github.com/wolfSSL/wolfssl/pull/8514
|
||||
#
|
||||
- name: Compile Arduino Sketches for Various Boards
|
||||
run: |
|
||||
# Call the compile-all-examples.sh script to compile all the examples for each of the fqbn names in the local copy of board_list.txt
|
||||
|
||||
echo "Current directory: $PWD"
|
||||
echo "ARDUINO_ROOT: $ARDUINO_ROOT"
|
||||
WOLFSSL_EXAMPLES_DIRECTORY="$ARDUINO_ROOT/wolfssl/examples"
|
||||
echo "WOLFSSL_EXAMPLES_DIRECTORY: $WOLFSSL_EXAMPLES_DIRECTORY"
|
||||
|
||||
echo "Change directory to Arduino examples..."
|
||||
pushd "$WOLFSSL_EXAMPLES_DIRECTORY"
|
||||
echo "Current directory: $PWD"
|
||||
echo "Calling ./compile-all-examples.sh"
|
||||
bash ./compile-all-examples.sh
|
||||
popd
|
||||
# End Compile Arduino Sketches for Various Boards
|
||||
6
.github/workflows/curl.yml
vendored
6
.github/workflows/curl.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Install test dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install nghttp2 libpsl5 libpsl-dev python3-impacket
|
||||
sudo apt-get install nghttp2 libpsl5 libpsl-dev python3-impacket apache2 apache2-dev
|
||||
|
||||
- name: Download lib
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -68,9 +68,9 @@ jobs:
|
||||
repository: curl/curl
|
||||
path: curl
|
||||
ref: ${{ matrix.curl_ref }}
|
||||
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
|
||||
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir --with-test-httpd=yes
|
||||
check: false
|
||||
|
||||
- name: Test curl
|
||||
working-directory: curl
|
||||
run: make -j $(nproc) test-ci
|
||||
run: make -j $(nproc) test-nonflaky
|
||||
|
||||
4
.github/workflows/docker-Espressif.yml
vendored
4
.github/workflows/docker-Espressif.yml
vendored
@@ -19,7 +19,9 @@ jobs:
|
||||
# This should be a safe limit for the tests to run.
|
||||
timeout-minutes: 12
|
||||
container:
|
||||
image: espressif/idf:latest
|
||||
# The latest stable release is v5.5
|
||||
image: espressif/idf:release-v5.5
|
||||
# image: espressif/idf:latest # The "latest" has breaking changes for ESP-IDF V6
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Initialize Espressif IDE and build examples
|
||||
|
||||
47
.github/workflows/fil-c.yml
vendored
Normal file
47
.github/workflows/fil-c.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
name: Fil-C Tests
|
||||
|
||||
env:
|
||||
FIL_C_VERSION: v0.674
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
run_fil_c:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config: [
|
||||
# Add new configs here. Don't use CPPFLAGS.
|
||||
'',
|
||||
'--enable-all',
|
||||
]
|
||||
# This should be a safe limit for the tests to run.
|
||||
timeout-minutes: 30
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-22.04
|
||||
name: ${{ matrix.config }}
|
||||
steps:
|
||||
- name: Download fil-c release
|
||||
run: gh release download ${{ env.FIL_C_VERSION }} --repo pizlonator/fil-c --pattern 'filc-*'
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Extract fil-c tarball
|
||||
run: mkdir -p filc && tar -xf filc-*.tar* --strip-components=1 -C filc
|
||||
|
||||
- name: Build and test wolfSSL
|
||||
uses: wolfSSL/actions-build-autotools-project@v1
|
||||
with:
|
||||
path: wolfssl
|
||||
configure: ${{ matrix.config }} CC=$GITHUB_WORKSPACE/filc/build/bin/filcc --disable-asm CPPFLAGS=-DWC_NO_CACHE_RESISTANT
|
||||
check: true
|
||||
9
.github/workflows/haproxy.yml
vendored
9
.github/workflows/haproxy.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
haproxy_ref: [ 'v3.1.0' ]
|
||||
haproxy_ref: [ 'v3.1.0', 'v3.2.0']
|
||||
steps:
|
||||
- name: Install test dependencies
|
||||
run: |
|
||||
@@ -82,6 +82,13 @@ jobs:
|
||||
working-directory: build-dir/haproxy-${{matrix.haproxy_ref}}
|
||||
run: make clean && make TARGET=linux-glibc USE_OPENSSL_WOLFSSL=1 SSL_LIB=$GITHUB_WORKSPACE/build-dir/lib SSL_INC=$GITHUB_WORKSPACE/build-dir/include ADDLIB=-Wl,-rpath,$GITHUB_WORKSPACE/build-dir/lib CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
|
||||
|
||||
# wlallemand/VTest used in v3.1.0 is no longer available
|
||||
- name: Patch build-vtest.sh for v3.1.0
|
||||
if: matrix.haproxy_ref == 'v3.1.0'
|
||||
working-directory: build-dir/haproxy-${{ matrix.haproxy_ref }}/scripts
|
||||
run: |
|
||||
sed -i 's|https://github.com/wlallemand/VTest/archive/refs/heads/haproxy-sd_notify.tar.gz|https://github.com/vtest/VTest2/archive/main.tar.gz|' build-vtest.sh
|
||||
|
||||
- name: Build haproxy vtest
|
||||
working-directory: build-dir/haproxy-${{matrix.haproxy_ref}}
|
||||
run: ./scripts/build-vtest.sh
|
||||
|
||||
11
.github/workflows/hostap-vm.yml
vendored
11
.github/workflows/hostap-vm.yml
vendored
@@ -79,6 +79,7 @@ jobs:
|
||||
lookup-only: true
|
||||
|
||||
- name: Checkout hostap
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: git clone git://w1.fi/hostap.git hostap
|
||||
|
||||
build_uml_linux:
|
||||
@@ -176,9 +177,6 @@ jobs:
|
||||
key: hostap-linux-${{ env.LINUX_REF }}
|
||||
fail-on-cache-miss: true
|
||||
|
||||
- name: show file structure
|
||||
run: tree
|
||||
|
||||
# No way to view the full strategy in the browser (really weird)
|
||||
- name: Print strategy
|
||||
run: |
|
||||
@@ -232,7 +230,12 @@ jobs:
|
||||
|
||||
- name: Update certs
|
||||
working-directory: hostap/tests/hwsim/auth_serv
|
||||
run: ./update.sh
|
||||
run: |
|
||||
./update.sh
|
||||
# Force regeneration of rsa3072-ca.key to get rsa3072-generate.sh to
|
||||
# correctly update all the certs
|
||||
rm rsa3072-ca.key
|
||||
./rsa3072-generate.sh
|
||||
|
||||
- if: ${{ matrix.config.osp_ref }}
|
||||
name: Checkout OSP
|
||||
|
||||
4
.github/workflows/libssh2.yml
vendored
4
.github/workflows/libssh2.yml
vendored
@@ -76,11 +76,11 @@ jobs:
|
||||
- name: Update libssh2 test to use a stable version of debian
|
||||
working-directory: libssh2
|
||||
run: |
|
||||
sed -i 's/testing-slim/stable-slim/' tests/openssh_server/Dockerfile
|
||||
sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
|
||||
|
||||
- name: Run libssh2 tests
|
||||
working-directory: libssh2
|
||||
run: make check
|
||||
run: make -j check
|
||||
|
||||
- name: Confirm libssh2 built with wolfSSL
|
||||
run: ldd libssh2/src/.libs/libssh2.so | grep wolfssl
|
||||
|
||||
54
.github/workflows/linuxkm.yml
vendored
Normal file
54
.github/workflows/linuxkm.yml
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
name: Kernel Module Build
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
build_library:
|
||||
strategy:
|
||||
matrix:
|
||||
config: [
|
||||
'EXTRA_CPPFLAGS=-Werror --enable-option-checking=fatal --enable-linuxkm --enable-linuxkm-lkcapi-register=all --enable-all --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-experimental --enable-dual-alg-certs --disable-qt --disable-quic --with-sys-crypto-policy=no --disable-opensslextra --disable-testcert --enable-intelasm --disable-sp-asm --enable-crypttests --enable-linuxkm-benchmarks CFLAGS="-DWOLFSSL_LINUXKM_VERBOSE_DEBUG -Wframe-larger-than=2048 -Wstack-usage=4096 -DBENCH_EMBEDDED -DBENCH_MIN_RUNTIME_SEC=0.01 -DBENCH_NTIMES=1 -DBENCH_AGREETIMES=1" --with-max-rsa-bits=16384',
|
||||
'EXTRA_CPPFLAGS=-Werror --enable-option-checking=fatal --enable-linuxkm --enable-linuxkm-pie --enable-reproducible-build --enable-linuxkm-lkcapi-register=all --enable-all-crypto --enable-cryptonly --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-experimental --disable-qt --disable-quic --with-sys-crypto-policy=no --disable-opensslextra --disable-testcert --enable-intelasm --disable-sp-asm --enable-crypttests --enable-linuxkm-benchmarks CFLAGS="-DWOLFSSL_LINUXKM_VERBOSE_DEBUG -Wframe-larger-than=2048 -Wstack-usage=4096 -DBENCH_EMBEDDED -DBENCH_MIN_RUNTIME_SEC=0.01 -DBENCH_NTIMES=1 -DBENCH_AGREETIMES=1" --with-max-rsa-bits=16384'
|
||||
]
|
||||
name: build module
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout wolfSSL
|
||||
|
||||
- name: Prepare target kernel for module builds
|
||||
run: |
|
||||
echo "updating linux-headers"
|
||||
sudo apt-get update || $(exit 2)
|
||||
sudo apt-get install linux-headers-$(uname -r) -y || $(exit 3)
|
||||
echo "preparing target kernel $(uname -r)"
|
||||
pushd "/lib/modules/$(uname -r)/build" || $(exit 4)
|
||||
if [ -f /proc/config.gz ]; then gzip -dc /proc/config.gz > /tmp/.config && sudo mv /tmp/.config . || $(exit 5); elif [ -f "/boot/config-$(uname -r)" ]; then sudo cp -p "/boot/config-$(uname -r)" .config || $(exit 6); fi
|
||||
sudo make -j 4 olddefconfig || $(exit 7)
|
||||
sudo make M="$(pwd)" modules_prepare || $(exit 8)
|
||||
popd >/dev/null
|
||||
|
||||
- name: autogen.sh
|
||||
run: |
|
||||
./autogen.sh || $(exit 9)
|
||||
|
||||
- name: Build libwolfssl.ko, targeting GitHub ubuntu-latest, with --enable-all, PQC, and smallstack and stack depth warnings
|
||||
run: |
|
||||
echo "running ./configure --with-linux-source=/lib/modules/$(uname -r)/build ${{ matrix.config }}"
|
||||
./configure --with-linux-source=/lib/modules/$(uname -r)/build ${{ matrix.config }} || $(exit 10)
|
||||
# try to remove profiling (-pg) because it leads to "_mcleanup: gmon.out: Permission denied"
|
||||
make -j 4 KERNEL_EXTRA_CFLAGS_REMOVE=-pg FORCE_NO_MODULE_SIG=1 || $(exit 11)
|
||||
ls -l linuxkm/libwolfssl.ko || $(exit 12)
|
||||
echo "Successful linuxkm build."
|
||||
@@ -14,8 +14,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
make_check:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: macos-latest
|
||||
# This should be a safe limit for the tests to run.
|
||||
timeout-minutes: 5
|
||||
|
||||
142
.github/workflows/mono.yml
vendored
Normal file
142
.github/workflows/mono.yml
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
name: Linux Mono C# Build Test
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
build_wolfssl:
|
||||
name: Build wolfSSL C# Wrapper
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
|
||||
# Build wolfSSL using the user_settings.h from the C# wrapper directory
|
||||
- name: Build wolfSSL
|
||||
uses: wolfSSL/actions-build-autotools-project@v1
|
||||
with:
|
||||
path: wolfssl
|
||||
configure: --enable-usersettings CPPFLAGS=-I$GITHUB_WORKSPACE/wolfssl/wrapper/CSharp
|
||||
install: true
|
||||
check: false
|
||||
|
||||
- name: Install mono-complete
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y mono-complete
|
||||
|
||||
- name: Copy wolfSSL.dll to C# wrapper directory
|
||||
run: |
|
||||
echo "Copying wolfSSL.dll to C# wrapper directory. $GITHUB_WORKSPACE/build-dir/lib contains:"
|
||||
ls -la $GITHUB_WORKSPACE/build-dir/lib/*
|
||||
cp $GITHUB_WORKSPACE/build-dir/lib/libwolfssl.so $GITHUB_WORKSPACE/wolfssl/wrapper/CSharp/wolfssl.dll
|
||||
cp $GITHUB_WORKSPACE/build-dir/lib/libwolfssl.so $GITHUB_WORKSPACE/wolfssl/wrapper/CSharp/libwolfssl.so
|
||||
|
||||
- name: Build and run wolfCrypt test wrapper
|
||||
working-directory: wolfssl/wrapper/CSharp
|
||||
run: |
|
||||
mcs wolfCrypt-Test/wolfCrypt-Test.cs wolfSSL_CSharp/wolfCrypt.cs wolfSSL_CSharp/wolfSSL.cs wolfSSL_CSharp/X509.cs -OUT:wolfcrypttest.exe
|
||||
mono wolfcrypttest.exe
|
||||
|
||||
- name: Build wolfSSL client/server test
|
||||
working-directory: wolfssl/wrapper/CSharp
|
||||
env:
|
||||
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/build-dir/lib
|
||||
run: |
|
||||
mcs wolfSSL_CSharp/wolfSSL.cs wolfSSL_CSharp/X509.cs wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs -OUT:server.exe
|
||||
mcs wolfSSL_CSharp/wolfCrypt.cs wolfSSL-TLS-Client/wolfSSL-TLS-Client.cs wolfSSL_CSharp/wolfSSL.cs wolfSSL_CSharp/X509.cs -OUT:client.exe
|
||||
|
||||
- name: Test wolfSSL client/server communication
|
||||
working-directory: wolfssl/wrapper/CSharp
|
||||
env:
|
||||
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/build-dir/lib
|
||||
run: |
|
||||
# Start server in background and capture its PID
|
||||
timeout 10s mono server.exe > server.log 2>&1 &
|
||||
SERVER_PID=$!
|
||||
|
||||
# Wait for server to start
|
||||
sleep 2
|
||||
|
||||
# Run client and capture output
|
||||
timeout 5s mono client.exe > client.log 2>&1
|
||||
CLIENT_EXIT_CODE=$?
|
||||
|
||||
# Wait a moment for server to process
|
||||
sleep 1
|
||||
|
||||
# Kill server
|
||||
kill $SERVER_PID 2>/dev/null || true
|
||||
|
||||
# Check if client completed successfully (exit code 0)
|
||||
if [ $CLIENT_EXIT_CODE -eq 0 ]; then
|
||||
echo "Client completed successfully"
|
||||
else
|
||||
echo "Client failed with exit code $CLIENT_EXIT_CODE"
|
||||
cat client.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check for success indicators in logs
|
||||
if grep -q "SSL version is" client.log && grep -q "SSL cipher suite is" client.log; then
|
||||
echo "TLS handshake successful - SSL version and cipher suite detected"
|
||||
else
|
||||
echo "TLS handshake failed - no SSL version/cipher detected"
|
||||
echo "Client log:"
|
||||
cat client.log
|
||||
echo "Server log:"
|
||||
cat server.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Test SNI functionality
|
||||
working-directory: wolfssl/wrapper/CSharp
|
||||
env:
|
||||
LD_LIBRARY_PATH: $GITHUB_WORKSPACE/build-dir/lib
|
||||
run: |
|
||||
# Start server with SNI support in background
|
||||
timeout 10s mono server.exe -S > server_sni.log 2>&1 &
|
||||
SERVER_PID=$!
|
||||
|
||||
# Wait for server to start
|
||||
sleep 2
|
||||
|
||||
# Run client with SNI and capture output
|
||||
timeout 5s mono client.exe -S localhost > client_sni.log 2>&1
|
||||
CLIENT_EXIT_CODE=$?
|
||||
|
||||
# Wait a moment for server to process
|
||||
sleep 1
|
||||
|
||||
# Kill server
|
||||
kill $SERVER_PID 2>/dev/null || true
|
||||
|
||||
# Check if client completed successfully
|
||||
if [ $CLIENT_EXIT_CODE -eq 0 ]; then
|
||||
echo "SNI client completed successfully"
|
||||
else
|
||||
echo "SNI client failed with exit code $CLIENT_EXIT_CODE"
|
||||
cat client_sni.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check for SNI success indicators
|
||||
if grep -q "SSL version is" client_sni.log && grep -q "SSL cipher suite is" client_sni.log; then
|
||||
echo "SNI TLS handshake successful"
|
||||
else
|
||||
echo "SNI TLS handshake failed"
|
||||
echo "Client log:"
|
||||
cat client_sni.log
|
||||
echo "Server log:"
|
||||
cat server_sni.log
|
||||
exit 1
|
||||
fi
|
||||
5
.github/workflows/multi-arch.yml
vendored
5
.github/workflows/multi-arch.yml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
CFLAGS: -marm -DWOLFSSL_SP_ARM_ARCH=6
|
||||
ARCH: armel
|
||||
EXTRA_OPTS: --enable-sp-asm
|
||||
opts: [ '-O2', '-O3', '-O1 -UFP_ECC', '-O0', '-Os', '-Ofast' ]
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-22.04
|
||||
# This should be a safe limit for the tests to run.
|
||||
@@ -47,10 +48,10 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt install -y crossbuild-essential-${{ matrix.ARCH }} qemu-user
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
- name: Build for ${{ matrix.ARCH }} with Opt Level ${{ matrix.opts }}
|
||||
env:
|
||||
CC: ${{ matrix.CC }}
|
||||
CFLAGS: ${{ matrix.CFLAGS }}
|
||||
CFLAGS: ${{ matrix.CFLAGS }} ${{ matrix.opts }}
|
||||
QEMU_LD_PREFIX: /usr/${{ matrix.HOST }}
|
||||
run: ./autogen.sh && ./configure --host=${{ matrix.HOST }} --enable-all --disable-examples CPPFLAGS="-pedantic -Wdeclaration-after-statement -DTEST_LIBWOLFSSL_SOURCES_INCLUSION_SEQUENCE -DWOLFCRYPT_TEST_LINT" ${{ matrix.EXTRA_OPTS }} && make
|
||||
- name: Print errors
|
||||
|
||||
8
.github/workflows/os-check.yml
vendored
8
.github/workflows/os-check.yml
vendored
@@ -57,7 +57,13 @@ jobs:
|
||||
'--enable-opensslextra=x509small',
|
||||
'CPPFLAGS=''-DWOLFSSL_EXTRA'' ',
|
||||
'--enable-lms=small,verify-only --enable-xmss=small,verify-only',
|
||||
'--disable-sys-ca-certs'
|
||||
'--disable-sys-ca-certs',
|
||||
'--enable-all CPPFLAGS=-DWOLFSSL_DEBUG_CERTS ',
|
||||
'--enable-all CFLAGS="-DWOLFSSL_CHECK_MEM_ZERO"',
|
||||
'--enable-coding=no',
|
||||
'--enable-dtls --enable-dtls13 --enable-ocspstapling --enable-ocspstapling2
|
||||
--enable-cert-setup-cb --enable-sessioncerts',
|
||||
'--disable-sni --disable-ecc --disable-tls13 --disable-secure-renegotiation-info',
|
||||
]
|
||||
name: make check
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
|
||||
4
.github/workflows/packaging.yml
vendored
4
.github/workflows/packaging.yml
vendored
@@ -45,8 +45,8 @@ jobs:
|
||||
- name: Confirm packages built
|
||||
run: |
|
||||
DEB_COUNT=$(find -name 'libwolfssl*.deb' | wc -l)
|
||||
if [ "$DEB_COUNT" != "2" ]; then
|
||||
echo Did not find exactly two deb packages!!!
|
||||
if [ "$DEB_COUNT" != "3" ]; then
|
||||
echo Did not find exactly three deb packages!!!
|
||||
exit 1
|
||||
fi
|
||||
# disabled 20240919 -- broken target.
|
||||
|
||||
2
.github/workflows/pq-all.yml
vendored
2
.github/workflows/pq-all.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
'--enable-intelasm --enable-sp-asm --enable-mlkem=yes,kyber,ml-kem CPPFLAGS="-DWOLFSSL_ML_KEM_USE_OLD_IDS"',
|
||||
'--enable-intelasm --enable-sp-asm --enable-all --enable-testcert --enable-acert --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch --enable-dtlscid --enable-quic --with-sys-crypto-policy --enable-experimental --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-dual-alg-certs --disable-qt CPPFLAGS="-pedantic -Wdeclaration-after-statement -DWOLFCRYPT_TEST_LINT -DNO_WOLFSSL_CIPHER_SUITE_TEST -DTEST_LIBWOLFSSL_SOURCES_INCLUSION_SEQUENCE"',
|
||||
'--enable-smallstack --enable-smallstackcache --enable-intelasm --enable-sp-asm --enable-all --enable-testcert --enable-acert --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch --enable-dtlscid --enable-quic --with-sys-crypto-policy --enable-experimental --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-dual-alg-certs --disable-qt CPPFLAGS="-pedantic -Wdeclaration-after-statement -DWOLFCRYPT_TEST_LINT -DNO_WOLFSSL_CIPHER_SUITE_TEST -DTEST_LIBWOLFSSL_SOURCES_INCLUSION_SEQUENCE"',
|
||||
'--enable-intelasm --enable-sp-asm --enable-all --enable-testcert --enable-acert --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch --enable-dtlscid --enable-quic --with-sys-crypto-policy --enable-experimental --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-dual-alg-certs --disable-qt CPPFLAGS="-pedantic -Wdeclaration-after-statement -DWOLFCRYPT_TEST_LINT -DNO_WOLFSSL_CIPHER_SUITE_TEST -DTEST_LIBWOLFSSL_SOURCES_INCLUSION_SEQUENCE" CC=c++'
|
||||
'--enable-intelasm --enable-sp-asm --enable-all --enable-testcert --enable-acert --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch --enable-dtlscid --enable-quic --with-sys-crypto-policy --enable-experimental --enable-kyber=yes,original --enable-lms --enable-xmss --enable-dilithium --enable-dual-alg-certs --disable-qt CPPFLAGS="-Wdeclaration-after-statement -DWOLFCRYPT_TEST_LINT -DNO_WOLFSSL_CIPHER_SUITE_TEST -DTEST_LIBWOLFSSL_SOURCES_INCLUSION_SEQUENCE" CC=c++'
|
||||
]
|
||||
name: make check
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
|
||||
33
.github/workflows/rust-wrapper.yml
vendored
Normal file
33
.github/workflows/rust-wrapper.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Build Rust Wrapper
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
build_wolfssl:
|
||||
name: Build wolfSSL Rust Wrapper
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-24.04
|
||||
# This should be a safe limit for the tests to run.
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Build wolfSSL
|
||||
uses: wolfSSL/actions-build-autotools-project@v1
|
||||
with:
|
||||
path: wolfssl
|
||||
configure: --enable-all
|
||||
- name: Build Rust Wrapper
|
||||
working-directory: wolfssl
|
||||
run: make -C wrapper/rust
|
||||
- name: Run Rust Wrapper Tests
|
||||
working-directory: wolfssl
|
||||
run: make -C wrapper/rust test
|
||||
70
.github/workflows/symbol-prefixes.yml
vendored
Normal file
70
.github/workflows/symbol-prefixes.yml
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
name: WOLFSSL_API_PREFIX_MAP
|
||||
|
||||
# START OF COMMON SECTION
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
# END OF COMMON SECTION
|
||||
|
||||
jobs:
|
||||
make_and_analyze:
|
||||
strategy:
|
||||
matrix:
|
||||
config: [
|
||||
'--enable-all --enable-mlkem --enable-mldsa --enable-xmss --enable-lms --enable-acert --with-sys-crypto-policy CFLAGS=-DWOLFSSL_API_PREFIX_MAP'
|
||||
]
|
||||
name: make and analyze
|
||||
if: github.repository_owner == 'wolfssl'
|
||||
runs-on: ubuntu-22.04
|
||||
# This should be a safe limit for the tests to run.
|
||||
timeout-minutes: 6
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout wolfSSL
|
||||
|
||||
- name: Test --enable-opensslcoexist and TEST_OPENSSL_COEXIST
|
||||
run: |
|
||||
./autogen.sh || $(exit 2)
|
||||
./configure ${{ matrix.config }} || $(exit 3)
|
||||
make -j 4 || $(exit 4)
|
||||
# ignore properly prefixed symbols, and symbols associated with asm implementations (all internal) regardless of prefix:
|
||||
readelf --symbols --wide src/.libs/libwolfssl.so | \
|
||||
awk '
|
||||
BEGIN {
|
||||
total_public_symbols = 0;
|
||||
unprefixed_public_symbols = 0;
|
||||
}
|
||||
{
|
||||
if (($5 == "GLOBAL") && ($6 != "HIDDEN") && ($7 ~ /^[0-9]+$/)) {
|
||||
++total_public_symbols;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (($7 !~ /^[0-9]+$/) ||
|
||||
($8 ~ /^(wc_|wolf|WOLF|__pfx|fe_|sp_[a-zA-Z090-0_]*[0-9])/) ||
|
||||
($8 ~ /(_avx[12]|_AVX[12]|_sse[12]|_SSE[12]|_aesni|_AESNI|_bmi2|_x64$)/))
|
||||
{
|
||||
next;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (($4 == "FUNC") && ($5 == "GLOBAL") && ($6 == "DEFAULT")) {
|
||||
++unprefixed_public_symbols;
|
||||
print;
|
||||
}
|
||||
}
|
||||
END {
|
||||
if (unprefixed_public_symbols) {
|
||||
print unprefixed_public_symbols " unprefixed public symbols found, of " total_public_symbols " total." >"/dev/stderr";
|
||||
exit(1);
|
||||
} else {
|
||||
print total_public_symbols " public symbols found in libwolfssl, all OK.";
|
||||
exit(0);
|
||||
}
|
||||
}' || $(exit 5)
|
||||
57
.github/workflows/threadx.yml
vendored
Normal file
57
.github/workflows/threadx.yml
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
name: ThreadXBuild Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main', 'release/**' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Cache NetXDuo bundle
|
||||
id: cache-netxduo
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./v6.4.3_rel.tar.gz
|
||||
key: netxduo-bundle-v6.4.3_rel
|
||||
|
||||
- name: Download NetXDuo bundle if not cached
|
||||
if: steps.cache-netxduo.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
wget https://github.com/eclipse-threadx/netxduo/archive/refs/tags/v6.4.3_rel.tar.gz
|
||||
|
||||
- name: Extract NetXDuo bundle
|
||||
run: |
|
||||
mkdir -p netxduo_src
|
||||
tar -xzf v6.4.3_rel.tar.gz -C netxduo_src --strip-components=1
|
||||
|
||||
- name: Install NetXDuo Dependencies
|
||||
working-directory: ./netxduo_src
|
||||
run: |
|
||||
./scripts/install.sh
|
||||
|
||||
- name: Configure NetX with DNS Client Support
|
||||
working-directory: ./netxduo_src
|
||||
run: |
|
||||
cp addons/dns/nxd_dns.h ./common/inc/
|
||||
cp addons/dns/nxd_dns.c ./common/src/
|
||||
|
||||
- name: Build NetXDuo with DNS Support
|
||||
working-directory: ./netxduo_src
|
||||
run: |
|
||||
rm -rf test/cmake/threadx
|
||||
rm -rf test/cmake/filex
|
||||
./scripts/build_nxd64.sh
|
||||
|
||||
- name: Build wolfSSL
|
||||
uses: wolfSSL/actions-build-autotools-project@v1
|
||||
with:
|
||||
path: wolfssl
|
||||
configure: --enable-enckeys --disable-examples --disable-benchmark --disable-crypttests CPPFLAGS="-DTHREADX -DHAVE_NETX -DWOLFSSL_USER_IO -I${{ github.workspace }}/netxduo_src/common/inc -I${{ github.workspace }}/netxduo_src/ports/linux/gnu/inc -I${{ github.workspace }}/netxduo_src/test/cmake/netxduo64/build/libs/inc" LDFLAGS="-L${{ github.workspace }}/netxduo_src/test/cmake/netxduo64/build/default_build_coverage/netxduo -L${{ github.workspace }}/netxduo_src/test/cmake/netxduo64/build/libs/threadx" LIBS="-lnetxduo -lthreadx"
|
||||
install: false
|
||||
|
||||
4
.github/workflows/watcomc.yml
vendored
4
.github/workflows/watcomc.yml
vendored
@@ -62,6 +62,10 @@ jobs:
|
||||
uses: open-watcom/setup-watcom@v0
|
||||
with:
|
||||
version: ${{ matrix.platform.owimage }}
|
||||
# Currently fixed to a monthly build because of historical instability with daily releases.
|
||||
# See https://github.com/wolfSSL/wolfssl/pull/9167
|
||||
# Pin to monthly release as needed:
|
||||
tag: 2025-11-03-Build
|
||||
|
||||
- name: Checkout wolfSSL
|
||||
uses: actions/checkout@v4
|
||||
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -33,7 +33,7 @@ aclocal.m4
|
||||
aminclude.am
|
||||
lt*.m4
|
||||
Makefile.in
|
||||
Makefile
|
||||
/Makefile
|
||||
depcomp
|
||||
missing
|
||||
libtool
|
||||
@@ -449,6 +449,7 @@ MagicCrypto
|
||||
# debian packaging
|
||||
debian/changelog
|
||||
debian/control
|
||||
debian/rules
|
||||
*.deb
|
||||
|
||||
# Ada/Alire files
|
||||
@@ -457,6 +458,9 @@ wrapper/Ada/config/
|
||||
wrapper/Ada/lib/
|
||||
wrapper/Ada/obj/
|
||||
|
||||
# Rust wrapper files
|
||||
/wrapper/rust/*/target/
|
||||
|
||||
# PlatformIO
|
||||
/**/.pio
|
||||
/**/.vscode/.browse.c_cpp.db*
|
||||
|
||||
@@ -2,6 +2,7 @@ AES_GCM_GMULT_NCT
|
||||
AFX_RESOURCE_DLL
|
||||
AFX_TARG_ENU
|
||||
ALLOW_BINARY_MISMATCH_INTROSPECTION
|
||||
ALLOW_SELFSIGNED_INVALID_CERTSIGN
|
||||
ALLOW_V1_EXTENSIONS
|
||||
ANDROID
|
||||
APP_ESP_HTTP_CLIENT
|
||||
@@ -16,9 +17,14 @@ ARDUINO_ARCH_NRF52
|
||||
ARDUINO_ARCH_RP2040
|
||||
ARDUINO_ARCH_SAMD
|
||||
ARDUINO_ARCH_STM32
|
||||
ARDUINO_AVR_ETHERNET
|
||||
ARDUINO_AVR_LEONARDO_ETH
|
||||
ARDUINO_SAMD_MKR1000
|
||||
ARDUINO_SAMD_NANO_33_IOT
|
||||
ARDUINO_SAMD_ZERO
|
||||
ARDUINO_SAM_DUE
|
||||
ARDUINO_SEEED_XIAO
|
||||
ARDUINO_TEENSY40
|
||||
ARDUINO_TEENSY41
|
||||
ASN_DUMP_OID
|
||||
ASN_TEMPLATE_SKIP_ISCA_CHECK
|
||||
@@ -99,6 +105,7 @@ CONFIG_ESP_WOLFSSL_NO_HW_RSA_PRI_MULMOD
|
||||
CONFIG_ESP_WOLFSSL_NO_STACK_SIZE_BUILD_WARNING
|
||||
CONFIG_FREERTOS_HZ
|
||||
CONFIG_FREERTOS_UNICORE
|
||||
CONFIG_HAVE_KPROBES
|
||||
CONFIG_IDF_TARGET
|
||||
CONFIG_IDF_TARGET_ARCH_RISCV
|
||||
CONFIG_IDF_TARGET_ARCH_XTENSA
|
||||
@@ -127,6 +134,7 @@ CONFIG_POSIX_API
|
||||
CONFIG_POSIX_THREADS
|
||||
CONFIG_PREEMPT_COUNT
|
||||
CONFIG_PTHREAD_IPC
|
||||
CONFIG_SCHED_INFO
|
||||
CONFIG_SMP
|
||||
CONFIG_SNTP_TIME_SYNC_METHOD_SMOOTH
|
||||
CONFIG_TIMER_TASK_STACK_DEPTH
|
||||
@@ -193,6 +201,10 @@ DILITHIUM_MUL_QINV_SLOW
|
||||
DILITHIUM_MUL_Q_SLOW
|
||||
DILITHIUM_MUL_SLOW
|
||||
DILITHIUM_USE_HINT_CT
|
||||
DONT_HAVE_KVMALLOC
|
||||
DONT_HAVE_KVREALLOC
|
||||
DONT_USE_KVMALLOC
|
||||
DONT_USE_KVREALLOC
|
||||
DTLS_RECEIVEFROM_NO_TIMEOUT_ON_INVALID_PEER
|
||||
ECCSI_ORDER_MORE_BITS_THAN_PRIME
|
||||
ECC_DUMP_OID
|
||||
@@ -201,16 +213,21 @@ ENABLE_SECURE_SOCKETS_LOGS
|
||||
ESP32
|
||||
ESP8266
|
||||
ESP_ENABLE_WOLFSSH
|
||||
ESP_IDF_VERSION
|
||||
ESP_IDF_VERSION_MAJOR
|
||||
ESP_IDF_VERSION_MINOR
|
||||
ESP_PLATFORM
|
||||
ESP_TASK_MAIN_STACK
|
||||
ETHERNET_AVAILABLE
|
||||
ETHERNET_H
|
||||
EV_TRIGGER
|
||||
EXTERNAL_LOADER_APP
|
||||
FIPS_OPTEST_FULL_RUN_AT_MODULE_INIT
|
||||
FORCE_FAILURE_GETRANDOM
|
||||
FP_ECC_CONTROL
|
||||
FREERTOS_TCP_WINSIM
|
||||
FREESCALE
|
||||
FREESCALE_MQX
|
||||
FREESCALE_RNGB
|
||||
FREESCALE_USE_MMCAU_CLASSIC
|
||||
FSL_FEATURE_HAS_L1CACHE
|
||||
@@ -405,6 +422,7 @@ NO_STDIO_FGETS_REMAP
|
||||
NO_TKERNEL_MEM_POOL
|
||||
NO_TLSX_PSKKEM_PLAIN_ANNOUNCE
|
||||
NO_VERIFY_OID
|
||||
NO_WC_DHGENERATEPUBLIC
|
||||
NO_WC_SSIZE_TYPE
|
||||
NO_WOLFSSL_ALLOC_ALIGN
|
||||
NO_WOLFSSL_AUTOSAR_CRYIF
|
||||
@@ -412,6 +430,7 @@ NO_WOLFSSL_AUTOSAR_CRYPTO
|
||||
NO_WOLFSSL_AUTOSAR_CSM
|
||||
NO_WOLFSSL_BASE64_DECODE
|
||||
NO_WOLFSSL_BN_CTX
|
||||
NO_WOLFSSL_CURVE25519_BLINDING
|
||||
NO_WOLFSSL_MSG_EX
|
||||
NO_WOLFSSL_RENESAS_FSPSM_AES
|
||||
NO_WOLFSSL_RENESAS_FSPSM_HASH
|
||||
@@ -553,6 +572,7 @@ USE_SECRET_CALLBACK
|
||||
USE_STSAFE_RNG_SEED
|
||||
USE_STSAFE_VERBOSE
|
||||
USE_TLSV13
|
||||
USE_WINDOWS_API
|
||||
USE_WOLF_STRNSTR
|
||||
USS_API
|
||||
WC_AESXTS_STREAM_NO_REQUEST_ACCOUNTING
|
||||
@@ -584,7 +604,8 @@ WC_DILITHIUM_CACHE_PUB_VECTORS
|
||||
WC_DILITHIUM_FIXED_ARRAY
|
||||
WC_DISABLE_RADIX_ZERO_PAD
|
||||
WC_ECC_NONBLOCK_ONLY
|
||||
WC_KDF_NIST_SP_800_56C
|
||||
WC_FLAG_DONT_USE_AESNI
|
||||
WC_FORCE_LINUXKM_FORTIFY_SOURCE
|
||||
WC_LMS_FULL_HASH
|
||||
WC_NO_RNG_SIMPLE
|
||||
WC_NO_STATIC_ASSERT
|
||||
@@ -595,25 +616,31 @@ WC_RSA_DIRECT
|
||||
WC_RSA_NONBLOCK
|
||||
WC_RSA_NONBLOCK_TIME
|
||||
WC_RSA_NO_FERMAT_CHECK
|
||||
WC_RWLOCK_OPS_INLINE
|
||||
WC_SHA384
|
||||
WC_SHA384_DIGEST_SIZE
|
||||
WC_SHA512
|
||||
WC_SKIP_INCLUDED_C_FILES
|
||||
WC_SSIZE_TYPE
|
||||
WC_STRICT_SIG
|
||||
WC_WANT_FLAG_DONT_USE_AESNI
|
||||
WC_USE_PIE_FENCEPOSTS_FOR_FIPS
|
||||
WC_WANT_FLAG_DONT_USE_VECTOR_OPS
|
||||
WC_XMSS_FULL_HASH
|
||||
WIFIESPAT
|
||||
WIFI_101
|
||||
WIFI_AVAILABLE
|
||||
WIFI_NINA
|
||||
WIN_REUSE_CRYPT_HANDLE
|
||||
WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE
|
||||
WOLFSENTRY_H
|
||||
WOLFSENTRY_NO_JSON
|
||||
WOLFSSL_32BIT_MILLI_TIME
|
||||
WOLFSSL_AARCH64_PRIVILEGE_MODE
|
||||
WOLFSSL_AESNI_BY4
|
||||
WOLFSSL_AESNI_BY6
|
||||
WOLFSSL_AES_CTR_EXAMPLE
|
||||
WOLFSSL_AFTER_DATE_CLOCK_SKEW
|
||||
WOLFSSL_ALGO_HW_MUTEX
|
||||
WOLFSSL_ALLOW_BAD_TLS_LEGACY_VERSION
|
||||
WOLFSSL_ALLOW_CRIT_AIA
|
||||
WOLFSSL_ALLOW_CRIT_AKID
|
||||
WOLFSSL_ALLOW_CRIT_SKID
|
||||
@@ -653,13 +680,11 @@ WOLFSSL_CAAM_BLACK_KEY_SM
|
||||
WOLFSSL_CAAM_NO_BLACK_KEY
|
||||
WOLFSSL_CALLBACKS
|
||||
WOLFSSL_CHECK_DESKEY
|
||||
WOLFSSL_CHECK_MEM_ZERO
|
||||
WOLFSSL_CHIBIOS
|
||||
WOLFSSL_CLANG_TIDY
|
||||
WOLFSSL_CLIENT_EXAMPLE
|
||||
WOLFSSL_CONTIKI
|
||||
WOLFSSL_CRL_ALLOW_MISSING_CDP
|
||||
WOLFSSL_CUSTOM_CONFIG
|
||||
WOLFSSL_DILITHIUM_ASSIGN_KEY
|
||||
WOLFSSL_DILITHIUM_MAKE_KEY_SMALL_MEM
|
||||
WOLFSSL_DILITHIUM_NO_ASN1
|
||||
@@ -687,6 +712,7 @@ WOLFSSL_ECDHX_SHARED_NOT_ZERO
|
||||
WOLFSSL_ECDSA_MATCH_HASH
|
||||
WOLFSSL_ECDSA_SET_K_ONE_LOOP
|
||||
WOLFSSL_EC_POINT_CMP_JACOBIAN
|
||||
WOLFSSL_ED448_NO_LARGE_CODE
|
||||
WOLFSSL_EDDSA_CHECK_PRIV_ON_SIGN
|
||||
WOLFSSL_EMNET
|
||||
WOLFSSL_ESPWROOM32
|
||||
@@ -761,7 +787,6 @@ WOLFSSL_NO_CT_MAX_MIN
|
||||
WOLFSSL_NO_DECODE_EXTRA
|
||||
WOLFSSL_NO_DER_TO_PEM
|
||||
WOLFSSL_NO_DH186
|
||||
WOLFSSL_NO_DH_GEN_PUB
|
||||
WOLFSSL_NO_DTLS_SIZE_CHECK
|
||||
WOLFSSL_NO_ETM_ALERT
|
||||
WOLFSSL_NO_FENCE
|
||||
@@ -810,7 +835,6 @@ WOLFSSL_PSK_IDENTITY_ALERT
|
||||
WOLFSSL_PSK_ID_PROTECTION
|
||||
WOLFSSL_PSK_MULTI_ID_PER_CS
|
||||
WOLFSSL_PSK_TLS13_CB
|
||||
WOLFSSL_PSOC6_CRYPTO
|
||||
WOLFSSL_PYTHON
|
||||
WOLFSSL_RENESAS_FSPSM_CRYPT_ONLY
|
||||
WOLFSSL_RENESAS_RA6M3
|
||||
@@ -836,6 +860,7 @@ WOLFSSL_SERVER_EXAMPLE
|
||||
WOLFSSL_SETTINGS_FILE
|
||||
WOLFSSL_SH224
|
||||
WOLFSSL_SHA256_ALT_CH_MAJ
|
||||
WOLFSSL_SHA512_HASHTYPE
|
||||
WOLFSSL_SHUTDOWNONCE
|
||||
WOLFSSL_SILABS_TRNG
|
||||
WOLFSSL_SM4_EBC
|
||||
@@ -845,6 +870,7 @@ WOLFSSL_SP_FAST_NCT_EXPTMOD
|
||||
WOLFSSL_SP_INT_SQR_VOLATILE
|
||||
WOLFSSL_STACK_CHECK
|
||||
WOLFSSL_STM32F427_RNG
|
||||
WOLFSSL_STM32U5_DHUK
|
||||
WOLFSSL_STM32_RNG_NOLIB
|
||||
WOLFSSL_STRONGEST_HASH_SIG
|
||||
WOLFSSL_STSAFE_TAKES_SLOT
|
||||
@@ -868,14 +894,15 @@ WOLFSSL_TLSX_PQC_MLKEM_STORE_PRIV_KEY
|
||||
WOLFSSL_TRACK_MEMORY_FULL
|
||||
WOLFSSL_TRAP_MALLOC_SZ
|
||||
WOLFSSL_UNALIGNED_64BIT_ACCESS
|
||||
WOLFSSL_USER_DEFINED_ATOMICS
|
||||
WOLFSSL_USER_FILESYSTEM
|
||||
WOLFSSL_USER_LOG
|
||||
WOLFSSL_USER_MUTEX
|
||||
WOLFSSL_USER_THREADING
|
||||
WOLFSSL_USE_ESP32C3_CRYPT_HASH_HW
|
||||
WOLFSSL_USE_FLASHMEM
|
||||
WOLFSSL_USE_FORCE_ZERO
|
||||
WOLFSSL_USE_OPTIONS_H
|
||||
WOLFSSL_USE_POPEN_HOST
|
||||
WOLFSSL_VALIDATE_DH_KEYGEN
|
||||
WOLFSSL_WC_LMS_SERIALIZE_STATE
|
||||
WOLFSSL_WC_XMSS_NO_SHA256
|
||||
@@ -917,6 +944,7 @@ _NETOS
|
||||
_POSIX_C_SOURCE
|
||||
_SDCC_VERSION_PATCHLEVEL
|
||||
_SH3
|
||||
_SILICON_LABS_32B_SERIES_3_CONFIG_301
|
||||
_SILICON_LABS_SECURITY_FEATURE
|
||||
_SOCKLEN_T
|
||||
_SYS_DEVCON_LOCAL_H
|
||||
@@ -942,6 +970,7 @@ __ARM_ARCH_7M__
|
||||
__ARM_FEATURE_CRYPTO
|
||||
__ASSEMBLER__
|
||||
__ATOMIC_RELAXED
|
||||
__AVR_ARCH__
|
||||
__AVR__
|
||||
__BCPLUSPLUS__
|
||||
__BIG_ENDIAN__
|
||||
@@ -974,6 +1003,7 @@ __LINUX__
|
||||
__LP64
|
||||
__LP64__
|
||||
__MACH__
|
||||
__MEGAAVR__
|
||||
__MICROBLAZE__
|
||||
__MINGW32__
|
||||
__MINGW64_VERSION_MAJOR
|
||||
@@ -996,6 +1026,8 @@ __SAM3X4C__
|
||||
__SAM3X4E__
|
||||
__SAM3X8C__
|
||||
__SAM3X8E__
|
||||
__SAMD21__
|
||||
__SAMD51__
|
||||
__SANITIZE_ADDRESS__
|
||||
__SDCC_VERSION_MAJOR
|
||||
__SDCC_VERSION_MINOR
|
||||
@@ -1050,6 +1082,7 @@ __svr4__
|
||||
__thumb__
|
||||
__ti__
|
||||
__x86_64__
|
||||
__xtensa__
|
||||
byte
|
||||
configTICK_RATE_HZ
|
||||
fallthrough
|
||||
|
||||
@@ -66,6 +66,9 @@ set(WOLFSSL_DEFINITIONS)
|
||||
set(WOLFSSL_LINK_LIBS)
|
||||
set(WOLFSSL_INCLUDE_DIRS)
|
||||
|
||||
# Initialize pkg-config private variables
|
||||
set(PC_LIBS_PRIVATE "")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/")
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/functions.cmake)
|
||||
|
||||
@@ -281,7 +284,28 @@ add_option("WOLFSSL_DEBUG"
|
||||
"no" "yes;no")
|
||||
|
||||
if(WOLFSSL_DEBUG)
|
||||
set(CMAKE_C_FLAGS "-g ${CMAKE_C_FLAGS}")
|
||||
# Optional variable inspection
|
||||
if (0)
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
list (SORT _variableNames)
|
||||
message(STATUS "")
|
||||
message(STATUS "ALL VARIABLES BEGIN")
|
||||
message(STATUS "")
|
||||
foreach (_variableName ${_variableNames})
|
||||
message(STATUS "${_variableName}=${${_variableName}}")
|
||||
endforeach()
|
||||
message(STATUS "")
|
||||
message(STATUS "ALL VARIABLES END")
|
||||
message(STATUS "")
|
||||
endif()
|
||||
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "Watcom" OR CMAKE_C_COMPILER_ID STREQUAL "OpenWatcom" OR CMAKE_GENERATOR STREQUAL "Watcom WMake")
|
||||
# Open Watcom v2 does not support -g debugging
|
||||
message(STATUS "Detected Watcom compiler, using CMAKE_C_FLAGS_DEBUG -d2")
|
||||
set(CMAKE_C_FLAGS_DEBUG "-d2 ${CMAKE_C_FLAGS_DEBUG}")
|
||||
else()
|
||||
set(CMAKE_C_FLAGS "-g ${CMAKE_C_FLAGS}")
|
||||
endif()
|
||||
list(APPEND WOLFSSL_DEFINITIONS
|
||||
"-DDEBUG_WOLFSSL"
|
||||
"-DDEBUG")
|
||||
@@ -1604,6 +1628,14 @@ if(NOT WOLFSSL_INLINE)
|
||||
list(APPEND WOLFSSL_DEFINITIONS "-DNO_INLINE")
|
||||
endif()
|
||||
|
||||
add_option("WOLFSSL_ARMASM_INLINE"
|
||||
"Enable ARM assembly inline functions (default: disabled)"
|
||||
"no" "yes;no")
|
||||
|
||||
if (WOLFSSL_ARMASM_INLINE)
|
||||
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_ARMASM_INLINE")
|
||||
endif()
|
||||
|
||||
# TODO:
|
||||
# - CRL monitor
|
||||
# - User crypto
|
||||
@@ -2647,6 +2679,21 @@ if(WOLFSSL_EXAMPLES)
|
||||
tests/api/test_tls.c
|
||||
tests/api/test_x509.c
|
||||
tests/api/test_asn.c
|
||||
tests/api/test_pkcs7.c
|
||||
tests/api/test_pkcs12.c
|
||||
tests/api/test_ossl_asn1.c
|
||||
tests/api/test_ossl_bio.c
|
||||
tests/api/test_ossl_bn.c
|
||||
tests/api/test_ossl_cipher.c
|
||||
tests/api/test_ossl_dh.c
|
||||
tests/api/test_ossl_dgst.c
|
||||
tests/api/test_ossl_dsa.c
|
||||
tests/api/test_ossl_ec.c
|
||||
tests/api/test_ossl_ecx.c
|
||||
tests/api/test_ossl_mac.c
|
||||
tests/api/test_ossl_rsa.c
|
||||
tests/api/test_ossl_sk.c
|
||||
tests/api/test_tls13.c
|
||||
tests/srp.c
|
||||
tests/suites.c
|
||||
tests/w64wrapper.c
|
||||
@@ -2926,6 +2973,16 @@ if(WOLFSSL_INSTALL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Add required frameworks for static linking on Apple platforms
|
||||
if(APPLE AND NOT BUILD_SHARED_LIBS)
|
||||
if(WOLFSSL_SYS_CA_CERTS)
|
||||
list(APPEND PC_LIBS_PRIVATE "-framework CoreFoundation" "-framework Security")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Convert lists to space-separated strings for pkg-config
|
||||
string(JOIN " " PC_LIBS_PRIVATE ${PC_LIBS_PRIVATE})
|
||||
|
||||
configure_file(support/wolfssl.pc.in ${CMAKE_CURRENT_BINARY_DIR}/support/wolfssl.pc @ONLY)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/support/wolfssl.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
|
||||
11
ChangeLog.md
11
ChangeLog.md
@@ -9,7 +9,7 @@ NOTE: * wolfSSL is now GPLv3 instead of GPLv2
|
||||
* MD5 is now disabled by default
|
||||
|
||||
|
||||
PR stands for Pull Request, and PR <NUMBER> references a GitHub pull request number where the code change was added.
|
||||
PR stands for Pull Request, and PR (NUMBER) references a GitHub pull request number where the code change was added.
|
||||
|
||||
## Vulnerabilities
|
||||
|
||||
@@ -68,7 +68,8 @@ Blinding enabled by default in PR https://github.com/wolfSSL/wolfssl/pull/8736
|
||||
* Implemented distro fix for the Linux Kernel Module. (PR #8994)
|
||||
* Fixed page-flags-h in the Linux Kernel Module. (PR #9001)
|
||||
* Added MODULE_LICENSE for the Linux Kernel Module. (PR #9005)
|
||||
* Post-Quantum Cryptography (PQC) & Asymmetric Algorithms
|
||||
|
||||
### Post-Quantum Cryptography (PQC) & Asymmetric Algorithms
|
||||
* Kyber has been updated to the MLKEM ARM file for Zephyr (PR #8781)
|
||||
* Backward compatibility has been implemented for ML_KEM IDs (PR #8827)
|
||||
* ASN.1 is now ensured to be enabled when only building PQ algorithms (PR #8884)
|
||||
@@ -207,7 +208,7 @@ https://www.wolfssl.com/about/wolfssl-software-development-process-quality-assur
|
||||
|
||||
NOTE: * --enable-heapmath is deprecated
|
||||
|
||||
PR stands for Pull Request, and PR <NUMBER> references a GitHub pull request
|
||||
PR stands for Pull Request, and PR (NUMBER) references a GitHub pull request
|
||||
number where the code change was added.
|
||||
|
||||
|
||||
@@ -423,7 +424,7 @@ NOTE:
|
||||
user_settings.h.
|
||||
|
||||
|
||||
PR stands for Pull Request, and PR <NUMBER> references a GitHub pull request
|
||||
PR stands for Pull Request, and PR (NUMBER) references a GitHub pull request
|
||||
number where the code change was added.
|
||||
|
||||
|
||||
@@ -543,7 +544,7 @@ https://www.wolfssl.com/about/wolfssl-software-development-process-quality-assur
|
||||
|
||||
NOTE: * --enable-heapmath is being deprecated and will be removed by end of 2024
|
||||
|
||||
PR stands for Pull Request, and PR <NUMBER> references a GitHub pull request
|
||||
PR stands for Pull Request, and PR (NUMBER) references a GitHub pull request
|
||||
number where the code change was added.
|
||||
|
||||
|
||||
|
||||
@@ -2,5 +2,4 @@ FROM debian:latest
|
||||
|
||||
RUN apt-get -y update
|
||||
RUN apt-get -y upgrade
|
||||
RUN apt-get install -y build-essential autoconf gawk debhelper lintian
|
||||
|
||||
RUN apt-get install -y build-essential autoconf gawk debhelper lintian dpkg-dev
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
# wolfSSL with Arduino
|
||||
|
||||
See the [example sketches](./sketches/README.md):
|
||||
|
||||
NOTE: Moving; See https://github.com/wolfSSL/wolfssl-examples/pull/499
|
||||
See the [example sketches](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino):
|
||||
|
||||
Bare-bones templates:
|
||||
|
||||
- [sketches/wolfssl_version](./sketches/wolfssl_version/README.md) single file.
|
||||
- [sketches/template](./sketches/template/README.md) multiple file example.
|
||||
- [sketches/wolfssl_version](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_version/README.md) single file.
|
||||
- [sketches/template](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/template/README.md) multiple file example.
|
||||
|
||||
Functional examples:
|
||||
- [sketches/wolfssl_AES_CTR](./sketches/wolfssl_AES_CTR/README.md) AES CTR Encrypt / decrypt.
|
||||
- [sketches/wolfssl_client](./sketches/wolfssl_client/README.md) TLS Client.
|
||||
- [sketches/wolfssl_server](./sketches/wolfssl_server/README.md) TLS Server.
|
||||
- [sketches/wolfssl_AES_CTR](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_AES_CTR/README.md) AES CTR Encrypt / decrypt.
|
||||
- [sketches/wolfssl_client](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_client/README.md) TLS Client.
|
||||
- [sketches/wolfssl_server](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_server/README.md) TLS Server.
|
||||
- [sketches/wolfssl_client_dtls](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_client_dtls/README.md) DTLS Client.
|
||||
- [sketches/wolfssl_server_dtls](https://github.com/wolfSSL/wolfssl-examples/tree/master/Arduino/sketches/wolfssl_server_dtls/README.md) DTLS Server.
|
||||
|
||||
Both the `template` and `wolfssl_AES_CTR` examples include VisualGDB project files.
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
# The Arduino library include file is "wolfssl.h" (all lower case)
|
||||
# The Published wolfSSL Arduino Registry is at https://github.com/wolfSSL/Arduino-wolfSSL.git
|
||||
# See https://downloads.arduino.cc/libraries/logs/github.com/wolfSSL/Arduino-wolfSSL/
|
||||
#
|
||||
echo "wolfssl-arduino.sh v5.8.2 rev B"
|
||||
|
||||
ROOT_DIR="/wolfssl"
|
||||
|
||||
# The Arduino Version will initially have a suffix appended during fine tuning stage.
|
||||
@@ -70,18 +73,24 @@ if [ "$ROOT_DIR" = "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$ARDUINO_ROOT" = "" ]; then
|
||||
echo "No ARDUINO_ROOT export... detecting..."
|
||||
ARDUINO_ROOT="$HOME/Arduino/libraries"
|
||||
|
||||
ARDUINO_ROOT="$HOME/Arduino/libraries"
|
||||
|
||||
# Check environment
|
||||
if [ -n "$WSL_DISTRO_NAME" ]; then
|
||||
# we found a non-blank WSL environment distro name
|
||||
current_path="$(pwd)"
|
||||
pattern="/mnt/?"
|
||||
if echo "$current_path" | grep -Eq "^$pattern"; then
|
||||
# if we are in WSL and shared Windows file system, 'ln' does not work.
|
||||
ARDUINO_ROOT="/mnt/c/Users/$USER/Documents/Arduino/libraries"
|
||||
# Check environment
|
||||
if [ -n "$WSL_DISTRO_NAME" ]; then
|
||||
# we found a non-blank WSL environment distro name
|
||||
echo "Found WSL: $WSL_DISTRO_NAME"
|
||||
current_path="$(pwd)"
|
||||
pattern="/mnt/?"
|
||||
if echo "$current_path" | grep -Eq "^$pattern"; then
|
||||
# if we are in WSL and shared Windows file system, 'ln' does not work.
|
||||
ARDUINO_ROOT="/mnt/c/Users/$USER/Documents/Arduino/libraries"
|
||||
echo "ARDUINO_ROOT set to $ARDUINO_ROOT"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Using export ARDUINO_ROOT"
|
||||
fi
|
||||
echo "The Arduino library root is: $ARDUINO_ROOT"
|
||||
|
||||
@@ -173,7 +182,7 @@ THIS_DIR=${PWD##*/}
|
||||
if [ "$THIS_DIR" = "ARDUINO" ]; then
|
||||
# mkdir ./wolfssl
|
||||
if [ -d ".${ROOT_DIR}" ]; then
|
||||
echo "ERROR: $(realpath ".${ROOT_DIR}") is not empty"
|
||||
echo "ERROR: $(realpath ".${ROOT_DIR}") is not empty; failed prior install? Please remove."
|
||||
exit 1
|
||||
else
|
||||
echo "Step 01: mkdir .${ROOT_DIR}"
|
||||
@@ -267,6 +276,7 @@ if [ "$THIS_DIR" = "ARDUINO" ]; then
|
||||
echo "Destination EXAMPLES_DIR=.${EXAMPLES_DIR}"
|
||||
echo "EXAMPLES_DIR_REAL_PATH=${EXAMPLES_DIR_REAL_PATH}"
|
||||
|
||||
# Only explicit source code is copied to the Arduino library. Edit with caution, no automation:
|
||||
if [ -n "$WOLFSSL_EXAMPLES_ROOT" ]; then
|
||||
echo "Copy template example...."
|
||||
mkdir -p ".${EXAMPLES_DIR}"/template/wolfssl_library/src
|
||||
@@ -279,23 +289,33 @@ if [ "$THIS_DIR" = "ARDUINO" ]; then
|
||||
|
||||
echo "Copy wolfssl_AES_CTR example...."
|
||||
mkdir -p ".${EXAMPLES_DIR}"/wolfssl_AES_CTR
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_AES_CTR/wolfssl_AES_CTR.ino ".${EXAMPLES_DIR}"/wolfssl_AES_CTR/wolfssl_AES_CTR.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_AES_CTR/README.md ".${EXAMPLES_DIR}"/wolfssl_AES_CTR/README.md || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_AES_CTR/wolfssl_AES_CTR.ino ".${EXAMPLES_DIR}"/wolfssl_AES_CTR/wolfssl_AES_CTR.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_AES_CTR/README.md ".${EXAMPLES_DIR}"/wolfssl_AES_CTR/README.md || exit 1
|
||||
|
||||
echo "Copy wolfssl_client example...."
|
||||
mkdir -p ".${EXAMPLES_DIR}"/wolfssl_client
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client/wolfssl_client.ino ".${EXAMPLES_DIR}"/wolfssl_client/wolfssl_client.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client/README.md ".${EXAMPLES_DIR}"/wolfssl_client/README.md || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client/wolfssl_client.ino ".${EXAMPLES_DIR}"/wolfssl_client/wolfssl_client.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client/README.md ".${EXAMPLES_DIR}"/wolfssl_client/README.md || exit 1
|
||||
|
||||
echo "Copy wolfssl_client_dtls example...."
|
||||
mkdir -p ".${EXAMPLES_DIR}"/wolfssl_client_dtls
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client_dtls/wolfssl_client_dtls.ino ".${EXAMPLES_DIR}"/wolfssl_client_dtls/wolfssl_client_dtls.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_client_dtls/README.md ".${EXAMPLES_DIR}"/wolfssl_client_dtls/README.md || exit 1
|
||||
|
||||
echo "Copy wolfssl_server example...."
|
||||
mkdir -p .${EXAMPLES_DIR}/wolfssl_server
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server/wolfssl_server.ino ".${EXAMPLES_DIR}"/wolfssl_server/wolfssl_server.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server/README.md ".${EXAMPLES_DIR}"/wolfssl_server/README.md || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server/wolfssl_server.ino ".${EXAMPLES_DIR}"/wolfssl_server/wolfssl_server.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server/README.md ".${EXAMPLES_DIR}"/wolfssl_server/README.md || exit 1
|
||||
|
||||
echo "Copy wolfssl_server_dtls example...."
|
||||
mkdir -p .${EXAMPLES_DIR}/wolfssl_server_dtls
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server_dtls/wolfssl_server_dtls.ino ".${EXAMPLES_DIR}"/wolfssl_server_dtls/wolfssl_server_dtls.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_server_dtls/README.md ".${EXAMPLES_DIR}"/wolfssl_server_dtls/README.md || exit 1
|
||||
|
||||
echo "Copy wolfssl_version example...."
|
||||
mkdir -p .${EXAMPLES_DIR}/wolfssl_version
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_version/wolfssl_version.ino ".${EXAMPLES_DIR}"/wolfssl_version/wolfssl_version.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_version/README.md ".${EXAMPLES_DIR}"/wolfssl_version/README.md || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_version/wolfssl_version.ino ".${EXAMPLES_DIR}"/wolfssl_version/wolfssl_version.ino || exit 1
|
||||
$CP_CMD "$WOLFSSL_EXAMPLES_ROOT"/Arduino/sketches/wolfssl_version/README.md ".${EXAMPLES_DIR}"/wolfssl_version/README.md || exit 1
|
||||
else
|
||||
NO_ARDUINO_EXAMPLES=1
|
||||
fi
|
||||
@@ -364,27 +384,39 @@ if [ "$THIS_OPERATION" = "INSTALL" ]; then
|
||||
# Nearly an ordinary copy, but we remove any lines with ">>" (typically edit with caution warning in comments)
|
||||
grep -v '>>' ../../examples/configs/user_settings_arduino.h > ".${ROOT_SRC_DIR}"/user_settings.h || exit 1
|
||||
|
||||
# Show the user_settings.h revision string:
|
||||
echo "This user_settings.h revision string:"
|
||||
grep "WOLFSSL_USER_SETTINGS_ID" ."${ROOT_SRC_DIR}/user_settings.h"
|
||||
echo ""
|
||||
|
||||
if [ "$THIS_INSTALL_IS_GITHUB" = "true" ]; then
|
||||
echo "Installing to GitHub directory: $THIS_INSTALL_DIR"
|
||||
cp -r ."$ROOT_DIR"/* "$THIS_INSTALL_DIR" || exit 1
|
||||
cp -r ."$ROOT_DIR"/* "$THIS_INSTALL_DIR" || exit 1
|
||||
echo "Removing workspace library directory: .$ROOT_DIR"
|
||||
rm -rf ".$ROOT_DIR"
|
||||
rm -rf ".$ROOT_DIR" || exit 1
|
||||
else
|
||||
|
||||
echo "Installing to local directory:"
|
||||
if [ "$THIS_INSTALL_DIR" = "" ]; then
|
||||
echo "mv .$ROOT_DIR $ARDUINO_ROOT"
|
||||
mv ."$ROOT_DIR" "$ARDUINO_ROOT" || exit 1
|
||||
if [ -n "$WSL_DISTRO_NAME" ]; then
|
||||
# setfattr not installed by default
|
||||
# echo "Set system.wsl_case_sensitive .$ROOT_DIR"
|
||||
# setfattr -x system.wsl_case_sensitive .$ROOT_DIR
|
||||
#
|
||||
# use copy instead of move to avoid possible system.wsl_case_sensitive warnings
|
||||
echo "cp -r .\"$ROOT_DIR\" \"$ARDUINO_ROOT\""
|
||||
cp -r ."$ROOT_DIR" "$ARDUINO_ROOT" || exit 1
|
||||
|
||||
echo "rm -rf .\"$ROOT_DIR\""
|
||||
rm -rf ."$ROOT_DIR" || exit 1
|
||||
else
|
||||
echo "mv .$ROOT_DIR $ARDUINO_ROOT"
|
||||
mv ."$ROOT_DIR" "$ARDUINO_ROOT" || exit 1
|
||||
fi
|
||||
echo "Arduino wolfSSL Version: $WOLFSSL_VERSION$WOLFSSL_VERSION_ARUINO_SUFFIX"
|
||||
else
|
||||
echo "cp -r .\"$ROOT_DIR\"/* \"$THIS_INSTALL_DIR\""
|
||||
mkdir -p "$THIS_INSTALL_DIR" || exit 1
|
||||
cp -r ."$ROOT_DIR"/* "$THIS_INSTALL_DIR" || exit 1
|
||||
mkdir -p "$THIS_INSTALL_DIR" || exit 1
|
||||
cp -r ."$ROOT_DIR"/* "$THIS_INSTALL_DIR" || exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -22,3 +22,4 @@ Updates to Espressif ESP-IDF wolfssl_benchmark and wolfssl_test examples:
|
||||
- Added optional `time_helper` for wolfssl_test
|
||||
- Exclude `ssl_misc.c` in component cmake to fix warning: #warning ssl_misc.c does not need to be compiled separately from ssl.c
|
||||
- Exclude `ssl_crypto.c` in component cmake to fix warning: #warning ssl_crypto.c does not need to be compiled separately from ssl.c
|
||||
- Exclude `ssl_sk.c` in component cmake to fix warning: #warning ssl_sk.c does not need to be compiled separately from ssl.c
|
||||
|
||||
@@ -7,6 +7,19 @@ message(STATUS "Begin project ${CMAKE_PROJECT_NAME}")
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# For the main project using ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "Adding mlongcalls")
|
||||
add_compile_options(-mlongcalls)
|
||||
add_link_options(-mlongcalls)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlongcalls")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional no watchdog typically used for test & benchmark
|
||||
if (idf_target STREQUAL "esp8266" OR IDF_TARGET STREQUAL "esp8266" OR IDF_VERSION_MAJOR VERSION_LESS "5.0")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_ESP_NO_WATCHDOG=1")
|
||||
@@ -144,5 +157,15 @@ endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# Once the project is loaded, next check for ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "mlongcalls for all components")
|
||||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
project(wolfssl_template)
|
||||
message(STATUS "end project")
|
||||
|
||||
@@ -845,6 +845,7 @@ else()
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_misc.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_p7p12.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sess.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sk.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/x509.c\""
|
||||
"\"${WOLFSSL_ROOT}/src/x509_str.c\""
|
||||
"\"${WOLFSSL_ROOT}/wolfcrypt/src/ext_kyber.c\"" # external non-wolfssl Kyber disabled by default
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* This user_settings.h is for Espressif ESP-IDF
|
||||
*
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.7.0-1
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.8.2-1 certs
|
||||
*
|
||||
* Do not include any wolfssl headers here.
|
||||
*
|
||||
@@ -257,11 +257,6 @@
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
#endif
|
||||
|
||||
/* Pick a cert buffer size: */
|
||||
/* #define USE_CERT_BUFFERS_2048 */
|
||||
/* #define USE_CERT_BUFFERS_1024 */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* The Espressif sdkconfig will have chipset info.
|
||||
**
|
||||
** Some possible values:
|
||||
@@ -377,10 +372,6 @@
|
||||
/* #define DEBUG_WOLFSSL */
|
||||
#define DEBUG_WOLFSSL_MALLOC
|
||||
|
||||
/* See test.c that sets cert buffers; we'll set them here: */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* RSA_LOW_MEM: Half as much memory but twice as slow. */
|
||||
#define RSA_LOW_MEM
|
||||
|
||||
@@ -678,9 +669,6 @@
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
#else
|
||||
/* default settings */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* Chipset detection from sdkconfig.h
|
||||
@@ -1058,10 +1046,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_1024 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_2048
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_2048
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1085,10 +1072,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_2048 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_1024
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_1024
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1108,7 +1094,6 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#define CTX_SERVER_KEY_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
#else
|
||||
/* Optionally define custom cert arrays, sizes, and types here */
|
||||
#error "Must define USE_CERT_BUFFERS_2048 or USE_CERT_BUFFERS_1024"
|
||||
#endif
|
||||
#endif /* Conditional key and cert constant names */
|
||||
|
||||
|
||||
@@ -7,6 +7,19 @@ message(STATUS "Begin project ${CMAKE_PROJECT_NAME}")
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# For the main project using ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "Adding mlongcalls")
|
||||
add_compile_options(-mlongcalls)
|
||||
add_link_options(-mlongcalls)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlongcalls")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional no watchdog typically used for test & benchmark
|
||||
if (idf_target STREQUAL "esp8266" OR IDF_TARGET STREQUAL "esp8266" OR IDF_VERSION_MAJOR VERSION_LESS "5.0")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_ESP_NO_WATCHDOG=1")
|
||||
@@ -144,5 +157,15 @@ endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# Once the project is loaded, next check for ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "mlongcalls for all components")
|
||||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
project(wolfssl_benchmark)
|
||||
message(STATUS "end project")
|
||||
|
||||
@@ -845,6 +845,7 @@ else()
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_misc.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_p7p12.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sess.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sk.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/x509.c\""
|
||||
"\"${WOLFSSL_ROOT}/src/x509_str.c\""
|
||||
"\"${WOLFSSL_ROOT}/wolfcrypt/src/ext_kyber.c\"" # external non-wolfssl Kyber disabled by default
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* This user_settings.h is for Espressif ESP-IDF
|
||||
*
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.7.0-1
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.8.2-1 certs
|
||||
*
|
||||
* Do not include any wolfssl headers here.
|
||||
*
|
||||
@@ -257,11 +257,6 @@
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
#endif
|
||||
|
||||
/* Pick a cert buffer size: */
|
||||
/* #define USE_CERT_BUFFERS_2048 */
|
||||
/* #define USE_CERT_BUFFERS_1024 */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* The Espressif sdkconfig will have chipset info.
|
||||
**
|
||||
** Some possible values:
|
||||
@@ -377,10 +372,6 @@
|
||||
/* #define DEBUG_WOLFSSL */
|
||||
#define DEBUG_WOLFSSL_MALLOC
|
||||
|
||||
/* See test.c that sets cert buffers; we'll set them here: */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* RSA_LOW_MEM: Half as much memory but twice as slow. */
|
||||
#define RSA_LOW_MEM
|
||||
|
||||
@@ -678,9 +669,6 @@
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
#else
|
||||
/* default settings */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* Chipset detection from sdkconfig.h
|
||||
@@ -1058,10 +1046,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_1024 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_2048
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_2048
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1085,10 +1072,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_2048 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_1024
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_1024
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1108,7 +1094,6 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#define CTX_SERVER_KEY_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
#else
|
||||
/* Optionally define custom cert arrays, sizes, and types here */
|
||||
#error "Must define USE_CERT_BUFFERS_2048 or USE_CERT_BUFFERS_1024"
|
||||
#endif
|
||||
#endif /* Conditional key and cert constant names */
|
||||
|
||||
|
||||
@@ -7,6 +7,19 @@ message(STATUS "Begin project ${CMAKE_PROJECT_NAME}")
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# For the main project using ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "Adding mlongcalls")
|
||||
add_compile_options(-mlongcalls)
|
||||
add_link_options(-mlongcalls)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlongcalls")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional no watchdog typically used for test & benchmark
|
||||
if (idf_target STREQUAL "esp8266" OR IDF_TARGET STREQUAL "esp8266" OR IDF_VERSION_MAJOR VERSION_LESS "5.0")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_ESP_NO_WATCHDOG=1")
|
||||
@@ -144,5 +157,15 @@ endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# Once the project is loaded, next check for ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "mlongcalls for all components")
|
||||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
project(wolfssl_client)
|
||||
message(STATUS "end project")
|
||||
|
||||
@@ -845,6 +845,7 @@ else()
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_misc.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_p7p12.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sess.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sk.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/x509.c\""
|
||||
"\"${WOLFSSL_ROOT}/src/x509_str.c\""
|
||||
"\"${WOLFSSL_ROOT}/wolfcrypt/src/ext_kyber.c\"" # external non-wolfssl Kyber disabled by default
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* This user_settings.h is for Espressif ESP-IDF
|
||||
*
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.7.0-1
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.8.2-1 certs
|
||||
*
|
||||
* Do not include any wolfssl headers here.
|
||||
*
|
||||
@@ -257,11 +257,6 @@
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
#endif
|
||||
|
||||
/* Pick a cert buffer size: */
|
||||
/* #define USE_CERT_BUFFERS_2048 */
|
||||
/* #define USE_CERT_BUFFERS_1024 */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* The Espressif sdkconfig will have chipset info.
|
||||
**
|
||||
** Some possible values:
|
||||
@@ -377,10 +372,6 @@
|
||||
/* #define DEBUG_WOLFSSL */
|
||||
#define DEBUG_WOLFSSL_MALLOC
|
||||
|
||||
/* See test.c that sets cert buffers; we'll set them here: */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* RSA_LOW_MEM: Half as much memory but twice as slow. */
|
||||
#define RSA_LOW_MEM
|
||||
|
||||
@@ -678,9 +669,6 @@
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
#else
|
||||
/* default settings */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* Chipset detection from sdkconfig.h
|
||||
@@ -1058,10 +1046,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_1024 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_2048
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_2048
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1085,10 +1072,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_2048 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_1024
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_1024
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1108,7 +1094,6 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#define CTX_SERVER_KEY_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
#else
|
||||
/* Optionally define custom cert arrays, sizes, and types here */
|
||||
#error "Must define USE_CERT_BUFFERS_2048 or USE_CERT_BUFFERS_1024"
|
||||
#endif
|
||||
#endif /* Conditional key and cert constant names */
|
||||
|
||||
|
||||
@@ -21,8 +21,23 @@
|
||||
#ifndef _CLIENT_TLS_H_
|
||||
#define _CLIENT_TLS_H_
|
||||
|
||||
/* Local project, auto-generated configuration */
|
||||
#include "sdkconfig.h"
|
||||
/* This example uses wolfssl test certificates */
|
||||
#if 1
|
||||
/* See wolfssl/certs_test.h */
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C2) || \
|
||||
defined(CONFIG_IDF_TARGET_ESP8684) || \
|
||||
defined(CONFIG_IDF_TARGET_ESP8266)
|
||||
/* Use smaller certs for low-memory devices */
|
||||
#define USE_CERT_BUFFERS_1024
|
||||
#else
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* always include smallest testing 32 byte RSA/ECC keys */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#else
|
||||
/* define your own certificate macros; see user_settings.h */
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
#include <wolfssl/ssl.h>
|
||||
|
||||
@@ -7,6 +7,19 @@ message(STATUS "Begin project ${CMAKE_PROJECT_NAME}")
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# For the main project using ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "Adding mlongcalls")
|
||||
add_compile_options(-mlongcalls)
|
||||
add_link_options(-mlongcalls)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlongcalls")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional no watchdog typically used for test & benchmark
|
||||
if (idf_target STREQUAL "esp8266" OR IDF_TARGET STREQUAL "esp8266" OR IDF_VERSION_MAJOR VERSION_LESS "5.0")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_ESP_NO_WATCHDOG=1")
|
||||
@@ -144,5 +157,15 @@ endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# Once the project is loaded, next check for ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "mlongcalls for all components")
|
||||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
project(wolfssl_server)
|
||||
message(STATUS "end project")
|
||||
|
||||
@@ -845,6 +845,7 @@ else()
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_misc.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_p7p12.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sess.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sk.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/x509.c\""
|
||||
"\"${WOLFSSL_ROOT}/src/x509_str.c\""
|
||||
"\"${WOLFSSL_ROOT}/wolfcrypt/src/ext_kyber.c\"" # external non-wolfssl Kyber disabled by default
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* This user_settings.h is for Espressif ESP-IDF
|
||||
*
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.7.0-1
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.8.2-1 certs
|
||||
*
|
||||
* Do not include any wolfssl headers here.
|
||||
*
|
||||
@@ -257,11 +257,6 @@
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
#endif
|
||||
|
||||
/* Pick a cert buffer size: */
|
||||
/* #define USE_CERT_BUFFERS_2048 */
|
||||
/* #define USE_CERT_BUFFERS_1024 */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* The Espressif sdkconfig will have chipset info.
|
||||
**
|
||||
** Some possible values:
|
||||
@@ -377,10 +372,6 @@
|
||||
/* #define DEBUG_WOLFSSL */
|
||||
#define DEBUG_WOLFSSL_MALLOC
|
||||
|
||||
/* See test.c that sets cert buffers; we'll set them here: */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* RSA_LOW_MEM: Half as much memory but twice as slow. */
|
||||
#define RSA_LOW_MEM
|
||||
|
||||
@@ -678,9 +669,6 @@
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
#else
|
||||
/* default settings */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* Chipset detection from sdkconfig.h
|
||||
@@ -1058,10 +1046,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_1024 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_2048
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_2048
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1085,10 +1072,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_2048 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_1024
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_1024
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1108,7 +1094,6 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#define CTX_SERVER_KEY_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
#else
|
||||
/* Optionally define custom cert arrays, sizes, and types here */
|
||||
#error "Must define USE_CERT_BUFFERS_2048 or USE_CERT_BUFFERS_1024"
|
||||
#endif
|
||||
#endif /* Conditional key and cert constant names */
|
||||
|
||||
|
||||
@@ -21,6 +21,24 @@
|
||||
#ifndef _SERVER_TLS_
|
||||
#define _SERVER_TLS_
|
||||
|
||||
/* This example uses wolfssl test certificates */
|
||||
#if 1
|
||||
/* See wolfssl/certs_test.h */
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C2) || \
|
||||
defined(CONFIG_IDF_TARGET_ESP8684) || \
|
||||
defined(CONFIG_IDF_TARGET_ESP8266)
|
||||
/* Use smaller certs for low-memory devices */
|
||||
#define USE_CERT_BUFFERS_1024
|
||||
#else
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* always include smallest testing 32 byte RSA/ECC keys */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#else
|
||||
/* define your own certificate macros; see user_settings.h */
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/settings.h> /* includes wolfSSL user-settings.h */
|
||||
#include <wolfssl/ssl.h>
|
||||
#include "sdkconfig.h"
|
||||
|
||||
@@ -7,6 +7,19 @@ message(STATUS "Begin project ${CMAKE_PROJECT_NAME}")
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# For the main project using ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "Adding mlongcalls")
|
||||
add_compile_options(-mlongcalls)
|
||||
add_link_options(-mlongcalls)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlongcalls")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional no watchdog typically used for test & benchmark
|
||||
if (idf_target STREQUAL "esp8266" OR IDF_TARGET STREQUAL "esp8266" OR IDF_VERSION_MAJOR VERSION_LESS "5.0")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_ESP_NO_WATCHDOG=1")
|
||||
@@ -144,5 +157,15 @@ endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# Once the project is loaded, next check for ESP-IDF version 6 or greater.
|
||||
# Numerous "dangerous relocation: call8: call target out of range: memcpy" errors encountered
|
||||
# So we'll allow long calls with the `-mlongcalls` compiler option for all components.
|
||||
if(IDF_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET STREQUAL "esp32s3")
|
||||
message(STATUS "mlongcalls for all components")
|
||||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
project(wolfssl_test)
|
||||
message(STATUS "end project")
|
||||
|
||||
@@ -845,6 +845,7 @@ else()
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_misc.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_p7p12.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sess.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/ssl_sk.c\"" # included by ssl.c
|
||||
"\"${WOLFSSL_ROOT}/src/x509.c\""
|
||||
"\"${WOLFSSL_ROOT}/src/x509_str.c\""
|
||||
"\"${WOLFSSL_ROOT}/wolfcrypt/src/ext_kyber.c\"" # external non-wolfssl Kyber disabled by default
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* This user_settings.h is for Espressif ESP-IDF
|
||||
*
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.7.0-1
|
||||
* Standardized wolfSSL Espressif ESP32 + ESP8266 user_settings.h V5.8.2-1 certs
|
||||
*
|
||||
* Do not include any wolfssl headers here.
|
||||
*
|
||||
@@ -257,11 +257,6 @@
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
#endif
|
||||
|
||||
/* Pick a cert buffer size: */
|
||||
/* #define USE_CERT_BUFFERS_2048 */
|
||||
/* #define USE_CERT_BUFFERS_1024 */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* The Espressif sdkconfig will have chipset info.
|
||||
**
|
||||
** Some possible values:
|
||||
@@ -377,10 +372,6 @@
|
||||
/* #define DEBUG_WOLFSSL */
|
||||
#define DEBUG_WOLFSSL_MALLOC
|
||||
|
||||
/* See test.c that sets cert buffers; we'll set them here: */
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
/* RSA_LOW_MEM: Half as much memory but twice as slow. */
|
||||
#define RSA_LOW_MEM
|
||||
|
||||
@@ -678,9 +669,6 @@
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
#else
|
||||
/* default settings */
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#endif
|
||||
|
||||
/* Chipset detection from sdkconfig.h
|
||||
@@ -1058,10 +1046,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_1024 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_2048
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_2048
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1085,10 +1072,9 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#error "USE_CERT_BUFFERS_2048 is already defined. Pick one."
|
||||
#endif
|
||||
|
||||
/* Be sure to include in app when using example certs: */
|
||||
#include <wolfssl/certs_test.h>
|
||||
/* Be sure to include in app, not here, when using example certs: */
|
||||
/* #include <wolfssl/certs_test.h> */
|
||||
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define CTX_CA_CERT ca_cert_der_1024
|
||||
#define CTX_CA_CERT_SIZE sizeof_ca_cert_der_1024
|
||||
#define CTX_CA_CERT_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
@@ -1108,7 +1094,6 @@ Turn on timer debugging (used when CPU cycles not available)
|
||||
#define CTX_SERVER_KEY_TYPE WOLFSSL_FILETYPE_ASN1
|
||||
#else
|
||||
/* Optionally define custom cert arrays, sizes, and types here */
|
||||
#error "Must define USE_CERT_BUFFERS_2048 or USE_CERT_BUFFERS_1024"
|
||||
#endif
|
||||
#endif /* Conditional key and cert constant names */
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@ set(COMPONENT_SRCEXCLUDE
|
||||
"./src/ssl_misc.c" # included by ssl.c
|
||||
"./src/ssl_p7p12.c" # included by ssl.c
|
||||
"./src/ssl_sess.c" # included by ssl.c
|
||||
"./src/ssl_sk.c" # included by ssl.c
|
||||
"./src/x509.c"
|
||||
"./src/x509_str.c"
|
||||
"./wolfcrypt/src/evp.c"
|
||||
|
||||
@@ -521,7 +521,7 @@ extern unsigned int my_rng_seed_gen(void);
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
516
IDE/INTIME-RTOS/Makefile
Normal file
516
IDE/INTIME-RTOS/Makefile
Normal file
@@ -0,0 +1,516 @@
|
||||
# Makefile for the INtime wolfSSL library component
|
||||
#
|
||||
SWENGENV := $(RMX_SRC_BASE)/tools/swenghg
|
||||
#
|
||||
# makefile -- defines the macros, directives and rules necessary to build the
|
||||
# wolfSSL library.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. This makefile is a "wrapper" makefile for the Visual Studio 80
|
||||
# INtime package project. The makefile provides RCS and component
|
||||
# release support not provided by the project's native visual Studio
|
||||
# makefile.
|
||||
#
|
||||
# 2. The SWENG environment assumes makefile execution from a Windows NT
|
||||
# environment.
|
||||
#
|
||||
# 3. The SWENG environment assumes that a user has Microsoft Network
|
||||
# access to the ESO server directories.
|
||||
#
|
||||
# 4. A SWENG makefile makes no assumptions concerning a user's command
|
||||
# path. All command pathnames are explicit. Furthermore, the
|
||||
# directory component of a pathname is defined by a macro that can be
|
||||
# overridden at makefile invocation.
|
||||
#
|
||||
# The same cannot be said for MS Developer Studio makefiles -- they
|
||||
# assume MSVC and Windows NT commands are in the user's path.
|
||||
#
|
||||
# 5. A SWENG makefile makes no assumptions concerning a user's environment
|
||||
# variable definitions.
|
||||
#
|
||||
# The same cannot be said for MS Developer Studio makefiles -- they
|
||||
# assume various environment variables are set properly to build their
|
||||
# components.
|
||||
#
|
||||
# 6. A SWENG makefile executes standard MKS and MSVC tools. Other tool
|
||||
# sets require additional macro and rule definition.
|
||||
#
|
||||
|
||||
# Default macros and directives.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. These files must always be included before all component-specific
|
||||
# macros and directives.
|
||||
|
||||
.INCLUDE:$(SWENGENV)/macros.wnt
|
||||
.INCLUDE:$(SWENGENV)/intimemacros.wnt
|
||||
|
||||
# Component and version number macros:
|
||||
#
|
||||
# COMPONENT: The name of the product component built by this makefile.
|
||||
# DUE TO THE IDIOSYNCRATIC NATURE OF RCS, THIS MACRO MUST NOT
|
||||
# CONTAIN ANY SPECIAL CHARACTERS, INCLUDING " " AND "."! For
|
||||
# example, the macro for the Real-Time Application Loader
|
||||
# could be defined as:
|
||||
#
|
||||
# COMPONENT := Real_Time_Application_Loader
|
||||
#
|
||||
# In the SWENG environment, a PRODUCT is the complete software
|
||||
# package sent to a customer (e.g., INtime V1.00). A PRODUCT
|
||||
# is composed of one or more COMPONENTs (e.g., Real-Time
|
||||
# Application Loader, NTX Library, etc.)
|
||||
#
|
||||
# When choosing names for new components, ensure that they
|
||||
# are unique.
|
||||
#
|
||||
# VERSION: The version number associated with the component(s) built
|
||||
# by this makefile. DUE TO THE IDIOSYNCRATIC NATURE OF RCS,
|
||||
# THIS MACRO MUST NOT CONTAIN ANY SPECIAL CHARACTERS,
|
||||
# INCLUDING " " AND "."! For example, the macro for version
|
||||
# 1.00 is defined:
|
||||
#
|
||||
# VERSION := 100
|
||||
#
|
||||
# NAME: A string used to name both the engineering version of the
|
||||
# component built by this makefile and the source files used
|
||||
# to build it.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. These macros must not be deleted or renamed. Their values should be
|
||||
# modified to match the components built by this makefile.
|
||||
#
|
||||
# 2. The "engineer" target will not complete unless the COMPONENT,
|
||||
# VERSION, and NAME macros are defined.
|
||||
|
||||
COMPONENT := wolfssl_intime
|
||||
VERSION := 572
|
||||
NAME := $(COMPONENT)_$(VERSION)
|
||||
|
||||
# MS Developer Studio project name and directory macros.
|
||||
#
|
||||
# PROJECT: The project name for this component.
|
||||
#
|
||||
# SUB_PROJECTS: The sub-project name(s) for this component.
|
||||
#
|
||||
# TARG_DIR: The target directory for component files, relative to the
|
||||
# project and sub-project directories (generally, "Debug" or
|
||||
# "Release").
|
||||
#
|
||||
# TARG_TYPE: The target type for the project and sub-projects
|
||||
# (generally, "Debug" or "Release").
|
||||
#
|
||||
# NOTES:
|
||||
# 1. These macros must not be deleted or renamed. Their values should be
|
||||
# modified to match the project/directory structure of the component(s)
|
||||
# built by this makefile. Unused macros values should be defined as
|
||||
# $(NULL).
|
||||
|
||||
PROJECT := wolfssl
|
||||
SUB_PROJECTS := $(NULL)
|
||||
.IF $(DEBUG)
|
||||
TARG_DIR := Debug
|
||||
TARG_TYPE := Debug
|
||||
.ELSE
|
||||
TARG_DIR := Release
|
||||
TARG_TYPE := Release
|
||||
.END
|
||||
|
||||
# MKS make search path for machine-generated files.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. All machine-generated target files that do not reside in the current
|
||||
# working directory require a .SOURCE directive. Otherwise, a .SOURCE
|
||||
# directive is optional (but will improve makefile performance).
|
||||
|
||||
.SOURCE.lib: $(TARG_DIR)
|
||||
|
||||
# File list macros:
|
||||
#
|
||||
# TARGETS: The component(s) built by this makefile. These are the files
|
||||
# built by the default rule ("make" or "make all").
|
||||
# LOGFILE: A log file containing revision data for the project members
|
||||
# (files) used to build the TARGETS. The file is built by the
|
||||
# "engineer" rule.
|
||||
# MAKEFILE: Makefile used to build the TARGETS (this file).
|
||||
# ASM: Assembly source code files used to build the TARGETS (.asm).
|
||||
# C: C source code files used to build the TARGETS (.c)
|
||||
# CPP: C++ source code files used to build the TARGETS (.cpp).
|
||||
# SRCS: The concatenation of ASM, C, and CPP.
|
||||
# HDRS: Header files used to build the TARGETS (.h, .hpp, .inc).
|
||||
# OBJ: Object files used to build the TARGETS (.obj).
|
||||
# DEBRIS: Machine-generated files to be deleted by the "clean" rule.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. These macros must not be deleted or renamed. Their values may be
|
||||
# modified to match the files used to build the component(s) associated
|
||||
# with this makefile.
|
||||
#
|
||||
# 2. The "engineer" rule will not complete unless the LOGFILE macro is
|
||||
# defined.
|
||||
|
||||
EXEC_TARGS := libwolfssl572.lib
|
||||
|
||||
SRC_TARGS := user_settings.h
|
||||
TARGETS := $(EXEC_TARGS)
|
||||
LOGFILE := $(PROJECT).txt
|
||||
MAKEFILE := makefile
|
||||
ASM :=
|
||||
C :=
|
||||
CPP :=
|
||||
RCFILE :=
|
||||
|
||||
SRCS :=
|
||||
OBJ :=
|
||||
CFGS :=
|
||||
|
||||
DEBRIS := $(LOGFILE) release* debug* *.sdf *.user *.aps *.bak *~
|
||||
|
||||
INCL_TARGS := wolfssl/callbacks.h \
|
||||
wolfssl/certs_test.h \
|
||||
wolfssl/crl.h \
|
||||
wolfssl/error-ssl.h \
|
||||
wolfssl/include.am \
|
||||
wolfssl/internal.h \
|
||||
wolfssl/ocsp.h \
|
||||
wolfssl/options.h \
|
||||
wolfssl/options.h.in \
|
||||
wolfssl/quic.h \
|
||||
wolfssl/sniffer.h \
|
||||
wolfssl/sniffer_error.h \
|
||||
wolfssl/sniffer_error.rc \
|
||||
wolfssl/ssl.h \
|
||||
wolfssl/test.h \
|
||||
wolfssl/version.h \
|
||||
wolfssl/version.h.in \
|
||||
wolfssl/wolfio.h \
|
||||
wolfssl/openssl/aes.h \
|
||||
wolfssl/openssl/asn1.h \
|
||||
wolfssl/openssl/asn1t.h \
|
||||
wolfssl/openssl/bio.h \
|
||||
wolfssl/openssl/bn.h \
|
||||
wolfssl/openssl/buffer.h \
|
||||
wolfssl/openssl/camellia.h \
|
||||
wolfssl/openssl/cmac.h \
|
||||
wolfssl/openssl/cms.h \
|
||||
wolfssl/openssl/compat_types.h \
|
||||
wolfssl/openssl/conf.h \
|
||||
wolfssl/openssl/crypto.h \
|
||||
wolfssl/openssl/des.h \
|
||||
wolfssl/openssl/dh.h \
|
||||
wolfssl/openssl/dsa.h \
|
||||
wolfssl/openssl/ec.h \
|
||||
wolfssl/openssl/ec448.h \
|
||||
wolfssl/openssl/ec25519.h \
|
||||
wolfssl/openssl/ecdh.h \
|
||||
wolfssl/openssl/ecdsa.h \
|
||||
wolfssl/openssl/ecdh.h \
|
||||
wolfssl/openssl/ecdsa.h \
|
||||
wolfssl/openssl/ed448.h \
|
||||
wolfssl/openssl/ed25519.h \
|
||||
wolfssl/openssl/engine.h \
|
||||
wolfssl/openssl/err.h \
|
||||
wolfssl/openssl/evp.h \
|
||||
wolfssl/openssl/fips_rand.h \
|
||||
wolfssl/openssl/hmac.h \
|
||||
wolfssl/openssl/include.am \
|
||||
wolfssl/openssl/kdf.h \
|
||||
wolfssl/openssl/lhash.h \
|
||||
wolfssl/openssl/md4.h \
|
||||
wolfssl/openssl/md5.h \
|
||||
wolfssl/openssl/modes.h \
|
||||
wolfssl/openssl/obj_mac.h \
|
||||
wolfssl/openssl/objects.h \
|
||||
wolfssl/openssl/ocsp.h \
|
||||
wolfssl/openssl/opensslconf.h \
|
||||
wolfssl/openssl/opensslv.h \
|
||||
wolfssl/openssl/ossl_typ.h \
|
||||
wolfssl/openssl/pem.h \
|
||||
wolfssl/openssl/pkcs7.h \
|
||||
wolfssl/openssl/pkcs12.h \
|
||||
wolfssl/openssl/rand.h \
|
||||
wolfssl/openssl/rc4.h \
|
||||
wolfssl/openssl/ripemd.h \
|
||||
wolfssl/openssl/rsa.h \
|
||||
wolfssl/openssl/sha.h \
|
||||
wolfssl/openssl/sha3.h \
|
||||
wolfssl/openssl/srp.h \
|
||||
wolfssl/openssl/ssl.h \
|
||||
wolfssl/openssl/ssl23.h \
|
||||
wolfssl/openssl/stack.h \
|
||||
wolfssl/openssl/tls1.h \
|
||||
wolfssl/openssl/txt_db.h \
|
||||
wolfssl/openssl/ui.h \
|
||||
wolfssl/openssl/x509.h \
|
||||
wolfssl/openssl/x509_vfy.h \
|
||||
wolfssl/openssl/x509v3.h \
|
||||
wolfssl/wolfcrypt/aes.h \
|
||||
wolfssl/wolfcrypt/arc4.h \
|
||||
wolfssl/wolfcrypt/asn.h \
|
||||
wolfssl/wolfcrypt/asn_public.h \
|
||||
wolfssl/wolfcrypt/async.h \
|
||||
wolfssl/wolfcrypt/blake2.h \
|
||||
wolfssl/wolfcrypt/blake2-impl.h \
|
||||
wolfssl/wolfcrypt/blake2-int.h \
|
||||
wolfssl/wolfcrypt/camellia.h \
|
||||
wolfssl/wolfcrypt/chacha.h \
|
||||
wolfssl/wolfcrypt/chacha20_poly1305.h \
|
||||
wolfssl/wolfcrypt/cmac.h \
|
||||
wolfssl/wolfcrypt/coding.h \
|
||||
wolfssl/wolfcrypt/compress.h \
|
||||
wolfssl/wolfcrypt/cpuid.h \
|
||||
wolfssl/wolfcrypt/cryptocb.h \
|
||||
wolfssl/wolfcrypt/curve448.h \
|
||||
wolfssl/wolfcrypt/curve25519.h \
|
||||
wolfssl/wolfcrypt/des3.h \
|
||||
wolfssl/wolfcrypt/dh.h \
|
||||
wolfssl/wolfcrypt/dilithium.h \
|
||||
wolfssl/wolfcrypt/dsa.h \
|
||||
wolfssl/wolfcrypt/ecc.h \
|
||||
wolfssl/wolfcrypt/eccsi.h \
|
||||
wolfssl/wolfcrypt/ed448.h \
|
||||
wolfssl/wolfcrypt/ed25519.h \
|
||||
wolfssl/wolfcrypt/error-crypt.h \
|
||||
wolfssl/wolfcrypt/ext_kyber.h \
|
||||
wolfssl/wolfcrypt/ext_lms.h \
|
||||
wolfssl/wolfcrypt/ext_xmss.h \
|
||||
wolfssl/wolfcrypt/falcon.h \
|
||||
wolfssl/wolfcrypt/fe_448.h \
|
||||
wolfssl/wolfcrypt/fe_operations.h \
|
||||
wolfssl/wolfcrypt/fips.h \
|
||||
wolfssl/wolfcrypt/fips_test.h \
|
||||
wolfssl/wolfcrypt/ge_448.h \
|
||||
wolfssl/wolfcrypt/ge_operations.h \
|
||||
wolfssl/wolfcrypt/hash.h \
|
||||
wolfssl/wolfcrypt/hmac.h \
|
||||
wolfssl/wolfcrypt/hpke.h \
|
||||
wolfssl/wolfcrypt/include.am \
|
||||
wolfssl/wolfcrypt/integer.h \
|
||||
wolfssl/wolfcrypt/kdf.h \
|
||||
wolfssl/wolfcrypt/kyber.h \
|
||||
wolfssl/wolfcrypt/lms.h \
|
||||
wolfssl/wolfcrypt/logging.h \
|
||||
wolfssl/wolfcrypt/md2.h \
|
||||
wolfssl/wolfcrypt/md4.h \
|
||||
wolfssl/wolfcrypt/md5.h \
|
||||
wolfssl/wolfcrypt/mem_track.h \
|
||||
wolfssl/wolfcrypt/memory.h \
|
||||
wolfssl/wolfcrypt/misc.h \
|
||||
wolfssl/wolfcrypt/mpi_class.h \
|
||||
wolfssl/wolfcrypt/mpi_superclass.h \
|
||||
wolfssl/wolfcrypt/pkcs7.h \
|
||||
wolfssl/wolfcrypt/pkcs11.h \
|
||||
wolfssl/wolfcrypt/pkcs12.h \
|
||||
wolfssl/wolfcrypt/poly1305.h \
|
||||
wolfssl/wolfcrypt/pwdbased.h \
|
||||
wolfssl/wolfcrypt/random.h \
|
||||
wolfssl/wolfcrypt/rc2.h \
|
||||
wolfssl/wolfcrypt/ripemd.h \
|
||||
wolfssl/wolfcrypt/rsa.h \
|
||||
wolfssl/wolfcrypt/sakke.h \
|
||||
wolfssl/wolfcrypt/selftest.h \
|
||||
wolfssl/wolfcrypt/settings.h \
|
||||
wolfssl/wolfcrypt/sha.h \
|
||||
wolfssl/wolfcrypt/sha3.h \
|
||||
wolfssl/wolfcrypt/sha256.h \
|
||||
wolfssl/wolfcrypt/sha512.h \
|
||||
wolfssl/wolfcrypt/signature.h \
|
||||
wolfssl/wolfcrypt/siphash.h \
|
||||
wolfssl/wolfcrypt/sm2.h \
|
||||
wolfssl/wolfcrypt/sm3.h \
|
||||
wolfssl/wolfcrypt/sm4.h \
|
||||
wolfssl/wolfcrypt/sp.h \
|
||||
wolfssl/wolfcrypt/sp_int.h \
|
||||
wolfssl/wolfcrypt/sphincs.h \
|
||||
wolfssl/wolfcrypt/srp.h \
|
||||
wolfssl/wolfcrypt/tfm.h \
|
||||
wolfssl/wolfcrypt/types.h \
|
||||
wolfssl/wolfcrypt/visibility.h \
|
||||
wolfssl/wolfcrypt/wc_encrypt.h \
|
||||
wolfssl/wolfcrypt/wc_kyber.h \
|
||||
wolfssl/wolfcrypt/wc_pkcs11.h \
|
||||
wolfssl/wolfcrypt/wc_port.h \
|
||||
wolfssl/wolfcrypt/wolfevent.h \
|
||||
wolfssl/wolfcrypt/wolfmath.h \
|
||||
wolfssl/wolfcrypt/xmss.h \
|
||||
wolfssl/wolfcrypt/port/nrf51.h \
|
||||
wolfssl/wolfcrypt/port/af_alg/afalg_hash.h \
|
||||
wolfssl/wolfcrypt/port/af_alg/wc_afalg.h \
|
||||
wolfssl/wolfcrypt/port/aria/aria-crypt.h \
|
||||
wolfssl/wolfcrypt/port/aria/aria-cryptocb.h \
|
||||
wolfssl/wolfcrypt/port/arm/cryptoCell.h \
|
||||
wolfssl/wolfcrypt/port/atmel/atmel.h \
|
||||
wolfssl/wolfcrypt/port/autosar/CryIf.h \
|
||||
wolfssl/wolfcrypt/port/autosar/Crypto.h \
|
||||
wolfssl/wolfcrypt/port/autosar/Csm.h \
|
||||
wolfssl/wolfcrypt/port/autosar/StandardTypes.h \
|
||||
wolfssl/wolfcrypt/port/caam/caam_driver.h \
|
||||
wolfssl/wolfcrypt/port/caam/caam_error.h \
|
||||
wolfssl/wolfcrypt/port/caam/caam_qnx.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_aes.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_cmac.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_ecdsa.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_fsl_nxp.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_hash.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_qnx.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_rsa.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_seco.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_sha.h \
|
||||
wolfssl/wolfcrypt/port/caam/wolfcaam_x25519.h \
|
||||
wolfssl/wolfcrypt/port/cavium/cavium_nitrox.h \
|
||||
wolfssl/wolfcrypt/port/cavium/cavium_octeon_sync.h \
|
||||
wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h \
|
||||
wolfssl/wolfcrypt/port/devcrypto/wc_devcrypto.h \
|
||||
wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h \
|
||||
wolfssl/wolfcrypt/port/Espressif/esp-sdk-lib.h \
|
||||
wolfssl/wolfcrypt/port/intel/quickassist.h \
|
||||
wolfssl/wolfcrypt/port/intel/quickassist_mem.h \
|
||||
wolfssl/wolfcrypt/port/intel/quickassist_sync.h \
|
||||
wolfssl/wolfcrypt/port/iotsafe/iotsafe.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/kcapi_dh.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/kcapi_ecc.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/kcapi_hash.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/kcapi_hmac.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/kcapi_rsa.h \
|
||||
wolfssl/wolfcrypt/port/kcapi/wc_kcapi.h \
|
||||
wolfssl/wolfcrypt/port/liboqs/liboqs.h \
|
||||
wolfssl/wolfcrypt/port/maxim/maxq10xx.h \
|
||||
wolfssl/wolfcrypt/port/nxp/dcp_port.h \
|
||||
wolfssl/wolfcrypt/port/nxp/ksdk_port.h \
|
||||
wolfssl/wolfcrypt/port/nxp/se050_port.h \
|
||||
wolfssl/wolfcrypt/port/pic32/pic32mz-crypt.h \
|
||||
wolfssl/wolfcrypt/port/psa/psa.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas_cmn.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas_sync.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas_tsip_types.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas-fspsm-crypt.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas-fspsm-types.h \
|
||||
wolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h \
|
||||
wolfssl/wolfcrypt/port/riscv/riscv-64-asm.h \
|
||||
wolfssl/wolfcrypt/port/silabs/silabs_aes.h \
|
||||
wolfssl/wolfcrypt/port/silabs/silabs_ecc.h \
|
||||
wolfssl/wolfcrypt/port/silabs/silabs_hash.h \
|
||||
wolfssl/wolfcrypt/port/silabs/silabs_random.h \
|
||||
wolfssl/wolfcrypt/port/st/stm32.h \
|
||||
wolfssl/wolfcrypt/port/st/stsafe.h \
|
||||
wolfssl/wolfcrypt/port/ti/ti-ccm.h \
|
||||
wolfssl/wolfcrypt/port/ti/ti-hash.h \
|
||||
wolfssl/wolfcrypt/port/xilinx/xil-sha3.h \
|
||||
wolfssl/wolfcrypt/port/xilinx/xil-versal-glue.h \
|
||||
wolfssl/wolfcrypt/port/xilinx/xil-versal-trng.h
|
||||
|
||||
|
||||
# Default rules.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. These files must always be included after the macro definitions and
|
||||
# before the component-specific rules.
|
||||
|
||||
.INCLUDE:$(SWENGENV)/rules.wnt
|
||||
.INCLUDE:$(SWENGENV)/intimerules.wnt
|
||||
|
||||
# Component-specific rules, including:
|
||||
#
|
||||
# prodeng: checks TARGETS into an engineering release directory using the
|
||||
# "puttarg.ksh" script.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. The "prodeng" rule must not be renamed or deleted! It should,
|
||||
# however, be modified to reflect the engineering release requirements
|
||||
# of the TARGETS.
|
||||
#
|
||||
# 2. Rules for each of the TARGETS should be added here.
|
||||
#
|
||||
# 3. Additional rules may be added as necessary. Care should be taken so
|
||||
# that rules defined in the rules.wnt file are not redefined here.
|
||||
|
||||
prodeng: "$(PROD_ENG)/rt/include/wolfssl572/wolfssl" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/openssl" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/af_alg" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/aria" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/arm" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/atmel" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/autosar" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/caam" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/cavium" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/cypress" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/devcrypto" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/espressif" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/intel" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/iotsafe" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/kcapi" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/liboqs" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/maxim" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/nxp" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/pic32" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/psa" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/Renesas" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/riscv" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/silabs" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/st" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/ti" "$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/xilinx" \
|
||||
"$(PROD_ENG)/rt/lib"
|
||||
[@
|
||||
for f in $(EXEC_TARGS); do
|
||||
$(SWENGENV)/puttarg $(PROD_ENG)/rt/lib $(TARG_DIR)/$$f Engineer $(NAME) "$(MESSAGE)"
|
||||
done
|
||||
for f in $(SRC_TARGS); do
|
||||
$(SWENGENV)/puttarg $(PROD_ENG)/rt/include/wolfssl572 $$f Engineer $(NAME) "$(MESSAGE)"
|
||||
done
|
||||
|
||||
for f in $(INCL_TARGS); do
|
||||
dir=`dirname $$f | gres "wolfssl(.*)" "\1"`
|
||||
if [ ! -d $(PROD_ENG)/rt/include/wolfssl572/wolfssl$$dir ] ; then
|
||||
mkdir $(PROD_ENG)/rt/include/wolfssl572/wolfssl$$dir
|
||||
fi
|
||||
$(SWENGENV)/puttarg $(PROD_ENG)/rt/include/wolfssl572/wolfssl$$dir ../../$$f Engineer $(NAME) "$(MESSAGE)"
|
||||
done
|
||||
]
|
||||
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/openssl" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfcrypt/port/af_alg" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/aria" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/arm" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/atmel" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/autosar" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/caam" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/cavium" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/cypress" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/devcrypto" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/espressif" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/intel" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/iotsafe" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/kcapi" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/liboqs" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/maxim" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/nxp" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/pic32" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/psa" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/Renesas" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/riscv" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/silabs" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/st" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/ti" \
|
||||
"$(PROD_ENG)/rt/include/wolfssl572/wolfssl/wolfcrypt/port/xilinx" \
|
||||
"$(PROD_ENG)/rt/lib":
|
||||
$(MKSBIN)/mkdir -p $@
|
||||
|
||||
# Build project binaries, project help files, and sub-project binaries.
|
||||
#
|
||||
# NOTES:
|
||||
# 1. To ensure that the correct environment is present when invoking a MS
|
||||
# Developer Studio makefile, the rule initializes the required
|
||||
# environment variables in a sub-shell before invoking the makefile.
|
||||
#
|
||||
# 2. Path vectors are converted to Microsoft-style pathname slashes
|
||||
# via 'redmond.ksh' before passing them as environment variables to
|
||||
# Microsoft tools.
|
||||
|
||||
SOLUTIONFILE = wolfssl-lib.sln
|
||||
.INCLUDE: $(SWENGENV)/vs2019.wnt
|
||||
|
||||
$(EXEC_TARGS) .PROLOG: rt_tree
|
||||
[@
|
||||
rm -f msbuild.log
|
||||
msbuild $(SOLUTIONFILE) /t:Rebuild /p:Configuration=$(TARG_TYPE) /fileLogger
|
||||
ec=$$?
|
||||
if [ $$ec -ne 0 ]; then
|
||||
echo Failed to build $(@)
|
||||
else
|
||||
echo Success!
|
||||
fi
|
||||
exit $$ec
|
||||
]
|
||||
|
||||
@@ -10,4 +10,7 @@ EXTRA_DIST += \
|
||||
IDE/INTIME-RTOS/wolfExamples.c \
|
||||
IDE/INTIME-RTOS/wolfExamples.h \
|
||||
IDE/INTIME-RTOS/wolfExamples.vcxproj \
|
||||
IDE/INTIME-RTOS/wolfExamples.sln
|
||||
IDE/INTIME-RTOS/wolfExamples.sln \
|
||||
IDE/INTIME-RTOS/wolfssl-lib.sln \
|
||||
IDE/INTIME-RTOS/wolfssl-lib.vcxproj \
|
||||
IDE/INTIME-RTOS/Makefile
|
||||
|
||||
444
IDE/INTIME-RTOS/libwolfssl.vcxproj
Executable file → Normal file
444
IDE/INTIME-RTOS/libwolfssl.vcxproj
Executable file → Normal file
@@ -1,210 +1,234 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|INtime">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|INtime">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="libwolfssl.c" />
|
||||
<ClCompile Include="..\..\src\crl.c" />
|
||||
<ClCompile Include="..\..\src\internal.c" />
|
||||
<ClCompile Include="..\..\src\wolfio.c" />
|
||||
<ClCompile Include="..\..\src\keys.c" />
|
||||
<ClCompile Include="..\..\src\ocsp.c" />
|
||||
<ClCompile Include="..\..\src\sniffer.c" />
|
||||
<ClCompile Include="..\..\src\ssl.c" />
|
||||
<ClCompile Include="..\..\src\tls.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\aes.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\arc4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asn.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\blake2b.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\camellia.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha20_poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\coding.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\compress.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\curve25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\des3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dh.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ecc.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ed25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\error.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hash.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\kdf.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\integer.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\logging.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md5.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\memory.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs12.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs7.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pwdbased.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\random.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ripemd.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\rsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha256.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha512.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\signature.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\srp.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\tfm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_encrypt.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_port.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfevent.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfmath.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="user_settings.h" />
|
||||
<ClInclude Include="..\..\wolfssl\callbacks.h" />
|
||||
<ClInclude Include="..\..\wolfssl\certs_test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\crl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\error-ssl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\internal.h" />
|
||||
<ClInclude Include="..\..\wolfssl\ocsp.h" />
|
||||
<ClInclude Include="..\..\wolfssl\options.h" />
|
||||
<ClInclude Include="..\..\wolfssl\sniffer.h" />
|
||||
<ClInclude Include="..\..\wolfssl\sniffer_error.h" />
|
||||
<ClInclude Include="..\..\wolfssl\ssl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\version.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\aes.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\arc4.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\asn.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\asn_public.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\async.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2-impl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2-int.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\camellia.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\chacha.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\chacha20_poly1305.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\cmac.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\coding.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\compress.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\curve25519.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\des3.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\dh.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\dsa.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ecc.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ed25519.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\error-crypt.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\fe_operations.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\fips_test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ge_operations.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\hash.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\hmac.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\integer.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\logging.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md2.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md4.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md5.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\memory.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mem_track.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\misc.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mpi_class.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mpi_superclass.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pkcs12.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pkcs7.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\poly1305.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pwdbased.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\random.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ripemd.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\rsa.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\settings.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha256.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha512.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\signature.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\srp.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\tfm.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\types.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\visibility.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wc_encrypt.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wc_port.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wolfevent.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wolfmath.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{1731767D-573F-45C9-A466-191DA0D180CF}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20052</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\libwolfssl.rsl</OutputFile>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20052</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\libwolfssl.rsl</OutputFile>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|INtime">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|INtime">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="libwolfssl.c" />
|
||||
<ClCompile Include="..\..\src\crl.c" />
|
||||
<ClCompile Include="..\..\src\dtls13.c" />
|
||||
<ClCompile Include="..\..\src\dtls.c" />
|
||||
<ClCompile Include="..\..\src\internal.c" />
|
||||
<ClCompile Include="..\..\src\wolfio.c" />
|
||||
<ClCompile Include="..\..\src\keys.c" />
|
||||
<ClCompile Include="..\..\src\ocsp.c" />
|
||||
<ClCompile Include="..\..\src\sniffer.c" />
|
||||
<ClCompile Include="..\..\src\ssl.c" />
|
||||
<ClCompile Include="..\..\src\tls.c" />
|
||||
<ClCompile Include="..\..\src\tls13.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\aes.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\arc4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asn.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\blake2b.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\blake2s.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\camellia.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha20_poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\coding.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\compress.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\curve25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cpuid.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cryptocb.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\des3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dilithium.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dh.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ecc.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ed25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ed448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\error.c" />
|
||||
<!--ClCompile Include="..\..\wolfcrypt\src\ext_kyber.c" /-->
|
||||
<ClCompile Include="..\..\wolfcrypt\src\falcon.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hash.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\kdf.c" />
|
||||
<!--ClCompile Include="..\..\wolfcrypt\src\wc_kyber.c" /-->
|
||||
<!--ClCompile Include="..\..\wolfcrypt\src\wc_kyber_poly.c" /-->
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\integer.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\logging.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md5.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\memory.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs12.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs7.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pwdbased.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\random.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\rc2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ripemd.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\rsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha256.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha512.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\signature.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sphincs.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_c32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_c64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_int.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_x86_64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\srp.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\tfm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_encrypt.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_port.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfevent.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfmath.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_pkcs11.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\port\liboqs\liboqs.c" />
|
||||
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="user_settings.h" />
|
||||
<ClInclude Include="..\..\wolfssl\callbacks.h" />
|
||||
<ClInclude Include="..\..\wolfssl\certs_test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\crl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\error-ssl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\internal.h" />
|
||||
<ClInclude Include="..\..\wolfssl\ocsp.h" />
|
||||
<ClInclude Include="..\..\wolfssl\options.h" />
|
||||
<ClInclude Include="..\..\wolfssl\sniffer.h" />
|
||||
<ClInclude Include="..\..\wolfssl\sniffer_error.h" />
|
||||
<ClInclude Include="..\..\wolfssl\ssl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\version.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\aes.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\arc4.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\asn.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\asn_public.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\async.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2-impl.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2-int.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\blake2.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\camellia.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\chacha.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\chacha20_poly1305.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\cmac.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\coding.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\compress.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\curve25519.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\des3.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\dh.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\dsa.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ecc.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ed25519.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\error-crypt.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\fe_operations.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\fips_test.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ge_operations.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\hash.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\hmac.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\integer.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\logging.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md2.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md4.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\md5.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\memory.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mem_track.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\misc.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mpi_class.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\mpi_superclass.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pkcs12.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pkcs7.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\poly1305.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\pwdbased.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\random.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\ripemd.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\rsa.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\settings.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha256.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\sha512.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\signature.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\srp.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\tfm.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\types.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\visibility.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wc_encrypt.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wc_port.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wolfevent.h" />
|
||||
<ClInclude Include="..\..\wolfssl\wolfcrypt\wolfmath.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{1731767D-573F-45C9-A466-191DA0D180CF}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20052</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\libwolfssl.rsl</OutputFile>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20052</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\libwolfssl.rsl</OutputFile>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -284,6 +284,9 @@ extern "C" {
|
||||
#undef OPENSSL_EXTRA
|
||||
#define OPENSSL_EXTRA
|
||||
|
||||
#undef OPENSSL_ALL
|
||||
#define OPENSSL_ALL
|
||||
|
||||
#undef WOLFSSL_BASE64_ENCODE
|
||||
#define WOLFSSL_BASE64_ENCODE
|
||||
|
||||
|
||||
186
IDE/INTIME-RTOS/wolfExamples.vcxproj
Executable file → Normal file
186
IDE/INTIME-RTOS/wolfExamples.vcxproj
Executable file → Normal file
@@ -1,93 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|INtime">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|INtime">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="wolfExamples.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\test\test.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\benchmark\benchmark.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="user_settings.h" />
|
||||
<ClInclude Include="wolfExamples.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{557A7EFD-2627-478A-A855-50F518DD13EE}</ProjectGuid>
|
||||
<ProjectName>wolfExamples</ProjectName>
|
||||
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20053</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib;libwolfssl.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\wolfExamples.rta</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(ProjectDir)$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20053</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib;libwolfssl.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\wolfExamples.rta</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(ProjectDir)$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|INtime">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|INtime">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="wolfExamples.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\test\test.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\benchmark\benchmark.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="user_settings.h" />
|
||||
<ClInclude Include="wolfExamples.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{557A7EFD-2627-478A-A855-50F518DD13EE}</ProjectGuid>
|
||||
<ProjectName>wolfExamples</ProjectName>
|
||||
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<IntDir>$(Configuration)_$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20053</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib;libwolfssl.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\wolfExamples.rta</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(ProjectDir)$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;_USE_64BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<ClCompile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<Version>21076.20053</Version>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib;libwolfssl.lib</AdditionalDependencies>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\\wolfExamples.rta</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(ProjectDir)$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
22
IDE/INTIME-RTOS/wolfssl-lib.sln
Normal file
22
IDE/INTIME-RTOS/wolfssl-lib.sln
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wolfssl-lib", "wolfssl-lib.vcxproj", "{3BBA3633-A077-4A57-A242-0A22328E5CF6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|INtime = Debug|INtime
|
||||
Release|INtime = Release|INtime
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3BBA3633-A077-4A57-A242-0A22328E5CF6}.Debug|INtime.ActiveCfg = Debug|INtime
|
||||
{3BBA3633-A077-4A57-A242-0A22328E5CF6}.Debug|INtime.Build.0 = Debug|INtime
|
||||
{3BBA3633-A077-4A57-A242-0A22328E5CF6}.Release|INtime.ActiveCfg = Release|INtime
|
||||
{3BBA3633-A077-4A57-A242-0A22328E5CF6}.Release|INtime.Build.0 = Release|INtime
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
367
IDE/INTIME-RTOS/wolfssl-lib.vcxproj
Normal file
367
IDE/INTIME-RTOS/wolfssl-lib.vcxproj
Normal file
@@ -0,0 +1,367 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|INtime">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|INtime">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>INtime</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\bio.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\conf.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\dtls.c" />
|
||||
<ClCompile Include="..\..\src\dtls13.c" />
|
||||
<ClCompile Include="..\..\src\pk.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\quic.c" />
|
||||
<ClCompile Include="..\..\src\ssl_asn1.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_bn.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_certman.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_crypto.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_load.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_misc.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_p7p12.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_sess.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ssl_sk.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\tls13.c" />
|
||||
<ClCompile Include="..\..\src\x509.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\x509_str.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\wolfcrypt\src\async.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\blake2s.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cpuid.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cryptocb.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\curve448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dilithium.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\eccsi.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ed448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\evp.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ext_kyber.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ext_lms.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ext_xmss.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\falcon.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fips.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fips_test.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_448.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hpke.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\kdf.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\misc.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\wolfcrypt\src\rc2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sakke.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\selftest.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\siphash.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sm2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sm3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sm4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sphincs.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_arm32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_arm64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_armthumb.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_c32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_c64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_cortexm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_dsp32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_int.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_arm32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_arm64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_armthumb.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_c32.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_c64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_cortexm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_sm2_x86_64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sp_x86_64.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_dsp.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_kyber.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_kyber_poly.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_lms.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_lms_impl.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_pkcs11.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_xmss.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_xmss_impl.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfcrypt_first.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfcrypt_last.c" />
|
||||
<ClCompile Include="libwolfssl.c" />
|
||||
<ClCompile Include="..\..\src\crl.c" />
|
||||
<ClCompile Include="..\..\src\internal.c" />
|
||||
<ClCompile Include="..\..\src\wolfio.c" />
|
||||
<ClCompile Include="..\..\src\keys.c" />
|
||||
<ClCompile Include="..\..\src\ocsp.c" />
|
||||
<ClCompile Include="..\..\src\sniffer.c" />
|
||||
<ClCompile Include="..\..\src\ssl.c" />
|
||||
<ClCompile Include="..\..\src\tls.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\aes.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\arc4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\asn.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\blake2b.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\camellia.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\chacha20_poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\cmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\coding.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\compress.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\curve25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\des3.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dh.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\dsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ecc.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ecc_fp.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ed25519.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\error.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\fe_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_low_mem.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ge_operations.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hash.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\hmac.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\integer.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\logging.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md2.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md4.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\md5.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\memory.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs12.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pkcs7.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\poly1305.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\pwdbased.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\random.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\ripemd.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\rsa.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha256.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\sha512.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\signature.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\srp.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\tfm.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_encrypt.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wc_port.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfevent.c" />
|
||||
<ClCompile Include="..\..\wolfcrypt\src\wolfmath.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\wolfcrypt\src\chacha_asm.asm" />
|
||||
<None Include="..\..\wolfcrypt\src\chacha_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\fe_x25519_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mont_small.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_12.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_17.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_20.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_24.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_28.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_3.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_32.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_4.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_48.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_6.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_64.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_7.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_8.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_9.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_mul_comba_small_set.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_12.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_17.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_20.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_24.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_28.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_3.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_32.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_4.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_48.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_6.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_64.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_7.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_8.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_9.i" />
|
||||
<None Include="..\..\wolfcrypt\src\fp_sqr_comba_small_set.i" />
|
||||
<None Include="..\..\wolfcrypt\src\include.am" />
|
||||
<None Include="..\..\wolfcrypt\src\poly1305_asm.asm" />
|
||||
<None Include="..\..\wolfcrypt\src\poly1305_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sha256_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sha3_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sha512_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sm3_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sp_sm2_x86_64_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\sp_x86_64_asm.asm" />
|
||||
<None Include="..\..\wolfcrypt\src\sp_x86_64_asm.S" />
|
||||
<None Include="..\..\wolfcrypt\src\wc_kyber_asm.S" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\wolfcrypt\src\fe_x25519_128.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3BBA3633-A077-4A57-A242-0A22328E5CF6}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<INtimeDseg>0</INtimeDseg>
|
||||
<INtimeNode>Local</INtimeNode>
|
||||
<INtimeOdir>0</INtimeOdir>
|
||||
<TargetName>libwolfssl572</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<INtimeDseg>0</INtimeDseg>
|
||||
<INtimeNode>Local</INtimeNode>
|
||||
<INtimeOdir>0</INtimeOdir>
|
||||
<TargetName>libwolfssl572</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|INtime'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PreprocessorDefinitions>DEBUG_WOLFSSL;_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;_DEBUG;INTIME_RTOS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<BufferSecurityCheck>true</BufferSecurityCheck>
|
||||
<FunctionLevelLinking>false</FunctionLevelLinking>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<PrecompiledHeaderFile>
|
||||
</PrecompiledHeaderFile>
|
||||
<ErrorReporting>Prompt</ErrorReporting>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;$(intime)\rt\include\network7;$(intime)\rt\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<HeapReserveSize>0</HeapReserveSize>
|
||||
<Version>21076.20052</Version>
|
||||
<DelayLoadDLLs>
|
||||
</DelayLoadDLLs>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<AssemblyDebug>false</AssemblyDebug>
|
||||
<HeapCommitSize>0</HeapCommitSize>
|
||||
<StackReserveSize>0</StackReserveSize>
|
||||
<StackCommitSize>0</StackCommitSize>
|
||||
<TurnOffAssemblyGeneration>false</TurnOffAssemblyGeneration>
|
||||
<LinkErrorReporting>PromptImmediately</LinkErrorReporting>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<Lib>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\$(TargetName).lib</OutputFile>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>false</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_USRDLL;WOLFSSL_DLL;BUILDING_WOLFSSL;WOLFSSL_USER_SETTINGS;INTIME_RTOS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>Async</ExceptionHandling>
|
||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||
<StringPooling>true</StringPooling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<PrecompiledHeaderFile>
|
||||
</PrecompiledHeaderFile>
|
||||
<ErrorReporting>Prompt</ErrorReporting>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\;$(intime)\rt\include\network7;$(intime)\rt\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<AdditionalDependencies>rt.lib;pcibus.lib;netlib.lib;clib.lib;vshelper.lib</AdditionalDependencies>
|
||||
<HeapReserveSize>0</HeapReserveSize>
|
||||
<Version>21076.20052</Version>
|
||||
<DelayLoadDLLs>
|
||||
</DelayLoadDLLs>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<AssemblyDebug>false</AssemblyDebug>
|
||||
<HeapCommitSize>0</HeapCommitSize>
|
||||
<StackReserveSize>0</StackReserveSize>
|
||||
<StackCommitSize>0</StackCommitSize>
|
||||
<LinkErrorReporting>PromptImmediately</LinkErrorReporting>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<Lib>
|
||||
<OutputFile>$(SolutionDir)$(Configuration)\$(TargetName).lib</OutputFile>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,9 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
CFLAGS_NEW="-DDEBUG_WOLFSSL"
|
||||
CFLAGS_NEW="-DDEBUG_WOLFSSL -I/usr/lib/gcc/x86_64-linux-gnu/$(gcc -dumpversion)/include"
|
||||
export CFLAGS="${CFLAGS} ${CFLAGS_NEW}"
|
||||
echo ${CFLAGS}
|
||||
|
||||
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1 HAVE_WOLFSSL_SP=1
|
||||
# create an empty options.h file if none exist
|
||||
if [ ! -f ../../wolfssl/options.h ]; then
|
||||
touch ../../wolfssl/options.h
|
||||
fi
|
||||
|
||||
NEW_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/lib/gcc/x86_64-linux-gnu/$(gcc -dumpversion)/include"
|
||||
export C_INCLUDE_PATH="$NEW_INCLUDE_PATH"
|
||||
|
||||
|
||||
# Build without assembly optimizations
|
||||
#make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1 HAVE_WOLFSSL_SP=1
|
||||
|
||||
# Build with assembly optimizations
|
||||
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1 HAVE_WOLFSSL_SP=1 HAVE_WOLFSSL_ASSEMBLY=1
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
make -f sgx_t_static.mk clean
|
||||
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1 HAVE_WOLFSSL_SP=1 HAVE_WOLFSSL_ASSEMBLY=1 clean
|
||||
|
||||
|
||||
@@ -44,7 +44,8 @@ endif
|
||||
|
||||
Crypto_Library_Name := sgx_tcrypto
|
||||
|
||||
Wolfssl_C_Extra_Flags := -DWOLFSSL_SGX
|
||||
Wolfssl_C_Extra_Flags := -DWOLFSSL_SGX\
|
||||
-DWOLFSSL_CUSTOM_CONFIG
|
||||
|
||||
Wolfssl_C_Files :=$(WOLFSSL_ROOT)/wolfcrypt/src/aes.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/arc4.c\
|
||||
@@ -52,6 +53,7 @@ Wolfssl_C_Files :=$(WOLFSSL_ROOT)/wolfcrypt/src/aes.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/blake2b.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/camellia.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/coding.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/cpuid.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/chacha.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/chacha20_poly1305.c\
|
||||
$(WOLFSSL_ROOT)/src/crl.c\
|
||||
@@ -88,11 +90,40 @@ Wolfssl_C_Files :=$(WOLFSSL_ROOT)/wolfcrypt/src/aes.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/signature.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_c32.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_c64.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_x86_64.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_int.c\
|
||||
$(WOLFSSL_ROOT)/src/ssl.c\
|
||||
$(WOLFSSL_ROOT)/src/tls.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/wc_encrypt.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/wolfevent.c\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/wolfevent.c
|
||||
|
||||
|
||||
ifeq ($(HAVE_WOLFSSL_ASSEMBLY), 1)
|
||||
Wolfssl_ASM_Files := $(WOLFSSL_ROOT)/wolfcrypt/src/aes_asm.asm\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_x86_64_asm.asm
|
||||
|
||||
Wolfssl_S_Files := $(WOLFSSL_ROOT)/wolfcrypt/src/aes_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/aes_gcm_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/poly1305_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sha256_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sp_x86_64_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/aes_xts_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sha3_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/wc_mlkem_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/chacha_asm.S\
|
||||
$(WOLFSSL_ROOT)/wolfcrypt/src/sha512_asm.S
|
||||
|
||||
|
||||
Wolfssl_C_Extra_Flags += -DWOLFSSL_X86_64_BUILD\
|
||||
-DWOLFSSL_AESNI\
|
||||
-maes -mavx -mavx2 -msse4.2
|
||||
|
||||
ifeq ($(HAVE_WOLFSSL_SP), 1)
|
||||
Wolfssl_C_Extra_Flags += -DWOLFSSL_SP_X86_64_ASM\
|
||||
-DWOLFSSL_SP_X86_64\
|
||||
-DWOLFSSL_SP_ASM
|
||||
endif
|
||||
endif
|
||||
|
||||
Wolfssl_Include_Paths := -I$(WOLFSSL_ROOT)/ \
|
||||
-I$(WOLFSSL_ROOT)/wolfcrypt/ \
|
||||
@@ -111,7 +142,8 @@ endif
|
||||
ifeq ($(HAVE_WOLFSSL_SP), 1)
|
||||
Wolfssl_C_Extra_Flags += -DWOLFSSL_HAVE_SP_RSA \
|
||||
-DWOLFSSL_HAVE_SP_DH \
|
||||
-DWOLFSSL_HAVE_SP_ECC
|
||||
-DWOLFSSL_HAVE_SP_ECC \
|
||||
-DWOLFSSL_SP_MATH_ALL
|
||||
endif
|
||||
|
||||
|
||||
@@ -128,6 +160,8 @@ Wolfssl_Link_Flags := $(SGX_COMMON_CFLAGS) -Wl,--no-undefined -nostdlib -nodefau
|
||||
-Wl,--version-script=trusted/wolfcrypt.lds
|
||||
|
||||
Wolfssl_C_Objects := $(Wolfssl_C_Files:.c=.o)
|
||||
Wolfssl_C_Objects += $(Wolfssl_S_Files:.S=.o)
|
||||
Wolfssl_C_Objects += $(Wolfssl_ASM_Files:.asm=.o)
|
||||
|
||||
ifeq ($(SGX_MODE), HW)
|
||||
ifneq ($(SGX_DEBUG), 1)
|
||||
@@ -137,17 +171,17 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
override CFLAGS += $(Wolfssl_C_Flags)
|
||||
override CPPFLAGS += $(Wolfssl_C_Flags)
|
||||
|
||||
.PHONY: all run
|
||||
|
||||
all: libwolfssl.sgx.static.lib.a
|
||||
|
||||
######## WolfSSL Objects ########
|
||||
|
||||
libwolfssl.sgx.static.lib.a: $(Wolfssl_C_Objects)
|
||||
ar rcs libwolfssl.sgx.static.lib.a $(Wolfssl_C_Objects)
|
||||
@echo "LINK => $@"
|
||||
@echo "Built with AES-NI ? $(HAVE_WOLFSSL_ASSEMBLY)"
|
||||
|
||||
clean:
|
||||
@rm -f $(WOLFSSL_ROOT)/wolfcrypt/benchmark/*.o $(WOLFSSL_ROOT)/wolfcrypt/test/*.o static_trusted/wolfssl_t.* libwolfssl.sgx.static.lib.a $(Wolfssl_C_Objects)
|
||||
|
||||
@@ -45,6 +45,7 @@ list( REMOVE_ITEM SSL_SOURCES ../../../src/ssl_load.c )
|
||||
list( REMOVE_ITEM SSL_SOURCES ../../../src/ssl_misc.c )
|
||||
list( REMOVE_ITEM SSL_SOURCES ../../../src/ssl_p7p12.c )
|
||||
list( REMOVE_ITEM SSL_SOURCES ../../../src/ssl_sess.c )
|
||||
list( REMOVE_ITEM SSL_SOURCES ../../../src/ssl_sk.c )
|
||||
aux_source_directory( ${CRYPTO_SRC_DIR} CRYPTO_SOURCES )
|
||||
list( REMOVE_ITEM CRYPTO_SOURCES ../../../wolfcrypt/src/evp.c )
|
||||
list( REMOVE_ITEM CRYPTO_SOURCES ../../../wolfcrypt/src/misc.c )
|
||||
|
||||
@@ -30,6 +30,9 @@ CCFLAGS += -O2 -Wall
|
||||
# For IMX6Q devices
|
||||
CCFLAGS += -DWOLFSSL_CAAM_IMX6Q
|
||||
|
||||
# wolfSSL header included for version number
|
||||
CCFLAGS += -DWOLFSSL_CUSTOM_CONFIG
|
||||
|
||||
#Compiler flags for build profiles
|
||||
CCFLAGS_release += -O2
|
||||
CCFLAGS_debug += -g -O0 -fno-builtin
|
||||
|
||||
@@ -18,6 +18,9 @@ extern "C" {
|
||||
#undef SINGLE_THREADED
|
||||
#define SINGLE_THREADED
|
||||
|
||||
#undef WOLFSSL_NO_SOCK
|
||||
#define WOLFSSL_NO_SOCK
|
||||
|
||||
#undef WOLFSSL_SMALL_STACK
|
||||
//#define WOLFSSL_SMALL_STACK
|
||||
|
||||
|
||||
@@ -21,25 +21,25 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
|Board|EK-RA6M3|
|
||||
|Device|R7FA6M3AH3CFC|
|
||||
|Toolchain|GCC ARM Embedded|
|
||||
|FSP Version|3.5.0|
|
||||
|FSP Version|6.1.0|
|
||||
|
||||
#### Selected software components
|
||||
|
||||
|Components|Version|
|
||||
|:--|:--|
|
||||
|Board Support Package Common Files|v3.5.0|
|
||||
|Arm CMSIS Version 5 - Core (M)|v5.8.0+renesas.0.fsp.3.5.0|
|
||||
|FreeRTOS|v10.4.3-LTS.Patch.2+fsp.3.5.0|
|
||||
|RA6M3-EK Board Support Files|v3.5.0|
|
||||
|Board support package for R7FA6M3AH3CFC|v3.5.0|
|
||||
|Board support package for RA6M3|v3.5.0|
|
||||
|Board support package for RA6M3 - FSP Data|v3.5.0|
|
||||
|FreeRTOS - Memory Management - Heap 4|v10.4.3-LTS.Patch.2+fsp.3.5.0|
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v3.5.0|
|
||||
|Ethernet|v3.5.0|
|
||||
|Ethernet PHY|v3.5.0|
|
||||
|FreeRTOS+TCP|v2.3.2-LTS.Patch.1+fsp.3.5.0|
|
||||
|FreeRTOS - Buffer Allocation 2|v2.3.2-LTS.Patch.1+fsp.3.5.0|
|
||||
|Board Support Package Common Files|v6.1.0|
|
||||
|Arm CMSIS Version 5 - Core (M)|v6.1.0+renesas.0.fsp.6.1.0|
|
||||
|FreeRTOS|v11.1.0+fsp.6.1.0|
|
||||
|RA6M3-EK Board Support Files|v6.1.0|
|
||||
|Board support package for R7FA6M3AH3CFC|v6.1.0|
|
||||
|Board support package for RA6M3|v6.1.0|
|
||||
|Board support package for RA6M3 - FSP Data|v6.1.0|
|
||||
|FreeRTOS - Memory Management - Heap 4|v11.1.0+fsp.6.1.0|
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v6.1.0|
|
||||
|Ethernet|v6.1.0|
|
||||
|Ethernet PHY|v6.1.0|
|
||||
|FreeRTOS+TCP|v4.3.3+fsp.6.1.0|
|
||||
|FreeRTOS - Buffer Allocation 2|v4.3.3+fsp.6.1.0|
|
||||
|
||||
|
||||
## Setup Steps
|
||||
@@ -51,11 +51,11 @@ The following steps explain how to generate the missing files and where to place
|
||||
1.) Create a 'dummy' Renesas RA C Library Project.
|
||||
|
||||
+ Click File->New->`RA C/C++ Project`
|
||||
+ Click `Renesas RA C Library Project`. Click Next
|
||||
+ Enter `dummy_library` as the project name. Click Next.
|
||||
+ Under `Board: Custom User Board`, select `EK-RA6M3`.
|
||||
+ Under `RTOS: No RTOS`, select `FreeRTOS`.
|
||||
+ Click Next. Select `FreeRTOS - Minimal - Static Allocation`
|
||||
+ Select `None`. Click Next.
|
||||
+ Select `Static Library`. Under `RTOS: No RTOS`, select `FreeRTOS`. Click Next
|
||||
+ Select `FreeRTOS - Minimal - Static Allocation`
|
||||
+ Click Finish.
|
||||
+ Open Smart Configurator by clicking configuration.xml in the project
|
||||
+ Go to `BSP` tab and increase Heap Size under `RA Common` on Properties page, e.g. 0x1000
|
||||
@@ -64,17 +64,18 @@ The following steps explain how to generate the missing files and where to place
|
||||
|
||||
|Property|Value|
|
||||
|:--|:--|
|
||||
|Thread Symbol|wolfssl_tst_thread|
|
||||
|Thread Name|wolf_tst_thread|
|
||||
|Thread Symbol|wolfssl_tst_thd|
|
||||
|Thread Name|wolf_tst_thd|
|
||||
|Thread Stack size|increase depending on your environment<br> e.g. 0xA000|
|
||||
|Thread MemoryAllocation|Dynamic|
|
||||
|Thread Memory Allocation Support Dynamic Allocation|Enabled|
|
||||
|Memory Allocation Total Heap Size|increase depending on your environment<br> e.g. 0x20000|
|
||||
|Common General Use Mutexes|Enabled|
|
||||
|Common General Enable Backward Compatibility|Enabled|
|
||||
|Common Memory Allocation Support Dynamic Allocation|Enabled|
|
||||
|Common Memory Allocation Total Heap Size|increase depending on your environment<br> e.g. 0x20000|
|
||||
|
||||
|
||||
+ Add `Heap 4` stack to sce_tst_thread from `New Stack` -> `RTOS` -> `FreeRTOS Heap 4`
|
||||
+ Add `FreeRTOS + TCP` stack to sce_tst_thread from `New Stack` -> `Networking` -> `FreeRTOS+TCP` and set properties
|
||||
+ Add `FreeRTOS + TCP` stack to sce_tst_thread from `New Stack` -> `Networking` -> `FreeRTOS+TCP` and set properties. Go to `Add Ethernet Driver` box, and click the box to select `New` -> `Ethernet (r_ether)`
|
||||
. Set properties.
|
||||
|
||||
|Property|Value|
|
||||
|:--|:--|
|
||||
@@ -84,9 +85,10 @@ The following steps explain how to generate the missing files and where to place
|
||||
2.) Create a 'dummy' Renesas RA C Project Using RA Library.
|
||||
|
||||
+ Click File->New->`RA C/C++ Project`
|
||||
+ Click `Renesas RA C Project Using RA Library`. Click Next
|
||||
+ Enter `dummy_app` as the project name. Click Next.
|
||||
+ Under `Executable Using an RA Static library`
|
||||
+ Under `Board: Custom User Board`, select `EK-RA6M3`.
|
||||
+ Select `None`. Click Next.
|
||||
+ Select `Executable Using an RA Static library`, and `No RTOS`. Click Finish
|
||||
+ Enter `dummy_app` as the project name. Click Next
|
||||
+ Select `dummy_library` from Select Renesas RA library project.
|
||||
+ Click Finish.
|
||||
@@ -125,6 +127,7 @@ The following steps explain how to generate the missing files and where to place
|
||||
+ Select and Copy the following folder inside dummy_app\
|
||||
|
||||
`script/`
|
||||
`Debug/`
|
||||
|
||||
+ Paste the copied folders into each executable projects which are Crypt test, benchmark, client and server projects\
|
||||
+ The `dummy_app` project can now be deleted.
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1066354393" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1749606599" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.1387289429" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/benchmark_wolfCrypt_RA6M3G}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.101353899" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/benchmark_wolfCrypt_RA6M3G}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.101353899" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.117420076" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1915546252" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.541441314" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
@@ -93,6 +93,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/fsp/src/rm_freertos_plus_tcp}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/Debug}""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.2089894925" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
@@ -205,7 +209,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.860211730" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1408755248" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.836244175" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/benchmark_wolfCrypt_RA6M3G}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.1745155981" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/benchmark_wolfCrypt_RA6M3G}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.1745155981" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1499452602" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1733850904" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.121988378" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
int benchmark_test(void *args);
|
||||
|
||||
void wolfssl_thread_entry(void *pvParameters) {
|
||||
void wolfssl_tst_thd_entry(void *pvParameters) {
|
||||
FSP_PARAMETER_NOT_USED(pvParameters);
|
||||
initialise_monitor_handles();
|
||||
benchmark_test(0);
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.944256802" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1728690592" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.847055546" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/client_wolfSSL_RA6M3}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.2111237750" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/client_wolfSSL_RA6M3}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.2111237750" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1877074676" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1521871638" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.1475977607" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
@@ -99,6 +99,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/fsp/src/rm_freertos_plus_tcp}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/Debug}""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.11889101" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
@@ -206,7 +210,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1224145047" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.850599989" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.171223350" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/client_wolfSSL_RA6M3}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.8777288" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/client_wolfSSL_RA6M3}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.8777288" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.342148693" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1084564839" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.1173403640" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
|
||||
@@ -34,20 +34,7 @@
|
||||
#include <stdio.h>
|
||||
#include "hal_data.h"
|
||||
|
||||
/* the function is called just before main() to set up pins */
|
||||
/* this needs to be called to setup IO Port */
|
||||
void R_BSP_WarmStart (bsp_warm_start_event_t event)
|
||||
{
|
||||
|
||||
if (BSP_WARM_START_POST_C == event) {
|
||||
/* C runtime environment and system clocks are setup. */
|
||||
/* Configure pins. */
|
||||
R_IOPORT_Open(&g_ioport_ctrl, g_ioport.p_cfg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void wolfssl_thread_entry(void *pvParameters) {
|
||||
void wolfssl_tst_thd_entry(void *pvParameters) {
|
||||
FSP_PARAMETER_NOT_USED(pvParameters);
|
||||
|
||||
/* FreeRTOS+TCP Objects */
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.971503214" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.580641031" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.213566214" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/server_wolfSSL_RA6M3}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.967969835" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/server_wolfSSL_RA6M3}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.967969835" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.79325762" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1806607058" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.828777158" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
@@ -99,6 +99,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/fsp/src/rm_freertos_plus_tcp}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/Debug}""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.924310622" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
@@ -207,7 +211,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.284360640" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.534529996" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.683276783" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/server_wolfSSL_RA6M3}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.606246866" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/server_wolfSSL_RA6M3}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.606246866" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.399996946" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.617058558" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.1734515939" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
|
||||
@@ -32,20 +32,8 @@
|
||||
#include <stdio.h>
|
||||
#include "hal_data.h"
|
||||
|
||||
/* the function is called just before main() to set up pins */
|
||||
/* this needs to be called to setup IO Port */
|
||||
void R_BSP_WarmStart (bsp_warm_start_event_t event)
|
||||
{
|
||||
|
||||
if (BSP_WARM_START_POST_C == event) {
|
||||
/* C runtime environment and system clocks are setup. */
|
||||
/* Configure pins. */
|
||||
R_IOPORT_Open(&g_ioport_ctrl, g_ioport.p_cfg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void wolfssl_thread_entry(void *pvParameters) {
|
||||
void wolfssl_tst_thd_entry(void *pvParameters) {
|
||||
FSP_PARAMETER_NOT_USED(pvParameters);
|
||||
|
||||
/* FreeRTOS+TCP parameters and objects */
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1533237073" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1986600717" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.330510769" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/test_wolfCrypt_RA6M3G}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.381371815" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/test_wolfCrypt_RA6M3G}/Debug" id="com.renesas.cdt.managedbuild.gnuarm.builder.381371815" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.563593978" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.9644899" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.1207837318" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" useByScannerDiscovery="true" valueType="includePath">
|
||||
@@ -78,6 +78,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.97449013" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.c99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths.1182988840" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths" useByScannerDiscovery="true" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/../common""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/Debug}""/>
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/../../../../../""/>
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/../""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/fsp/inc}""/>
|
||||
@@ -91,6 +92,9 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/aws}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/fsp_cfg/bsp}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.1484906637" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
@@ -199,7 +203,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.226581298" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.fpv4spd16" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1814264128" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.hard" valueType="enumerated"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform.1908205217" isAbstract="false" osList="all" superClass="ilg.gnuarmeclipse.managedbuild.cross.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/test_wolfCrypt_RA6M3G}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.1012539774" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<builder buildPath="${workspace_loc:/test_wolfCrypt_RA6M3G}/Release" id="com.renesas.cdt.managedbuild.gnuarm.builder.1012539774" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make ビルダー" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.managedbuild.gnuarm.builder"/>
|
||||
<tool commandLinePattern="${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1216775450" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.1297918163" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.228561926" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
#include "wolfcrypt/test/test.h"
|
||||
|
||||
void wolfssl_thread_entry(void* pvParameters)
|
||||
void wolfssl_tst_thd_entry(void* pvParameters)
|
||||
{
|
||||
FSP_PARAMETER_NOT_USED (pvParameters);
|
||||
/* Benchmark output is displayed to Renesas Debug Virtual Console */
|
||||
|
||||
@@ -67,6 +67,8 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor.816669574" name="Use preprocessor" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.usepreprocessor" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs.1258533267" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
<listOptionValue builtIn="false" value="_RA_CORE=CM4"/>
|
||||
<listOptionValue builtIn="false" value="_RA_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.1781159522" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/fsp/inc}""/>
|
||||
@@ -84,6 +86,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.1944945543" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
@@ -92,6 +98,8 @@
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_RENESAS_RA6M3G"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_USER_SETTINGS"/>
|
||||
<listOptionValue builtIn="false" value="_RA_CORE=CM4"/>
|
||||
<listOptionValue builtIn="false" value="_RA_ORDINAL=1"/>
|
||||
</option>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.1681064330" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.c99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths.891615582" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths" useByScannerDiscovery="true" valueType="includePath">
|
||||
@@ -113,6 +121,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M3G/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/source/portable}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.1304089417" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
@@ -151,6 +163,116 @@
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<folderInfo id="com.renesas.cdt.managedbuild.gnuarm.config.lib.debug.1761706989./ra/aws" name="aws" resourcePath="ra/aws">
|
||||
<toolChain id="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.debug.91030017" name="GCC ARM Embedded" superClass="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.debug" unusedChildren="">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.2001249505.1108024184" name="Optimization Level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.2001249505"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.377600243.1900454493" name="Message length (-fmessage-length=0)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.377600243"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.2017676735.165034946" name="'char' is signed (-fsigned-char)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.2017676735"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.576805455.752800906" name="Function sections (-ffunction-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.576805455"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.45850729.1450135011" name="Data sections (-fdata-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.45850729"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.686367944.1219290554" name="Debug level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.686367944"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.1933780576.473553102" name="Debug format" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.1933780576"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1119124835.1042603563" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1119124835"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.1672302679.202628566" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.1672302679"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.804524944.794330601" name="Arm family (-mcpu)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.804524944"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.639185237.1688476763" name="Instruction set" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.639185237"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.713463303.979675815" name="Prefix" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.713463303"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.1410723886.1415411329" name="C compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.1410723886"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.1060276466.1385698993" name="C++ compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.1060276466"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.165975284.293508603" name="Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.165975284"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1060167818.1218186697" name="Hex/Bin converter" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1060167818"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.481833856.2065255469" name="Listing generator" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.481833856"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1526590825.1167692129" name="Size command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1526590825"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.1723421995.1511521612" name="Build command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.1723421995"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.6541130.426559080" name="Remove command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.6541130"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1151421133.1442105199" name="Create flash image" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1151421133"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.1881347657.667334624" name="Print size" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.1881347657"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1076035654.108668343" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1076035654"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.185856133.884135613" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.185856133"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.310685565.389236246" name="Warn on various unused elements (-Wunused)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.310685565"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.739177720.573498222" name="Warn on uninitialized variables (-Wuninitialised)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.739177720"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.901972467.1653210091" name="Enable all common warnings (-Wall)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.901972467"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.1056252107.2053737810" name="Enable extra warnings (-Wextra)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.1056252107"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.588700457.1328782573" name="Warn on undeclared global function (-Wmissing-declaration)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.588700457"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.1597869170.1594918566" name="Warn on implicit conversions (-Wconversion)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.1597869170"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.1142953678.1050407566" name="Warn if pointer arithmetic (-Wpointer-arith)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.1142953678"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.1255373971.2040735761" name="Warn if shadowed variable (-Wshadow)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.1255373971"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.74885269.1758863180" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.74885269"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.624464928.58240205" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.624464928"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.2007958701.414810561" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.2007958701"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1540347333" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1937788536">
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.1964016942" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1440201808" name="GNU ARM Cross C Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1195007717">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other.1444318747" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other" value="-w" valueType="string"/>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.1814244990" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.1435664558" name="GNU ARM Cross C++ Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.1212762249">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other.1974426833" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other" value="-w" valueType="string"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.880285696" name="GNU ARM Cross C Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.1185911797"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.12606855" name="GNU ARM Cross C++ Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.311751680"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.1475653493" name="GNU ARM Cross Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.273078254"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.1416259339" name="GNU ARM Cross Create Flash Image" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.227390892"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.282020455" name="GNU ARM Cross Create Listing" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.545796882"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.1865404358" name="GNU ARM Cross Print Size" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.699161355"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<folderInfo id="com.renesas.cdt.managedbuild.gnuarm.config.lib.debug.1761706989./ra/arm" name="arm" resourcePath="ra/arm">
|
||||
<toolChain id="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.debug.343535006" name="GCC ARM Embedded" superClass="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.debug" unusedChildren="">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.2001249505.1450147824" name="Optimization Level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.2001249505"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.377600243.1675348043" name="Message length (-fmessage-length=0)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.377600243"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.2017676735.835209035" name="'char' is signed (-fsigned-char)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.2017676735"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.576805455.344641597" name="Function sections (-ffunction-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.576805455"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.45850729.2035890685" name="Data sections (-fdata-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.45850729"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.686367944.2063211290" name="Debug level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.686367944"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.1933780576.1819176375" name="Debug format" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.1933780576"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1119124835.777780299" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1119124835"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.1672302679.1925510550" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.1672302679"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.804524944.943958585" name="Arm family (-mcpu)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.804524944"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.639185237.1145217310" name="Instruction set" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.639185237"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.713463303.640847764" name="Prefix" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.713463303"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.1410723886.1322257809" name="C compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.1410723886"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.1060276466.1442097510" name="C++ compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.1060276466"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.165975284.839224690" name="Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.165975284"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1060167818.1097605179" name="Hex/Bin converter" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1060167818"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.481833856.1579147089" name="Listing generator" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.481833856"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1526590825.480644907" name="Size command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1526590825"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.1723421995.166049991" name="Build command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.1723421995"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.6541130.119724110" name="Remove command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.6541130"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1151421133.318895847" name="Create flash image" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1151421133"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.1881347657.669835270" name="Print size" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.1881347657"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1076035654.1469939414" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1076035654"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.185856133.955906304" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.185856133"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.310685565.497506214" name="Warn on various unused elements (-Wunused)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.310685565"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.739177720.1949570024" name="Warn on uninitialized variables (-Wuninitialised)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.739177720"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.901972467.1484626281" name="Enable all common warnings (-Wall)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.901972467"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.1056252107.747698365" name="Enable extra warnings (-Wextra)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.1056252107"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.588700457.547912405" name="Warn on undeclared global function (-Wmissing-declaration)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.588700457"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.1597869170.1779195624" name="Warn on implicit conversions (-Wconversion)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.1597869170"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.1142953678.1810713340" name="Warn if pointer arithmetic (-Wpointer-arith)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.1142953678"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.1255373971.1147375845" name="Warn if shadowed variable (-Wshadow)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.1255373971"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.74885269.1851840902" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.74885269"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.624464928.2104300534" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.624464928"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.2007958701.1410330719" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.2007958701"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1683495442" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.1937788536">
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.1845970605" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1652269700" name="GNU ARM Cross C Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1195007717">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other.953419839" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other" value="-w" valueType="string"/>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.331909678" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.735151687" name="GNU ARM Cross C++ Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.1212762249">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other.2121414228" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other" value="-w" valueType="string"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.232454180" name="GNU ARM Cross C Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.1185911797"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.1276557083" name="GNU ARM Cross C++ Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.311751680"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.1705617811" name="GNU ARM Cross Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.273078254"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.909620799" name="GNU ARM Cross Create Flash Image" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.227390892"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.1096946542" name="GNU ARM Cross Create Listing" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.545796882"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.510843886" name="GNU ARM Cross Print Size" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.699161355"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="common|wolfcrypt|src|src/crl.c|src/bio.c|ra|ra_gen" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="ra"/>
|
||||
@@ -230,6 +352,8 @@
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs.564659763" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RA_"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_RENESAS_RA6M3G"/>
|
||||
<listOptionValue builtIn="false" value="_RA_CORE=CM4"/>
|
||||
<listOptionValue builtIn="false" value="_RA_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths.373460777" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/fsp/inc}""/>
|
||||
@@ -248,6 +372,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.1333795089" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
@@ -260,6 +388,8 @@
|
||||
<listOptionValue builtIn="false" value="configUSE_MUTEXES=1"/>
|
||||
<listOptionValue builtIn="false" value="configSUPPORT_STATIC_ALLOCATION=1"/>
|
||||
<listOptionValue builtIn="false" value="configMEMORY_DYNAMIC_ALLOCATION=1"/>
|
||||
<listOptionValue builtIn="false" value="_RA_CORE=CM4"/>
|
||||
<listOptionValue builtIn="false" value="_RA_ORDINAL=1"/>
|
||||
</option>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.4825216" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.c99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths.947802473" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths" useByScannerDiscovery="true" valueType="includePath">
|
||||
@@ -278,6 +408,10 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/amazon-freertos/libraries/freertos_plus/standard/freertos_plus_tcp/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra_cfg/fsp_cfg/driver}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS/Source/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/arm/CMSIS_6/CMSIS/Core/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ra/aws/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/source/include}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.179918099" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
@@ -316,6 +450,116 @@
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<folderInfo id="com.renesas.cdt.managedbuild.gnuarm.config.lib.release.764611173./ra/aws" name="aws" resourcePath="ra/aws">
|
||||
<toolChain id="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.release.841262386" name="GCC ARM Embedded" superClass="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.release" unusedChildren="">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.108708741.268489898" name="Optimization Level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.108708741"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.493159718.595308363" name="Message length (-fmessage-length=0)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.493159718"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.510155687.185182196" name="'char' is signed (-fsigned-char)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.510155687"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.1446253115.1754931245" name="Function sections (-ffunction-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.1446253115"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.799994481.222621468" name="Data sections (-fdata-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.799994481"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.807491339.38834977" name="Debug level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.807491339"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.295018593.953158158" name="Debug format" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.295018593"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1246069395.688900980" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1246069395"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.490030095.1559633018" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.490030095"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.2103553360.105365571" name="Arm family (-mcpu)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.2103553360"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.1893374652.1806828881" name="Instruction set" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.1893374652"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.469714856.1777921757" name="Prefix" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.469714856"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.2016546203.1029662828" name="C compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.2016546203"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.118965071.623619160" name="C++ compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.118965071"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.2079701456.669770466" name="Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.2079701456"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1564469790.999346301" name="Hex/Bin converter" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1564469790"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.1768209294.309178141" name="Listing generator" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.1768209294"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1832870324.1502596531" name="Size command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1832870324"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.674776333.412791702" name="Build command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.674776333"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.477658091.1732565883" name="Remove command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.477658091"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1191230920.101713400" name="Create flash image" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1191230920"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.108292829.880634767" name="Print size" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.108292829"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1112374071.676068018" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1112374071"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1555340921.1992175329" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1555340921"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.586319347.2002697044" name="Warn on various unused elements (-Wunused)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.586319347"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.99678983.543790376" name="Warn on uninitialized variables (-Wuninitialised)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.99678983"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.1599378543.70059659" name="Enable all common warnings (-Wall)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.1599378543"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.635741850.977893998" name="Enable extra warnings (-Wextra)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.635741850"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.1565105596.481834515" name="Warn on undeclared global function (-Wmissing-declaration)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.1565105596"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.902138649.2070603189" name="Warn on implicit conversions (-Wconversion)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.902138649"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.438745077.1946313977" name="Warn if pointer arithmetic (-Wpointer-arith)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.438745077"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.2007533808.290542154" name="Warn if shadowed variable (-Wshadow)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.2007533808"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.1202316177.1021894556" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.1202316177"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1438675558.1691638130" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1438675558"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1570502611.1736056155" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1570502611"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.174676040" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.315036765">
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.746965816" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1200455962" name="GNU ARM Cross C Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1007215142">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other.453274674" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other" value="-w" valueType="string"/>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.99032971" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.1968377712" name="GNU ARM Cross C++ Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.619807753">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other.470700972" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other" value="-w" valueType="string"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.851780040" name="GNU ARM Cross C Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.918399890"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.1866494507" name="GNU ARM Cross C++ Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.1156606973"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.1864013800" name="GNU ARM Cross Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.219033935"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.408871102" name="GNU ARM Cross Create Flash Image" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.840367062"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.1594321218" name="GNU ARM Cross Create Listing" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.1457763339"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.1270950787" name="GNU ARM Cross Print Size" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.993906098"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<folderInfo id="com.renesas.cdt.managedbuild.gnuarm.config.lib.release.764611173./ra/arm" name="arm" resourcePath="ra/arm">
|
||||
<toolChain id="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.release.1304302803" name="GCC ARM Embedded" superClass="com.renesas.cdt.managedbuild.gnuarm.toolchain.lib.release" unusedChildren="">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.108708741.724359540" name="Optimization Level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.level.108708741"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.493159718.409707622" name="Message length (-fmessage-length=0)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.messagelength.493159718"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.510155687.223231316" name="'char' is signed (-fsigned-char)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.signedchar.510155687"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.1446253115.1425950636" name="Function sections (-ffunction-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.functionsections.1446253115"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.799994481.1840680707" name="Data sections (-fdata-sections)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.optimization.datasections.799994481"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.807491339.156648222" name="Debug level" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.level.807491339"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.295018593.703235600" name="Debug format" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.debugging.format.295018593"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1246069395.1067049168" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.1246069395"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.490030095.469915089" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.490030095"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.2103553360.824278182" name="Arm family (-mcpu)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.family.2103553360"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.1893374652.1981233456" name="Instruction set" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.instructionset.1893374652"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.469714856.1327471490" name="Prefix" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.prefix.469714856"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.2016546203.1783964207" name="C compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.c.2016546203"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.118965071.1509550005" name="C++ compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.cpp.118965071"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.2079701456.971576282" name="Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.ar.2079701456"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1564469790.1186674688" name="Hex/Bin converter" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objcopy.1564469790"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.1768209294.1087918809" name="Listing generator" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.objdump.1768209294"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1832870324.1065544037" name="Size command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.size.1832870324"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.674776333.1694531840" name="Build command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.make.674776333"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.477658091.1609130535" name="Remove command" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.command.rm.477658091"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1191230920.2023387958" name="Create flash image" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.createflash.1191230920"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.108292829.2036079893" name="Print size" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.addtools.printsize.108292829"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1112374071.1379940229" name="FPU Type" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.unit.1112374071"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1555340921.101483448" name="Float ABI" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.fpu.abi.1555340921"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.586319347.1969593843" name="Warn on various unused elements (-Wunused)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.unused.586319347"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.99678983.601301996" name="Warn on uninitialized variables (-Wuninitialised)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.uninitialized.99678983"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.1599378543.520690415" name="Enable all common warnings (-Wall)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.allwarn.1599378543"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.635741850.278085474" name="Enable extra warnings (-Wextra)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.extrawarn.635741850"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.1565105596.989240394" name="Warn on undeclared global function (-Wmissing-declaration)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.missingdeclaration.1565105596"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.902138649.990632019" name="Warn on implicit conversions (-Wconversion)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.conversion.902138649"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.438745077.1488784842" name="Warn if pointer arithmetic (-Wpointer-arith)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.pointerarith.438745077"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.2007533808.1452456768" name="Warn if shadowed variable (-Wshadow)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.shadow.2007533808"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.1202316177.239403668" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.1202316177"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1438675558.1096318820" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1438675558"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1570502611.777405987" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1570502611"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.815468667" name="GNU ARM Cross Assembler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.315036765">
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.1447635171" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.423579013" name="GNU ARM Cross C Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.1007215142">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other.1744967881" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.other" value="-w" valueType="string"/>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.333027275" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.930430993" name="GNU ARM Cross C++ Compiler" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.compiler.619807753">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other.1898228441" name="Other compiler flags" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.other" value="-w" valueType="string"/>
|
||||
</tool>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.220065215" name="GNU ARM Cross C Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.linker.918399890"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.921229835" name="GNU ARM Cross C++ Linker" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.cpp.linker.1156606973"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.1275848948" name="GNU ARM Cross Archiver" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.archiver.219033935"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.2073472652" name="GNU ARM Cross Create Flash Image" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createflash.840367062"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.1016269343" name="GNU ARM Cross Create Listing" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.createlisting.1457763339"/>
|
||||
<tool id="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.354014570" name="GNU ARM Cross Print Size" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.printsize.993906098"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="ra"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="ra_gen"/>
|
||||
|
||||
@@ -24,29 +24,29 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
|Board|EK-RA6M4|
|
||||
|Device|R7FA6M4AF3CFB|
|
||||
|Toolchain|GCC ARM Embedded|
|
||||
|FSP Version|5.4.0|
|
||||
|FSP Version|6.1.0|
|
||||
|
||||
#### Selected software components
|
||||
|
||||
|Components|Version|
|
||||
|:--|:--|
|
||||
|Board Support Package Common Files|v5.4.0|
|
||||
|Secure Cryptography Engine on RA6 Protected Mode|v5.4.0|
|
||||
|I/O Port|v5.4.0|
|
||||
|Arm CMSIS Version 5 - Core (M)|v6.1.0+fsp.5.4.0|
|
||||
|RA6M4-EK Board Support Files|v5.4.0|
|
||||
|Board support package for R7FA6M4AF3CFB|v5.4.0|
|
||||
|Board support package for RA6M4 - Events|v5.4.0|
|
||||
|Board support package for RA6M4|v5.4.0|
|
||||
|Board support package for RA6M4 - FSP Data|v5.4.0|
|
||||
|FreeRTOS|v10.6.1+fsp.5.4.0|
|
||||
|FreeRTOS - Memory Management - Heap 4|v10.6.1+fsp.5.4.0|
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v5.4.0|
|
||||
|Ethernet|v5.4.0|
|
||||
|Ethernet PHY|v5.4.0|
|
||||
|FreeRTOS+TCP|v4.0.0+fsp.5.4.0|
|
||||
|FreeRTOS - Buffer Allocation 2|v4.0.0+fsp.5.4.0|
|
||||
|FreeRTOS Port|v5.4.0|
|
||||
|Board Support Package Common Files|v6.1.0|
|
||||
|Secure Cryptography Engine on RA6 Protected Mode|v6.1.0|
|
||||
|I/O Port|v6.1.0|
|
||||
|Arm CMSIS Version 5 - Core (M)|v6.1.0+fsp.6.1.0|
|
||||
|RA6M4-EK Board Support Files|v6.1.0|
|
||||
|Board support package for R7FA6M4AF3CFB|v6.1.0|
|
||||
|Board support package for RA6M4 - Events|v6.1.0|
|
||||
|Board support package for RA6M4|v6.1.0|
|
||||
|Board support package for RA6M4 - FSP Data|v6.1.0|
|
||||
|FreeRTOS|v11.1.0+fsp.6.1.0|
|
||||
|FreeRTOS - Memory Management - Heap 4|v11.1.0+fsp.6.1.0|
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v6.1.0|
|
||||
|Ethernet|v6.1.0|
|
||||
|Ethernet PHY|v6.1.0|
|
||||
|FreeRTOS+TCP|v4.3.3+fsp.6.1.0|
|
||||
|FreeRTOS - Buffer Allocation 2|v4.3.3+fsp.6.1.0|
|
||||
|FreeRTOS Port|v6.1.0|
|
||||
|
||||
## Setup Steps and Build wolfSSL Library
|
||||
|
||||
@@ -58,10 +58,11 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
|
||||
2.) Create a `dummy_library` Static Library.
|
||||
|
||||
+ Click File->New->`RA C/C++ Project`.
|
||||
+ Select `EK-RA6M4` from Drop-down list.
|
||||
+ Check `Static Library`.
|
||||
+ Select FreeRTOS from RTOS selection. Click Next.
|
||||
+ Click File->New->`RA C/C++ Project`. Select `EK-RA6M4` from Drop-down list.
|
||||
+ Select `Flat(Non-TrustZone) Project`. Click Next.
|
||||
+ Select `None`. Click Next.
|
||||
+ Check `Static Library`. Click Next.
|
||||
+ Select `FreeRTOS` from RTOS selection. Click Next.
|
||||
+ Check `FreeRTOS minimal - Static Allocation`. Click Finish.
|
||||
+ Open Smart Configurator by clicking configuration.xml in the project
|
||||
+ Go to `BSP` tab and increase Heap Size under `RA Common` on Properties page, e.g. 0x1000
|
||||
@@ -82,7 +83,8 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
|
||||
+ Add `Heap 4` stack to sce_tst_thread from `New Stack` -> `RTOS` -> `FreeRTOS Heap 4`
|
||||
+ Add `FreeRTOS + TCP` stack to sce_tst_thread from `New Stack` -> `Networking` -> `FreeRTOS+TCP` and set properties
|
||||
|
||||
+ Add Ethernet Driver by clicking `Add Ethernet Driver` element and select `New` -> `Ethernet(r_ether)`
|
||||
+ Increase Heap size of `RA Common`. Go to `BSP` tab and inclease `RA Common` -> `Heap size (bytes)` to 0x2000
|
||||
|Property|Value|
|
||||
|:--|:--|
|
||||
|Network Events call vApplicationIPNetworkEventHook|Disable|
|
||||
@@ -97,15 +99,15 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
|
||||
4.) Create a 'dummy_application' Renesas RA C Project Using RA Library.
|
||||
|
||||
+ Click File->New->`RA C/C++ Project`.
|
||||
+ Select `EK-RA6M4` from Drop-down list.
|
||||
+ Check `Executable Using an RA Static Library`.
|
||||
+ Select FreeRTOS from RTOS selection. Click Finish.
|
||||
+ Click File->New->`RA C/C++ Project`. Select `EK-RA6M4` from Drop-down list. Click Next.
|
||||
+ Select `Flat(Non-TrustZone) Project`. Click Next
|
||||
+ Select `None`. Click Next
|
||||
+ Check `Executable Using an RA Static Library`. Select FreeRTOS from RTOS selection. Click Finish.
|
||||
+ Enter `dummy_application` as the project name. Click Next.
|
||||
+ Under `RA library project`, select `wolfSSL_RA6M4`.
|
||||
+ Click Finish.
|
||||
+ Under `RA library project`, select `wolfSSL_RA6M4`. Click Finish.
|
||||
+ Copy the following folder and file at `dummy_application` to `test_RA6M4`\
|
||||
script/\
|
||||
Debug/\
|
||||
src/sce_tst_thread_entry.c
|
||||
|
||||
+ Add `sce_test()` call under /* TODO: add your own code here */ line at sce_tst_thread_entry.c
|
||||
@@ -131,29 +133,33 @@ The wolfssl Project Summary is listed below and is relevant for every project.
|
||||
+ To place RTT block specific area, you can add the following line to `fsp.ld`:
|
||||
|
||||
```
|
||||
.bss :
|
||||
__ram_from_flash$$ :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__bss_start__ = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
KEEP(*(.rtt_block)) /* <-- for SEGGER_RTT control block */
|
||||
. = ALIGN(4);
|
||||
__bss_end__ = .;
|
||||
} > RAM
|
||||
__ram_from_flash$$Base = .;__ram_from_flash$$Load = LOADADDR(__ram_from_flash$$);
|
||||
/* section.ram.from_flash */
|
||||
*(.ram_from_flash)
|
||||
/* section.ram.code_from_flash */
|
||||
*(.txt.rtt_block) /* <-- for SEGGER_RTT control block */
|
||||
*(.ram_code_from_flash)
|
||||
*(.data*)
|
||||
*(vtable)
|
||||
__ram_from_flash$$Limit = .;
|
||||
}> RAM AT > FLASH
|
||||
```
|
||||
Also, adding the following line to `SEGGER_RTT.c`:
|
||||
|
||||
```
|
||||
SEGGER_RTT_CB _SEGGER_RTT __attribute__((section(".rtt_block")));
|
||||
SEGGER_RTT_CB _SEGGER_RTT __attribute__((section(".txt.rtt_block")));
|
||||
```
|
||||
|
||||
As the result, you can find the following similar line in the map file.
|
||||
e.g.
|
||||
[test_RA6M4.map]
|
||||
```
|
||||
.rtt_block 0x20023648 0xa8 ./src/SEGGER_RTT/SEGGER_RTT.o
|
||||
0x20023648 _SEGGER_RTT
|
||||
*(.txt.rtt_block)
|
||||
.txt.rtt_block
|
||||
0x20000000 0xa8 ./src/SEGGER_RTT/SEGGER_RTT.o
|
||||
0x20000000 _SEGGER_RTT
|
||||
````
|
||||
you can specify "RTT control block" to 0x20023648 by Address
|
||||
OR
|
||||
|
||||
@@ -108,10 +108,10 @@
|
||||
#define WC_USE_DEVID 7890
|
||||
#define NO_AES_192
|
||||
#define NO_SW_BENCH
|
||||
#endif
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_SCEPROTECT_CRYPTONLY)
|
||||
/* Use SCE RSAES-PKCS1-V1_5 RSA Function */
|
||||
#define WOLF_CRYPTO_CB_RSA_PAD
|
||||
#define WOLFSSL_KEY_GEN
|
||||
#define RSA_MIN_SIZE 512
|
||||
#endif
|
||||
|
||||
#define CUSTOM_RAND_GENERATE_BLOCK wc_fspsm_GenerateRandBlock
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.1084991557" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.c99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths.2023903025" name="Include paths (-I)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.paths" useByScannerDiscovery="true" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/key_data}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M4/Debug}""/>
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/../common""/>
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/../../../../../""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/wolfSSL_RA6M4/src}""/>
|
||||
|
||||
@@ -50,19 +50,6 @@ void abort(void);
|
||||
int sce_crypt_test();
|
||||
#endif
|
||||
|
||||
void R_BSP_WarmStart(bsp_warm_start_event_t event);
|
||||
|
||||
/* the function is called just before main() to set up pins */
|
||||
/* this needs to be called to setup IO Port */
|
||||
void R_BSP_WarmStart (bsp_warm_start_event_t event)
|
||||
{
|
||||
|
||||
if (BSP_WARM_START_POST_C == event) {
|
||||
/* C runtime environment and system clocks are setup. */
|
||||
/* Configure pins. */
|
||||
R_IOPORT_Open(&g_ioport_ctrl, g_ioport.p_cfg);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(TLS_CLIENT)
|
||||
|
||||
@@ -150,18 +137,27 @@ void Clr_CallbackCtx(FSPSM_ST *g)
|
||||
{
|
||||
(void) g;
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_SCEPROTECT_CRYPTONLY)
|
||||
XFREE(g->wrapped_key_rsapri2048, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (g == NULL) return;
|
||||
|
||||
XFREE(g->wrapped_key_rsapub2048, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (g->wrapped_key_aes256 != NULL)
|
||||
g->wrapped_key_aes256 = NULL;
|
||||
|
||||
XFREE(g->wrapped_key_rsapri1024, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (g->wrapped_key_aes128 != NULL)
|
||||
g->wrapped_key_aes128 = NULL;
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
if (g->wrapped_key_rsapri2048 != NULL)
|
||||
g->wrapped_key_rsapri2048 = NULL;
|
||||
|
||||
if (g->wrapped_key_rsapub2048 != NULL)
|
||||
XFREE(g->wrapped_key_rsapub1024,
|
||||
NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
g->wrapped_key_rsapub2048 = NULL;
|
||||
|
||||
if (g->wrapped_key_rsapri1024 != NULL)
|
||||
g->wrapped_key_rsapri1024 = NULL;
|
||||
|
||||
if (g->wrapped_key_rsapub2048 != NULL)
|
||||
g->wrapped_key_rsapub2048 = NULL;
|
||||
#endif
|
||||
XMEMSET(g, 0, sizeof(FSPSM_ST));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -262,9 +258,6 @@ void sce_test(void)
|
||||
benchmark_test(NULL);
|
||||
printf("End wolfCrypt Benchmark\n");
|
||||
|
||||
/* free */
|
||||
Clr_CallbackCtx(&guser_PKCbInfo);
|
||||
|
||||
#elif defined(TLS_CLIENT)
|
||||
#include "hal_data.h"
|
||||
#include "r_sce.h"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "wolfssl/wolfcrypt/settings.h"
|
||||
#include "wolfssl/ssl.h"
|
||||
#include "wolfssl/certs_test.h"
|
||||
#include "wolfssl/wolfcrypt/port/Renesas/renesas-fspsm-crypt.h"
|
||||
|
||||
uint32_t g_encrypted_root_public_key[140];
|
||||
WOLFSSL_CTX *client_ctx = NULL;
|
||||
@@ -198,7 +199,6 @@ int wolfSSL_TLS_client_do(void *pvParam)
|
||||
#if !defined(TLS_MULTITHREAD_TEST)
|
||||
|
||||
XMEMSET(&guser_PKCbInfo, 0, sizeof(FSPSM_ST));
|
||||
guser_PKCbInfo.devId = 0;
|
||||
wc_sce_set_callback_ctx(ssl, (void*)&guser_PKCbInfo);
|
||||
|
||||
#else
|
||||
|
||||
@@ -37,8 +37,6 @@
|
||||
|
||||
#include "FreeRTOS.h"
|
||||
|
||||
static const int devId = 7890;
|
||||
|
||||
#ifndef NO_SHA
|
||||
int sha_test();
|
||||
#endif
|
||||
@@ -63,10 +61,9 @@ static byte Aes256_Cbc_multTst_rslt = 0;
|
||||
static byte Aes128_Gcm_multTst_rslt = 0;
|
||||
static byte Aes256_Gcm_multTst_rslt = 0;
|
||||
|
||||
int sce_crypt_AesCbc_multitest();
|
||||
int sce_crypt_AesGcm_multitest();
|
||||
int sce_crypt_Sha_AesCbcGcm_multitest();
|
||||
int sce_crypt_sha_multitest();
|
||||
int sce_crypt_AesCbc_multitest(int devId);
|
||||
int sce_crypt_AesGcm_multitest(int devId);
|
||||
int sce_crypt_Sha_AesCbcGcm_multitest(int devId);
|
||||
int sce_crypt_test();
|
||||
int sce_crypt_sha256_multitest();
|
||||
void tskSha256_Test1(void *pvParam);
|
||||
@@ -97,12 +94,13 @@ FSPSM_ST gCbInfo_a; /* for multi testing */
|
||||
#endif
|
||||
typedef struct tagInfo
|
||||
{
|
||||
int devId;
|
||||
sce_aes_wrapped_key_t aes_key;
|
||||
} Info;
|
||||
|
||||
#if defined(HAVE_AES_CBC) && defined(WOLFSSL_AES_128)
|
||||
|
||||
static int sce_aes_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
static int sce_aes_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key, int devId)
|
||||
{
|
||||
|
||||
Aes aes[1];
|
||||
@@ -171,7 +169,7 @@ static void tskAes128_Cbc_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = sce_aes_cbc_test(0, &p->aes_key);
|
||||
ret = sce_aes_cbc_test(0, &p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). sce_aes_cbc_test\n", ret);
|
||||
@@ -186,7 +184,7 @@ static void tskAes128_Cbc_Test(void *pvParam)
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_AES_256
|
||||
static int sce_aes256_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
static int sce_aes256_test(int prnt, FSPSM_AES_PWKEY aes_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
byte cipher[WC_AES_BLOCK_SIZE];
|
||||
@@ -269,7 +267,7 @@ static void tskAes256_Cbc_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = sce_aes256_test(0, &p->aes_key);
|
||||
ret = sce_aes256_test(0, &p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). sce_aes256_test\n", ret);
|
||||
@@ -284,7 +282,7 @@ static void tskAes256_Cbc_Test(void *pvParam)
|
||||
#endif /* WOLFSSL_AES_256 */
|
||||
|
||||
#if defined(WOLFSSL_AES_256)
|
||||
static int sce_aesgcm256_test(int prnt, FSPSM_AES_PWKEY aes256_key)
|
||||
static int sce_aesgcm256_test(int prnt, FSPSM_AES_PWKEY aes256_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
Aes dec[1];
|
||||
@@ -451,7 +449,7 @@ static void tskAes256_Gcm_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = sce_aesgcm256_test(0, &p->aes_key);
|
||||
ret = sce_aesgcm256_test(0, &p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). sce_aesgcm256_test\n", ret);
|
||||
@@ -466,7 +464,7 @@ static void tskAes256_Gcm_Test(void *pvParam)
|
||||
|
||||
#if defined(WOLFSSL_AES_128)
|
||||
|
||||
static int sce_aesgcm128_test(int prnt, FSPSM_AES_PWKEY aes128_key)
|
||||
static int sce_aesgcm128_test(int prnt, FSPSM_AES_PWKEY aes128_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
Aes dec[1];
|
||||
@@ -597,7 +595,7 @@ static void tskAes128_Gcm_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = sce_aesgcm128_test(0, &p->aes_key);
|
||||
ret = sce_aesgcm128_test(0, &p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). sce_aesgcm128_test\n", ret);
|
||||
@@ -619,7 +617,7 @@ static void tskAes128_Gcm_Test(void *pvParam)
|
||||
#define TEST_STRING_SZ 25
|
||||
#define RSA_TEST_BYTES 256 /* up to 2048-bit key */
|
||||
|
||||
static int sce_rsa_test(int prnt, int keySize)
|
||||
static int sce_rsa_test(int prnt, int keySize, int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -654,7 +652,7 @@ static int sce_rsa_test(int prnt, int keySize)
|
||||
XMEMSET(out, 0, outSz);
|
||||
XMEMSET(out2, 0, outSz);
|
||||
|
||||
ret = wc_InitRsaKey_ex(key, NULL, 7890/* fixed devid for TSIP/SCE*/);
|
||||
ret = wc_InitRsaKey_ex(key, NULL, devId);
|
||||
if (ret != 0) {
|
||||
goto out;
|
||||
}
|
||||
@@ -699,7 +697,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int sce_rsa_SignVerify_test(int prnt, int keySize)
|
||||
static int sce_rsa_SignVerify_test(int prnt, int keySize, int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -730,7 +728,7 @@ static int sce_rsa_SignVerify_test(int prnt, int keySize)
|
||||
XMEMCPY(in, inStr, inLen);
|
||||
XMEMCPY(in2, inStr2, inLen);
|
||||
|
||||
ret = wc_InitRsaKey_ex(key, NULL, 7890/* fixed devid for TSIP/SCE*/);
|
||||
ret = wc_InitRsaKey_ex(key, NULL, devId);
|
||||
if (ret != 0) {
|
||||
goto out;
|
||||
}
|
||||
@@ -781,6 +779,7 @@ static int sce_rsa_SignVerify_test(int prnt, int keySize)
|
||||
int sce_crypt_test()
|
||||
{
|
||||
int ret = 0;
|
||||
int devId = INVALID_DEVID;
|
||||
fsp_err_t err;
|
||||
|
||||
Clr_CallbackCtx(&gCbInfo);
|
||||
@@ -798,10 +797,8 @@ int sce_crypt_test()
|
||||
/* sets wrapped rsa 1024 bits key */
|
||||
gCbInfo.wrapped_key_rsapri1024 =
|
||||
&g_wrapped_pair_1024key.priv_key;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 1;
|
||||
gCbInfo.wrapped_key_rsapub1024 =
|
||||
&g_wrapped_pair_1024key.pub_key;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 1;
|
||||
}
|
||||
|
||||
err = R_SCE_RSA2048_WrappedKeyPairGenerate(&g_wrapped_pair_2048key);
|
||||
@@ -809,11 +806,8 @@ int sce_crypt_test()
|
||||
/* sets wrapped rsa 1024 bits key */
|
||||
gCbInfo.wrapped_key_rsapri2048 =
|
||||
&g_wrapped_pair_2048key.priv_key;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 1;
|
||||
|
||||
gCbInfo.wrapped_key_rsapub2048 =
|
||||
&g_wrapped_pair_2048key.pub_key;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 1;
|
||||
}
|
||||
|
||||
/* Key generation for multi testing */
|
||||
@@ -822,37 +816,46 @@ int sce_crypt_test()
|
||||
SCE_KeyGeneration(&gCbInfo_a);
|
||||
|
||||
ret = wc_CryptoCb_CryptInitRenesasCmn(NULL, &gCbInfo);
|
||||
if ( ret > 0)
|
||||
ret = 0;
|
||||
|
||||
if ( ret > 0) {
|
||||
devId = ret;
|
||||
ret = 0;
|
||||
}
|
||||
if (ret == 0) {
|
||||
printf(" sce_rsa_test(512)(this will be done"
|
||||
" by SW because SCE doesn't support 512 bits key size.)");
|
||||
ret = sce_rsa_test(1, 512);
|
||||
ret = sce_rsa_test(1, 512, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" sce_rsa_test(1024)");
|
||||
ret = sce_rsa_test(1, 1024);
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 0;
|
||||
ret = sce_rsa_test(1, 1024, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" sce_rsa_SignVerify_test(1024)");
|
||||
ret = sce_rsa_SignVerify_test(1, 1024);
|
||||
ret = sce_rsa_SignVerify_test(1, 1024, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" sce_rsa_test(2048)");
|
||||
ret = sce_rsa_test(1, 2048);
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 1;
|
||||
ret = sce_rsa_test(1, 2048, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0 && err == FSP_SUCCESS) {
|
||||
printf(" sce_rsa_SignVerify_test(2048)");
|
||||
ret = sce_rsa_SignVerify_test(1, 2048);
|
||||
ret = sce_rsa_SignVerify_test(1, 2048, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
@@ -861,16 +864,16 @@ int sce_crypt_test()
|
||||
ret = sha256_test();
|
||||
RESULT_STR(ret)
|
||||
#endif
|
||||
ret = sce_aes_cbc_test(1, &g_user_aes128_key_index1);
|
||||
ret = sce_aes_cbc_test(1, &g_user_aes128_key_index1, devId);
|
||||
if (ret == 0) {
|
||||
ret = sce_aes256_test(1, &g_user_aes256_key_index1);
|
||||
ret = sce_aes256_test(1, &g_user_aes256_key_index1, devId);
|
||||
}
|
||||
if (ret == 0) {
|
||||
ret = sce_aesgcm128_test(1, &g_user_aes128_key_index1);
|
||||
ret = sce_aesgcm128_test(1, &g_user_aes128_key_index1, devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
ret = sce_aesgcm256_test(1, &g_user_aes256_key_index1);
|
||||
ret = sce_aesgcm256_test(1, &g_user_aes256_key_index1, devId);
|
||||
}
|
||||
printf(" \n");
|
||||
if (ret == 0) {
|
||||
@@ -879,22 +882,21 @@ int sce_crypt_test()
|
||||
}
|
||||
if (ret == 0) {
|
||||
printf(" multi Aes cbc thread test\n");
|
||||
ret = sce_crypt_AesCbc_multitest();
|
||||
ret = sce_crypt_AesCbc_multitest(devId);
|
||||
}
|
||||
if (ret == 0) {
|
||||
printf(" multi Aes Gcm thread test\n");
|
||||
ret = sce_crypt_AesGcm_multitest();
|
||||
ret = sce_crypt_AesGcm_multitest(devId);
|
||||
}
|
||||
if (ret == 0) {
|
||||
printf(" multi sha aescbc aesgcm thread test\n");
|
||||
sce_crypt_Sha_AesCbcGcm_multitest();
|
||||
sce_crypt_Sha_AesCbcGcm_multitest(devId);
|
||||
} else
|
||||
ret = -1;
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
Clr_CallbackCtx(&gCbInfo);
|
||||
Clr_CallbackCtx(&gCbInfo_a);
|
||||
#endif
|
||||
wc_CryptoCb_CleanupRenesasCmn(&devId);
|
||||
Clr_CallbackCtx(&gCbInfo);
|
||||
Clr_CallbackCtx(&gCbInfo_a);
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -952,7 +954,7 @@ int sce_crypt_sha256_multitest()
|
||||
sha256_multTst_rslt1 = 0;
|
||||
sha256_multTst_rslt2 = 0;
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting(num, 0);
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
#ifndef NO_SHA256
|
||||
@@ -991,7 +993,7 @@ int sce_crypt_sha256_multitest()
|
||||
}
|
||||
|
||||
|
||||
int sce_crypt_AesCbc_multitest()
|
||||
int sce_crypt_AesCbc_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -1012,8 +1014,12 @@ int sce_crypt_AesCbc_multitest()
|
||||
Aes128_Cbc_multTst_rslt = 0;
|
||||
Aes256_Cbc_multTst_rslt = 0;
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting(num, 0);
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
info_aes1.devId = devId;
|
||||
info_aes2.devId = devId;
|
||||
info_aes256_1.devId = devId;
|
||||
info_aes256_2.devId = devId;
|
||||
|
||||
#if defined(HAVE_AES_CBC) && defined(WOLFSSL_AES_128)
|
||||
XMEMCPY(&info_aes1.aes_key, &g_user_aes128_key_index1,
|
||||
@@ -1072,7 +1078,7 @@ int sce_crypt_AesCbc_multitest()
|
||||
}
|
||||
|
||||
|
||||
int sce_crypt_AesGcm_multitest()
|
||||
int sce_crypt_AesGcm_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -1094,9 +1100,12 @@ int sce_crypt_AesGcm_multitest()
|
||||
Aes128_Gcm_multTst_rslt = 0;
|
||||
Aes256_Gcm_multTst_rslt = 0;
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting(num, 0);
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
info_aes1.devId = devId;
|
||||
info_aes2.devId = devId;
|
||||
info_aes256_1.devId = devId;
|
||||
info_aes256_2.devId = devId;
|
||||
#if defined(WOLFSSL_AES_128)
|
||||
XMEMCPY(&info_aes1.aes_key, &g_user_aes128_key_index1,
|
||||
sizeof(sce_aes_wrapped_key_t));
|
||||
@@ -1155,7 +1164,7 @@ int sce_crypt_AesGcm_multitest()
|
||||
return ret;
|
||||
}
|
||||
|
||||
int sce_crypt_Sha_AesCbcGcm_multitest()
|
||||
int sce_crypt_Sha_AesCbcGcm_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -1185,9 +1194,12 @@ int sce_crypt_Sha_AesCbcGcm_multitest()
|
||||
Aes128_Gcm_multTst_rslt = 0;
|
||||
Aes256_Gcm_multTst_rslt = 0;
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting(num, 0);
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
info_aes128cbc.devId = devId;
|
||||
info_aes128gcm.devId = devId;
|
||||
info_aes256cbc.devId = devId;
|
||||
info_aes256gcm.devId = devId;
|
||||
#ifndef NO_SHA256
|
||||
xRet = xTaskCreate(tskSha256_Test1, "sha256_test1",
|
||||
STACK_SIZE, NULL, 3, NULL);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(SIMPLE_TLS_TSIP_CLIENT) || defined(SIMPLE_TLS_CLIENT)
|
||||
#define SIMPLE_TLSSEVER_IP "192.168.11.11"
|
||||
#define SIMPLE_TLSSEVER_IP "192.168.11.6"
|
||||
#define SIMPLE_TLSSERVER_PORT "11111"
|
||||
|
||||
ER t4_tcp_callback(ID cepid, FN fncd , VP p_parblk);
|
||||
@@ -308,10 +308,10 @@ void wolfSSL_TLS_client( )
|
||||
#else
|
||||
|
||||
if (ret == 0) {
|
||||
err = wolfSSL_use_PrivateKey_buffer(ssl, client_key_der_2048,
|
||||
ret = wolfSSL_use_PrivateKey_buffer(ssl, client_key_der_2048,
|
||||
sizeof_client_key_der_2048, WOLFSSL_FILETYPE_ASN1);
|
||||
|
||||
if (err != SSL_SUCCESS) {
|
||||
if (ret != SSL_SUCCESS) {
|
||||
printf("ERROR wolfSSL_use_PrivateKey_buffer: %d\n",
|
||||
wolfSSL_get_error(ssl, 0));
|
||||
ret = -1;
|
||||
|
||||
@@ -1132,9 +1132,9 @@
|
||||
<configuration inuse="true" name="r_bsp">
|
||||
<component description="依存モジュール: なし The r_bsp package provides a foundation for code to be built on top of. It provides startup code, iodefines, and MCU information for different boards. There are 2 folders that make up the r_bsp package. The 'mcu' folder contains files that are common to a MCU group. These files provide functionality such as easy register access, CPU functions, and a file named 'mcu_info.h' for each MCU group. The 'mcu_info.h' file has information about the MCU on the board and is configured based on the information given in r_bsp_config.h. The information in 'mcu_info.h' is used to help configure Renesas middleware that uses the r_bsp package. The 'board' folder has a folder with startup code for each supported board. Which MCU and board is chosen is decided by the settings in 'platform.h'. The user can choose which board they are using by uncommenting the include path that applies to their board. For example, if you are using the RSK+RX64M then you would uncomment the #include "./board/generic_rx64m/r_bsp.h" include path. Users are encouraged to add their own boards to the 'board' directory. BSPs are configured by using the r_bsp_config.h file. Each board will have a reference configuration file named r_bsp_config_reference.h. The user should copy this file to their project, rename it to r_bsp_config.h, and use the options inside the file to configure the BSP for their project." detailDescription="Board Support Packages." display="r_bsp" id="r_bsp7.51" version="7.51">
|
||||
<gridItem id="BSP_CFG_USER_STACK_ENABLE" selectedIndex="1"/>
|
||||
<gridItem id="BSP_CFG_USTACK_BYTES" selectedIndex="0x4000"/>
|
||||
<gridItem id="BSP_CFG_USTACK_BYTES" selectedIndex="0x2000"/>
|
||||
<gridItem id="BSP_CFG_ISTACK_BYTES" selectedIndex="0x400"/>
|
||||
<gridItem id="BSP_CFG_HEAP_BYTES" selectedIndex="0xf000"/>
|
||||
<gridItem id="BSP_CFG_HEAP_BYTES" selectedIndex="0xff00"/>
|
||||
<gridItem id="BSP_CFG_IO_LIB_ENABLE" selectedIndex="1"/>
|
||||
<gridItem id="BSP_CFG_USER_CHARGET_ENABLED" selectedIndex="0"/>
|
||||
<gridItem id="BSP_CFG_USER_CHARGET_FUNCTION" selectedIndex="my_sw_charget_function"/>
|
||||
|
||||
@@ -21,37 +21,49 @@ The example project summary is listed below and is relevant for every project.
|
||||
### Project Summary
|
||||
|Item|Name/Version|
|
||||
|:--|:--|
|
||||
|e2Studio|2025-04.1 (25.4.1)|
|
||||
|Board|RZN2L|
|
||||
|Device|R9A07G084M08GBG|
|
||||
|Toolchain|GCC for Renesas RZ|
|
||||
|Toolchain Version|10.3.1.20210824|
|
||||
|FSP Version|1.2.0|
|
||||
|FSP Version|2.0.0|
|
||||
|
||||
#### Selected software components
|
||||
|
||||
|Components|Version|Note|
|
||||
|:--|:--|:--|
|
||||
|Board Support Package Common Files|v1.20||
|
||||
|I/O Port|v1.2.0||
|
||||
|Arm CMSIS Version 5 - Core (M)|v5.7.0+renesas.1||
|
||||
|Board support package for R9A07G084M04GBG|v1.2.0|Note1|
|
||||
|Board support package for RZN2L|v1.2.0||
|
||||
|Board support package for RZN2L - FSP Data|v1.2.0||
|
||||
|RSK+RZN2L Board Support Files (RAM execution without flash memory)|v1.2.0||
|
||||
|FreeRTOS - Buffer Allocation 2|v1.2.0||
|
||||
|FreeRTOS - Memory Management - Heap 4|v1.2.0||
|
||||
|FreeRTOS+TCP|v1.2.0||
|
||||
|Ethernet PHY |v1.2.0||
|
||||
|Ethernet Selector|v1.2.0||
|
||||
|Ethernet|v1.2.0||
|
||||
|Ethernet Switch|v1.2.0||
|
||||
|SCI UART|v1.2.0||
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v1.2.0||
|
||||
|Renesas Secure IP Driver|v1.3.0+fsp.1.2.0|Need to contact Renesas to get RSIP module|
|
||||
|RSIP Engine for RZ/N2L|v1.3.0+fsp.1.2.0|Need to contact Renesas to get RSIP module|
|
||||
|Board Support Package Common Files|v2.0.0||
|
||||
|I/O Port|v2.0.0||
|
||||
|Arm CMSIS Version 5 - Core (M)|v5.7.0+renesas.1.fsp.2.0.0||
|
||||
|Board support package for R9A07G084M04GBG|v2.0.0|Note1|
|
||||
|Board support package for RZN2L|v2.0.0||
|
||||
|Board support package for RZN2L - FSP Data|v2.0.0||
|
||||
|RSK+RZN2L Board Support Files (xSPI0 x1 boot mode)|v2.0.0||
|
||||
|FreeRTOS - Buffer Allocation 2|v2.0.0||
|
||||
|FreeRTOS - Memory Management - Heap 4|v2.0.0||
|
||||
|FreeRTOS+TCP|v2.0.0||
|
||||
|Ethernet PHY |v2.0.0||
|
||||
|Ethernet Selector|v2.0.0||
|
||||
|Ethernet|v2.0.0||
|
||||
|Ethernet Switch|v2.0.0||
|
||||
|SCI UART|v2.0.0||
|
||||
|r_ether to FreeRTOS+TCP Wrapper|v2.0.0||
|
||||
|Renesas Secure IP Driver|v1.5.0+fsp.1.3.0||
|
||||
|RSIP Engine for RZ/N2L|v1.5.0+fsp.1.3.0||
|
||||
|
||||
Note1:\
|
||||
To use RSIP driver, a device type should be `R9A07G084M04GBG`. However, choosing `R9A07G084M04GBG` won't allow to select `RSK+RZN2L` board. This example uses LED and external flash memory on `RSK + RZN2L` board. Therefore, the example temporary `R9A07G084M04GBG` for the device type. Updating e2studio or fsp could resolve the issue.
|
||||
To use RSIP driver, a device type should be `R9A07G084M08GBG`. However, choosing `R9A07G084M04GBG` won't allow to select `RSK+RZN2L` board. This example uses LED and external flash memory on `RSK + RZN2L` board. Therefore, the example temporary `R9A07G084M04GBG` for the device type. Updating e2studio or fsp could resolve the issue.
|
||||
|
||||
## Board Settings
|
||||
This example program uses `xSPI0 boot`. Therefore, the board's switch and jumper settings required to run the sample program from external flash are shown below. For details on each setting, see the Renesas Starter Kit+ for RZN2L User's Manual.
|
||||
|
||||
|Project|SW4-1|SW4-2|SW4-3|SW4-4|SW4-7|
|
||||
|:--|:--|:--|:--|:--|:--|
|
||||
|xSPI0 boot mode|ON|ON|ON|ON|OFF|
|
||||
|
||||
|Project|CN8|CN24|
|
||||
|:--|:--|:--|
|
||||
|xSPI0 boot mode|Short 2-3|Short2-3|
|
||||
|
||||
## Setup Steps and Build wolfSSL Library
|
||||
|
||||
@@ -63,7 +75,7 @@ Note1:\
|
||||
|
||||
+ Click File->New->`RZ/N C/C++ FSP Project`.
|
||||
+ Enter project name `dummy_application`.
|
||||
+ Select Board: to `RSK+RZN2L (RAM execution without flash memory)`.
|
||||
+ Select Board: to `RSK+RZN2L (xSPI0 x1 boot mode)`.
|
||||
+ Select Device: to `R9A07G084M04GBG`. Click Next.
|
||||
+ Check to `Executable`
|
||||
+ Select FreeRTOS from RTOS selection. Click Finish.
|
||||
@@ -93,31 +105,125 @@ Note1:\
|
||||
+ Click `Generate Project Content` on FSP configuration GUI
|
||||
|
||||
3.) Prepare UART to logging
|
||||
|
||||
+ Download Sample package from [BACnet Start-Up](https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/bacnet-start-rzn2l-rsk)
|
||||
+ Download Example packages from [RZ/N2L Group Example program](https://www.renesas.com/us/en/document/scd/rzn2l-group-example-program?r=1622651) and unzip the archived file.
|
||||
+ unzip RZN2L_RSK_sci_uart_Rev200.zip
|
||||
+ unzip RZN2L_RSK_sci_uart_Rev200/basis/gcc/RZN2L_RSK_sci_uart_Rev200a.zip
|
||||
+
|
||||
+ Copy the following C source files from the project to src/serial_io folder of `test_RZN2L`\
|
||||
um_serial_io_uart.c\
|
||||
um_serial_io_task_writer.c\
|
||||
um_serial_io_cfg.h\
|
||||
um_common_api.h\
|
||||
um_common_cfg.h\
|
||||
um_serial_io.c\
|
||||
um_serial_io.h\
|
||||
um_serial_io_api.h\
|
||||
um_serial_io_internal.h
|
||||
sio_char.h\
|
||||
siochar.c
|
||||
|
||||
4.) Prepare loader project
|
||||
+ Download Example packages from [RZ/N2L Group Example of separating loader program and application program projects](https://www.renesas.com/en/document/scd/11691006?language=en&r=1622651) and unzip the archived file.
|
||||
+ Unzip `RZN2L_loader_application\gcc\xspi0bootx1\Loader_application_projects.zip
|
||||
+ Copy `RZN2L_bsp_xspi0bootx1_loader` and `RZN2L_bsp_xspi0bootx1_app` to `<wolfSSL>\IDE\Renesas\e2studio\RZN2L` folder
|
||||
+ Import `RZN2L_bsp_xspi0bootx1_loader` from `e2studio`
|
||||
|
||||
+ Open um_serial_io_task_writer.c and re-name printf to uart_printf
|
||||
## Build `test_RZN2L`
|
||||
1). Modify `fsp/src/bsp/cmsis/Device/RENESAS/Source/cr/startup_core.c`:
|
||||
ORIGINAL
|
||||
```
|
||||
BSP_TARGET_ARM BSP_ATTRIBUTE_STACKLESS void __Vectors (void)
|
||||
{
|
||||
__asm volatile (
|
||||
" ldr pc,=Reset_Handler \n"
|
||||
```
|
||||
==>
|
||||
|
||||
3.) Build `test_RZN2L` project
|
||||
MODIFIED
|
||||
```
|
||||
BSP_TARGET_ARM BSP_ATTRIBUTE_STACKLESS void __Vectors (void)
|
||||
{
|
||||
__asm volatile (
|
||||
#if 0
|
||||
" ldr pc,=Reset_Handler \n"
|
||||
#else
|
||||
" ldr pc,=local_system_init \n"
|
||||
#endif
|
||||
```
|
||||
1). Modify `fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c`:
|
||||
|
||||
## Run `test_RZN2L`
|
||||
ORIGINAL
|
||||
```
|
||||
void SystemInit (void)
|
||||
{
|
||||
#if BSP_CFG_EARLY_INIT
|
||||
...
|
||||
#if BSP_CFG_C_RUNTIME_INIT
|
||||
|
||||
1). Right click the project and Select menu `Debug` -> `Renesas GDB Hardware debugging`
|
||||
/* Copy the loader data from external Flash to internal RAM. */
|
||||
bsp_loader_data_init();
|
||||
|
||||
2). Select J-Link ARM and R9A07G084M04
|
||||
/* Clear loader bss section in internal RAM. */
|
||||
bsp_loader_bss_init();
|
||||
#endif
|
||||
...
|
||||
#if !(BSP_CFG_RAM_EXECUTION)
|
||||
|
||||
3). Break at Entry point. Change `cpsr` register value from 0xXXXXX1yy to 0xXXXXX1da
|
||||
/* Copy the application program from external Flash to internal RAM. */
|
||||
bsp_copy_to_ram();
|
||||
|
||||
/* Clear bss section in internal RAM. */
|
||||
bsp_application_bss_init();
|
||||
#endif
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
==>
|
||||
|
||||
MODIFIED
|
||||
```
|
||||
BSP_TARGET_ARM void mpu_cache_init (void)
|
||||
{
|
||||
...
|
||||
if BSP_CFG_C_RUNTIME_INIT && !defined(EXTERNAL_LOADER_APP)
|
||||
|
||||
/* Copy the loader data from external Flash to internal RAM. */
|
||||
bsp_loader_data_init();
|
||||
|
||||
/* Clear loader bss section in internal RAM. */
|
||||
bsp_loader_bss_init();
|
||||
#endif
|
||||
...
|
||||
#if !(BSP_CFG_RAM_EXECUTION) && !defined(EXTERNAL_LOADER_APP)
|
||||
|
||||
/* Copy the application program from external Flash to internal RAM. */
|
||||
/* bsp_copy_to_ram(); */
|
||||
|
||||
/* Clear bss section in internal RAM. */
|
||||
bsp_application_bss_init();
|
||||
#endif
|
||||
...
|
||||
}
|
||||
```
|
||||
2). Copy contenst of `fsp_xspi0_boot_app.ld` of `RZN2L_bsp_xspi0bootx1_app\script\` to `test_RZN2L\script\fsp_xspi0_boot.ld`
|
||||
|
||||
3). Right click the project and Select menu `Debug` -> `Renesas GDB Hardware debugging`
|
||||
|
||||
4). Select J-Link ARM and R9A07G084M04
|
||||
5). Build `test_RZN2L`
|
||||
|
||||
## Build loader project
|
||||
+ Modify `src/Flash_section.s`:
|
||||
|
||||
ORIGINAL
|
||||
```
|
||||
.incbin "../../RZN2L_bsp_xspi0bootx1_app/Debug/RZN2L_bsp_xspi0bootx1_app.bin"
|
||||
```
|
||||
|
||||
==>
|
||||
|
||||
MODIFIED
|
||||
```
|
||||
.incbin "../../test/Debug/test_RZN2L.bin"
|
||||
```
|
||||
+ Modify `Load Image and Symbol`. Open `Debug Configuration` -> Open `Startup` tab -> Replace `RZN2L_bsp_xspi0bootx1_app.elf` to `test_RZN2L.elf`
|
||||
|
||||
## Run loader and `test_RZN2L`
|
||||
+ Run the loader project
|
||||
+ Loader download `test_RZN2L` binary from flash to system ram and execute it.
|
||||
+ Note: It recommends to re-build the loader project when re-building `test_RZN2L`
|
||||
|
||||
## Run TLS 1.3 Client
|
||||
1.) Enable `WOLFSSL_TLS13` macro in `user_settings.h`
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
/* Operating Environment and Threading */
|
||||
#if defined(WOLFSSL_RENESAS_RSIP)
|
||||
#define WOLFSSL_RENESAS_RZFSP_VER 200
|
||||
/* FSP SM stands for Flexible Software Package Security Module
|
||||
* WOLFSSL_RENESAS_FSPSM enables fundamental code when it uses.
|
||||
* e.g. Open/Close/Random generator
|
||||
@@ -104,7 +105,9 @@
|
||||
#endif
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
#define WOLF_CRYPTO_CB_RSA_PAD
|
||||
#define WOLFSSL_KEY_GEN
|
||||
#define RSA_MIN_SIZE 512
|
||||
#endif
|
||||
|
||||
int uart_printf (const char *__restrict format, ...);
|
||||
@@ -112,4 +115,7 @@ int uart_printf (const char *__restrict format, ...);
|
||||
#define printf uart_printf
|
||||
|
||||
#define TEST_SLEEP() vTaskDelay(50)
|
||||
#if defined(WOLFSSL_RENESAS_RSIP)
|
||||
#define CUSTOM_RAND_GENERATE_BLOCK wc_fspsm_GenerateRandBlock
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,10 +7,11 @@ EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/.cproject
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/.project
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/rzn2l_tst_thread_entry.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/wolfssl_dummy.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/local_system_init.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/test/wolf_client.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/test/wolf_server.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/test/wolfssl_rsip_unit_test.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/serial_io/.gitignore
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/serial_io/app_print.c
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/wolfCrypt/.gitignore
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/test/src/wolfSSL/.gitignore
|
||||
EXTRA_DIST+= IDE/Renesas/e2studio/RZN2L/common/wolfssl_demo.h
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.2133049482" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop" value="true" valueType="boolean"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1476755314" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn" value="true" valueType="boolean"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1180377769" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.deviceName.385566364" name="Device name" superClass="com.renesas.cdt.managedbuild.gcc.rz.deviceName" value="R9A07G084M04GBG" valueType="string"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.deviceName.385566364" name="Device name" superClass="com.renesas.cdt.managedbuild.gcc.rz.deviceName" value="R9A07G084M08GBG" valueType="string"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.85130646" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name" value="GNU Tools for ARM Embedded Processors" valueType="string"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.438363043" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture" value="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.arm" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.family.734485543" name="Arm family (-mcpu)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.family" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.mcpu.cortex-r52" valueType="enumerated"/>
|
||||
@@ -66,6 +66,7 @@
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs.878213280" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RZN_"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_CORE=CR52_0"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.assembler.include.1404470165" name="Include paths (-I)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.assembler.include" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
@@ -96,17 +97,32 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/bsp/mcu/all/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/ca}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/arm/CMSIS_5/CMSIS/Core_A/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/public}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.920863118" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.compilerC.15728131" name="Cross ARM C Compiler" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.compilerC">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.2054256250" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.c99" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.737680653" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RZN_"/>
|
||||
<listOptionValue builtIn="false" value="EXTERNAL_LOADER_APP"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_RENESAS_RSIP"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_RENESAS_RZN2L"/>
|
||||
<listOptionValue builtIn="false" value="WOLFSSL_USER_SETTINGS"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_CORE=CR52_0"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.compiler.include.1392028571" name="Include paths (-I)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.compiler.include" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/generate""/>
|
||||
@@ -142,6 +158,20 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/bsp/mcu/all/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/ca}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/arm/CMSIS_5/CMSIS/Core_A/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/public}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.1188589179" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
@@ -154,7 +184,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnano.1707323954" name="Use newlib-nano (--specs=nano.specs)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.entrypoint.2121320154" name="Entry Point:" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.entrypoint" value="-Wl,-esystem_init" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.linkerscript.35544828" name="Script files (-T)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linkerscript" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""fsp_ram_execution.ld""/>
|
||||
<listOptionValue builtIn="false" value=""fsp_xspi0_boot.ld""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.archives.userIncludePath.1169036561" name="User defined archive search directories (-L)" superClass="com.renesas.cdt.managedbuild.gcc.rz.archives.userIncludePath" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/script""/>
|
||||
@@ -436,6 +466,7 @@
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.renesas.cdt.managedbuild.gcc.rz.archives.includeFiles.1438841261" name="Standard archive (library) files (-l)" superClass="com.renesas.cdt.managedbuild.gcc.rz.archives.includeFiles" valueType="stringList"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnosys.1028106860" name="Do not use syscalls (--specs=nosys.specs)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnosys" value="false" valueType="boolean"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.useprintffloat.584424940" name="Use float with nano printf (-u _printf_float)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.useprintffloat" value="false" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.usenewlibnano.2085931869" name="Use newlib-nano (--specs=nano.specs)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<inputType id="com.renesas.cdt.managedbuild.gcc.rz.inputType.linker.c.1165207646" superClass="com.renesas.cdt.managedbuild.gcc.rz.inputType.linker.c">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinputdependency" paths="$(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS)"/>
|
||||
@@ -448,12 +479,16 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.linker.usenewlibnano.1744364271" name="Use newlib-nano (--specs=nano.specs)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.entrypoint.1291406965" name="Entry Point:" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.entrypoint" value="-Wl,-esystem_init" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.cpp.linkerscript.310553223" name="Script files (-T)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.cpp.linkerscript" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""fsp_ram_execution.ld""/>
|
||||
<listOptionValue builtIn="false" value=""fsp_xspi0_boot.ld""/>
|
||||
</option>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.usenewlibnano.803193311" name="Use newlib-nano (--specs=nano.specs)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.usenewlibnano" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.archiver.1683309259" name="Cross ARM GNU Archiver" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.archiver"/>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.flash.495323055" name="Cross ARM GNU Create Flash Image" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.flash">
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.flash.choice.1427749577" name="Output file format (-O)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.flash.choice" value="ilg.gnuarmeclipse.managedbuild.cross.option.createflash.choice.srec" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.flash.choice.1427749577" name="Output file format (-O)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.flash.choice" value="ilg.gnuarmeclipse.managedbuild.cross.option.createflash.choice.binary" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.flash.other.182390017" name="Other flags" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.flash.other" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="--gap-fill 0xff"/>
|
||||
</option>
|
||||
</tool>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.listing.1833581304" name="Cross ARM GNU Create Listing" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.listing">
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.createlisting.source.421010994" name="Display source (--source|-S)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.createlisting.source" value="true" valueType="boolean"/>
|
||||
@@ -784,7 +819,7 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop.926371065" name="Warn if suspicious logical ops (-Wlogical-op)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.logicalop" value="true" valueType="boolean"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn.1328296477" name="Warn if struct is returned (-Wagreggate-return)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.agreggatereturn" value="true" valueType="boolean"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal.1500121997" name="Warn if floats are compared as equal (-Wfloat-equal)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.warnings.floatequal" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.deviceName.1664475593" name="Device name" superClass="com.renesas.cdt.managedbuild.gcc.rz.deviceName" value="R9A07G084M04GBG" valueType="string"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.deviceName.1664475593" name="Device name" superClass="com.renesas.cdt.managedbuild.gcc.rz.deviceName" value="R9A07G084M08GBG" valueType="string"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name.75533497" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.toolchain.name" value="GNU Tools for ARM Embedded Processors" valueType="string"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.349814325" name="Architecture" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.architecture" value="ilg.gnuarmeclipse.managedbuild.cross.option.architecture.arm" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.family.2115333421" name="Arm family (-mcpu)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.family" value="ilg.gnuarmeclipse.managedbuild.cross.option.arm.target.mcpu.cortex-r52" valueType="enumerated"/>
|
||||
@@ -807,6 +842,7 @@
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs.305259748" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.defs" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RZN_"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_CORE=CR52_0"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.assembler.include.1749182888" name="Include paths (-I)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.assembler.include" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>
|
||||
@@ -837,6 +873,20 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/bsp/mcu/all/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/ca}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/arm/CMSIS_5/CMSIS/Core_A/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/public}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input.456671311" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.assembler.input"/>
|
||||
</tool>
|
||||
@@ -845,6 +895,7 @@
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.856881917" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="true" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_RENESAS_RZN_"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_CORE=CR52_0"/>
|
||||
<listOptionValue builtIn="false" value="_RZN_ORDINAL=1"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.compiler.include.1411892430" name="Include paths (-I)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.compiler.include" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${ProjDirPath}/generate""/>
|
||||
@@ -877,6 +928,20 @@
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip/rzt2n2/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value="".""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/bsp/mcu/all/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/ca}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/rm_freertos_port/cr}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/arm/CMSIS_5/CMSIS/Core_A/Include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/sb_lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/rsip/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/otp/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private/lib/inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/rzt_rzn/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/primitive}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/private}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rzn/fsp/src/r_rsip_protected/src/common/public}""/>
|
||||
</option>
|
||||
<inputType id="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input.179835817" superClass="ilg.gnuarmeclipse.managedbuild.cross.tool.c.compiler.input"/>
|
||||
</tool>
|
||||
@@ -889,11 +954,12 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnano.2140522055" name="Use newlib-nano (--specs=nano.specs)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.entrypoint.2072792159" name="Entry Point:" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.entrypoint" value="-Wl,-esystem_init" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.linkerscript.1599876065" name="Script files (-T)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linkerscript" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""fsp_ram_execution.ld""/>
|
||||
<listOptionValue builtIn="false" value=""fsp_xspi0_boot.ld""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.archives.userIncludePath.1202803303" name="User defined archive search directories (-L)" superClass="com.renesas.cdt.managedbuild.gcc.rz.archives.userIncludePath" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/script""/>
|
||||
</option>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.usenewlibnano.885232888" name="Use newlib-nano (--specs=nano.specs)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<inputType id="com.renesas.cdt.managedbuild.gcc.rz.inputType.linker.c.899703779" superClass="com.renesas.cdt.managedbuild.gcc.rz.inputType.linker.c">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinputdependency" paths="$(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS)"/>
|
||||
@@ -906,8 +972,9 @@
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.linker.usenewlibnano.1225392189" name="Use newlib-nano (--specs=nano.specs)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.linker.usenewlibnano" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.entrypoint.827697822" name="Entry Point:" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.entrypoint" value="-Wl,-esystem_init" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.renesas.cdt.managedbuild.gcc.rz.option.cpp.linkerscript.963403495" name="Script files (-T)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.cpp.linkerscript" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""fsp_ram_execution.ld""/>
|
||||
<listOptionValue builtIn="false" value=""fsp_xspi0_boot.ld""/>
|
||||
</option>
|
||||
<option id="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.usenewlibnano.1785719899" name="Use newlib-nano (--specs=nano.specs)" superClass="com.renesas.cdt.managedbuild.gcc.rz.option.linker.cpp.usenewlibnano" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.archiver.1356408537" name="Cross ARM GNU Archiver" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.archiver"/>
|
||||
<tool id="com.renesas.cdt.managedbuild.gcc.rz.tool.flash.1736780445" name="Cross ARM GNU Create Flash Image" superClass="com.renesas.cdt.managedbuild.gcc.rz.tool.flash">
|
||||
|
||||
@@ -1,243 +0,0 @@
|
||||
/*
|
||||
Linker File for Renesas RZ/N2L FSP
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
ATCM : ORIGIN = 0x00000000, LENGTH = 0x00020000
|
||||
BTCM : ORIGIN = 0x00100000, LENGTH = 0x00020000
|
||||
SYSTEM_RAM : ORIGIN = 0x10000000, LENGTH = 0x00180000
|
||||
SYSTEM_RAM_MIRROR : ORIGIN = 0x30000000, LENGTH = 0x00180000
|
||||
xSPI0_CS0_SPACE_MIRROR : ORIGIN = 0x40000000, LENGTH = 0x04000000
|
||||
xSPI0_CS1_SPACE_MIRROR : ORIGIN = 0x44000000, LENGTH = 0x04000000
|
||||
xSPI1_CS0_SPACE_MIRROR : ORIGIN = 0x48000000, LENGTH = 0x04000000
|
||||
xSPI1_CS1_SPACE_MIRROR : ORIGIN = 0x4C000000, LENGTH = 0x04000000
|
||||
CS0_SPACE_MIRROR : ORIGIN = 0x50000000, LENGTH = 0x04000000
|
||||
CS2_SPACE_MIRROR : ORIGIN = 0x54000000, LENGTH = 0x04000000
|
||||
CS3_SPACE_MIRROR : ORIGIN = 0x58000000, LENGTH = 0x04000000
|
||||
CS5_SPACE_MIRROR : ORIGIN = 0x5C000000, LENGTH = 0x04000000
|
||||
xSPI0_CS0_SPACE : ORIGIN = 0x60000000, LENGTH = 0x04000000
|
||||
xSPI0_CS1_SPACE : ORIGIN = 0x64000000, LENGTH = 0x04000000
|
||||
xSPI1_CS0_SPACE : ORIGIN = 0x68000000, LENGTH = 0x04000000
|
||||
xSPI1_CS1_SPACE : ORIGIN = 0x6C000000, LENGTH = 0x04000000
|
||||
CS0_SPACE : ORIGIN = 0x70000000, LENGTH = 0x04000000
|
||||
CS2_SPACE : ORIGIN = 0x74000000, LENGTH = 0x04000000
|
||||
CS3_SPACE : ORIGIN = 0x78000000, LENGTH = 0x04000000
|
||||
CS5_SPACE : ORIGIN = 0x7C000000, LENGTH = 0x04000000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.loader_text 0x00102000 : AT (0x00102000)
|
||||
{
|
||||
*(.loader_text)
|
||||
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.text*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.text*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_irq.o(.text*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.text*)
|
||||
*/fsp/src/r_ioport/r_ioport.o(.text*)
|
||||
KEEP(*(.warm_start))
|
||||
} > BTCM
|
||||
.loader_data :
|
||||
{
|
||||
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.data*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.data*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_irq.o(.data*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.data*)
|
||||
*/fsp/src/r_ioport/r_ioport.o(.data*)
|
||||
__loader_bss_start = .;
|
||||
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(.bss*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_clocks.o(.bss*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_irq.o(.bss*)
|
||||
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.bss*)
|
||||
*/fsp/src/r_ioport/r_ioport.o(.bss*)
|
||||
*/fsp/src/bsp/cmsis/Device/RENESAS/Source/*.o(COMMON)
|
||||
*/fsp/src/bsp/mcu/all/bsp_clocks.o(COMMON)
|
||||
*/fsp/src/bsp/mcu/all/bsp_irq.o(COMMON)
|
||||
*/fsp/src/bsp/mcu/all/bsp_register_protection.o(.COMMON)
|
||||
*/fsp/src/r_ioport/r_ioport.o(.COMMON)
|
||||
__loader_bss_end = . ;
|
||||
} > BTCM
|
||||
.intvec 0x00000000 : AT (0x00000000)
|
||||
{
|
||||
_fvector_start = .;
|
||||
KEEP(*(.intvec))
|
||||
_fvector_end = .;
|
||||
} > ATCM
|
||||
.text 0x30000000 : AT (0x30000000)
|
||||
{
|
||||
_text_start = .;
|
||||
*(.text*)
|
||||
|
||||
KEEP(*(.init))
|
||||
KEEP(*(.fini))
|
||||
|
||||
/* .ctors */
|
||||
*crtbegin.o(.ctors)
|
||||
*crtbegin?.o(.ctors)
|
||||
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors)
|
||||
*(SORT(.ctors.*))
|
||||
*(.ctors)
|
||||
_ctor_end = .;
|
||||
|
||||
/* .dtors */
|
||||
*crtbegin.o(.dtors)
|
||||
*crtbegin?.o(.dtors)
|
||||
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors)
|
||||
*(SORT(.dtors.*))
|
||||
*(.dtors)
|
||||
_dtor_end = .;
|
||||
|
||||
*(.rodata*)
|
||||
_erodata = .;
|
||||
KEEP(*(.eh_frame*))
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.rvectors :
|
||||
{
|
||||
_rvectors_start = .;
|
||||
KEEP(*(.rvectors))
|
||||
_rvectors_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.ARM.extab :
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
__exidx_start = .;
|
||||
.ARM.exidx :
|
||||
{
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
__exidx_end = .;
|
||||
.got :
|
||||
{
|
||||
*(.got)
|
||||
*(.got.plt)
|
||||
_text_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.data :
|
||||
{
|
||||
_data_start = .;
|
||||
|
||||
*(vtable)
|
||||
*(.data.*)
|
||||
*(.data)
|
||||
|
||||
. = ALIGN(4);
|
||||
/* preinit data */
|
||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||
KEEP(*(.preinit_array))
|
||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
/* init data */
|
||||
PROVIDE_HIDDEN (__init_array_start = .);
|
||||
KEEP(*(SORT(.init_array.*)))
|
||||
KEEP(*(.init_array))
|
||||
PROVIDE_HIDDEN (__init_array_end = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
/* finit data */
|
||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||
KEEP(*(SORT(.fini_array.*)))
|
||||
KEEP(*(.fini_array))
|
||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||
|
||||
KEEP(*(.jcr*))
|
||||
|
||||
. = ALIGN(4);
|
||||
|
||||
/* All data end */
|
||||
_data_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.bss :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__bss_start__ = .;
|
||||
_bss = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
__bss_end__ = .;
|
||||
_ebss = .;
|
||||
_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.heap (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__HeapBase = .;
|
||||
/* Place the STD heap here. */
|
||||
KEEP(*(.heap))
|
||||
__HeapLimit = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.thread_stack (NOLOAD):
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__ThreadStackBase = .;
|
||||
/* Place the Thread stacks here. */
|
||||
KEEP(*(.stack*))
|
||||
__ThreadStackLimit = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.sys_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__SysStackBase = .;
|
||||
/* Place the sys_stack here. */
|
||||
KEEP(*(.sys_stack))
|
||||
__SysStackLimit = .;
|
||||
} > BTCM
|
||||
.svc_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__SvcStackBase = .;
|
||||
/* Place the svc_stack here. */
|
||||
KEEP(*(.svc_stack))
|
||||
__SvcStackLimit = .;
|
||||
} > BTCM
|
||||
.irq_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__IrqStackBase = .;
|
||||
/* Place the irq_stack here. */
|
||||
KEEP(*(.irq_stack))
|
||||
__IrqStackLimit = .;
|
||||
} > BTCM
|
||||
.fiq_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__FiqStackBase = .;
|
||||
/* Place the fiq_stack here. */
|
||||
KEEP(*(.fiq_stack))
|
||||
__FiqStackLimit = .;
|
||||
} > BTCM
|
||||
.und_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__UndStackBase = .;
|
||||
/* Place the und_stack here. */
|
||||
KEEP(*(.und_stack))
|
||||
__UndStackLimit = .;
|
||||
} > BTCM
|
||||
.abt_stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(8);
|
||||
__AbtStackBase = .;
|
||||
/* Place the abt_stack here. */
|
||||
KEEP(*(.abt_stack))
|
||||
__AbtStackLimit = .;
|
||||
} > BTCM
|
||||
.shared_noncache_buffer 0x300C0000 : AT (0x300C0000)
|
||||
{
|
||||
. = ALIGN(32);
|
||||
_sncbuffer_start = .;
|
||||
KEEP(*(.shared_noncache_buffer*))
|
||||
_sncbuffer_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
.noncache_buffer 0x30100000 : AT (0x30100000)
|
||||
{
|
||||
. = ALIGN(32);
|
||||
_ncbuffer_start = .;
|
||||
KEEP(*(.noncache_buffer*))
|
||||
_ncbuffer_end = .;
|
||||
} > SYSTEM_RAM_MIRROR
|
||||
}
|
||||
|
||||
54
IDE/Renesas/e2studio/RZN2L/test/src/local_system_init.c
Normal file
54
IDE/Renesas/e2studio/RZN2L/test/src/local_system_init.c
Normal file
@@ -0,0 +1,54 @@
|
||||
/* local_system_init.c
|
||||
*
|
||||
* Custom configuration for wolfCrypt/wolfSSL.
|
||||
* Enabled via WOLFSSL_USER_SETTINGS.
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2024 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfBoot.
|
||||
*
|
||||
* wolfBoot is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* wolfBoot is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
#include "bsp_api.h"
|
||||
|
||||
void local_system_init (void);
|
||||
|
||||
BSP_TARGET_ARM void local_system_init (void)
|
||||
{
|
||||
#if 1
|
||||
/* This software loops are only needed when debugging. */
|
||||
__asm volatile (
|
||||
" mov r0, #0 \n"
|
||||
" movw r1, #0xf07f \n"
|
||||
" movt r1, #0x2fa \n"
|
||||
"software_loop: \n"
|
||||
" adds r0, #1 \n"
|
||||
" cmp r0, r1 \n"
|
||||
" bne software_loop \n"
|
||||
::: "memory");
|
||||
#endif
|
||||
__asm volatile (
|
||||
"set_vbar: \n"
|
||||
" LDR r0, =__Vectors \n"
|
||||
" MCR p15, #0, r0, c12, c0, #0 \n" /* Write r0 to VBAR */
|
||||
::: "memory");
|
||||
|
||||
__asm volatile (
|
||||
"jump_stack_init: \n"
|
||||
" ldr r0, =stack_init \n"
|
||||
" blx r0 \n" /* Jump to stack_init */
|
||||
);
|
||||
}
|
||||
@@ -20,13 +20,10 @@
|
||||
*/
|
||||
#include "rzn2l_tst_thread.h"
|
||||
|
||||
#include "um_common_cfg.h"
|
||||
#include "um_common_api.h"
|
||||
#include "um_serial_io_api.h"
|
||||
#include "um_serial_io.h"
|
||||
|
||||
#include "wolfssl_demo.h"
|
||||
#include "user_settings.h"
|
||||
#include "sio_char.h"
|
||||
#include <stdio.h>
|
||||
|
||||
typedef struct func_args {
|
||||
int argc;
|
||||
@@ -34,23 +31,20 @@ typedef struct func_args {
|
||||
int return_code;
|
||||
} func_args;
|
||||
|
||||
static serial_io_instance_ctrl_t g_serial_io0_ctrl;
|
||||
static serial_io_cfg_t const g_serial_io0_cfg =
|
||||
{
|
||||
.p_uart_instance = &g_uart0,
|
||||
};
|
||||
serial_io_instance_t const g_serial_io0 =
|
||||
{
|
||||
.p_ctrl = &g_serial_io0_ctrl,
|
||||
.p_cfg = &g_serial_io0_cfg,
|
||||
.p_api = &g_serial_io_on_serial_io,
|
||||
};
|
||||
|
||||
FSP_CPP_HEADER
|
||||
void R_BSP_WarmStart(bsp_warm_start_event_t event)
|
||||
BSP_PLACE_IN_SECTION(".warm_start");
|
||||
FSP_CPP_FOOTER
|
||||
|
||||
void user_uart_callback (uart_callback_args_t * p_args);
|
||||
void Clr_CallbackCtx(FSPSM_ST *g);
|
||||
void RSIP_KeyGeneration(FSPSM_ST *g);
|
||||
|
||||
uint32_t volatile g_tx_complete = 0;
|
||||
uint32_t volatile g_rx_complete = 0;
|
||||
uint32_t g_ofband_index = 0;
|
||||
uint8_t g_ofband_received[TRANSFER_LENGTH];
|
||||
|
||||
void R_BSP_WarmStart(bsp_warm_start_event_t event)
|
||||
{
|
||||
if (BSP_WARM_START_RESET == event) {
|
||||
@@ -61,8 +55,47 @@ void R_BSP_WarmStart(bsp_warm_start_event_t event)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(TLS_CLIENT) || \
|
||||
defined(TLS_SERVER)
|
||||
void user_uart_callback (uart_callback_args_t* p_args)
|
||||
{
|
||||
/* Handle the UART event */
|
||||
switch (p_args->event)
|
||||
{
|
||||
/* Received a character */
|
||||
case UART_EVENT_RX_CHAR:
|
||||
/* Only put the next character in the receive
|
||||
* buffer if there is space for it
|
||||
*/
|
||||
if (sizeof(g_ofband_received) > g_ofband_index)
|
||||
{
|
||||
/* Write either the next one or two bytes
|
||||
* depending on the receive data size
|
||||
*/
|
||||
if ((UART_DATA_BITS_7 == g_uart0_cfg.data_bits) ||
|
||||
(UART_DATA_BITS_8 == g_uart0_cfg.data_bits))
|
||||
{
|
||||
g_ofband_received[g_ofband_index++] =
|
||||
(uint8_t) p_args->data;
|
||||
} else {
|
||||
uint16_t * p_dest =
|
||||
(uint16_t *)&g_ofband_received[g_ofband_index];
|
||||
*p_dest = (uint16_t) p_args->data;
|
||||
g_ofband_index += 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
/* Receive complete */
|
||||
case UART_EVENT_RX_COMPLETE:
|
||||
g_rx_complete = 1;
|
||||
break;
|
||||
/* Transmit complete */
|
||||
case UART_EVENT_TX_COMPLETE:
|
||||
g_tx_complete = 1;
|
||||
break;
|
||||
default:break;
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(TLS_CLIENT) || defined(TLS_SERVER)
|
||||
extern uint8_t g_ether0_mac_address[6];
|
||||
const byte ucIPAddress[4] = { 192, 168, 11, 241 };
|
||||
const byte ucNetMask[4] = { 255, 255, 255, 0 };
|
||||
@@ -82,9 +115,6 @@ void R_BSP_WarmStart(bsp_warm_start_event_t event)
|
||||
FSPSM_ST guser_PKCbInfo;
|
||||
#endif
|
||||
|
||||
void Clr_CallbackCtx(FSPSM_ST *g);
|
||||
void RSIP_KeyGeneration(FSPSM_ST *g);
|
||||
|
||||
void RSIP_KeyGeneration(FSPSM_ST *g)
|
||||
{
|
||||
fsp_err_t rsip_error_code = FSP_SUCCESS;
|
||||
@@ -201,39 +231,16 @@ void wolfSSL_TLS_cleanup()
|
||||
|
||||
#endif
|
||||
|
||||
serial_io_instance_t const * gp_serial_io0 = &g_serial_io0;
|
||||
static void serial_init()
|
||||
{
|
||||
usr_err_t usr_err;
|
||||
|
||||
/** Open Serial I/O module. */
|
||||
usr_err = gp_serial_io0->p_api->open
|
||||
(gp_serial_io0->p_ctrl, gp_serial_io0->p_cfg );
|
||||
if( USR_SUCCESS != usr_err )
|
||||
{
|
||||
USR_DEBUG_BLOCK_CPU();
|
||||
}
|
||||
|
||||
/** Start Serial I/O module. */
|
||||
usr_err = gp_serial_io0->p_api->start( gp_serial_io0->p_ctrl );
|
||||
if( USR_SUCCESS != usr_err )
|
||||
{
|
||||
USR_DEBUG_BLOCK_CPU();
|
||||
}
|
||||
printf( " Started Serial I/O interface." );
|
||||
}
|
||||
|
||||
/* rzn2l_tst_thread entry function */
|
||||
/* pvParameters contains TaskHandle_t */
|
||||
void rzn2l_tst_thread_entry(void *pvParameters)
|
||||
{
|
||||
FSP_PARAMETER_NOT_USED (pvParameters);
|
||||
|
||||
|
||||
serial_init();
|
||||
/* Open the transfer instance with initial configuration. */
|
||||
R_SCI_UART_Open(&g_uart0_ctrl, &g_uart0_cfg);
|
||||
|
||||
#if defined(UNIT_TEST)
|
||||
|
||||
int ret;
|
||||
|
||||
printf("\n");
|
||||
@@ -368,8 +375,7 @@ void rzn2l_tst_thread_entry(void *pvParameters)
|
||||
TCPInit();
|
||||
|
||||
int TCP_connect_retry = 0;
|
||||
|
||||
printf("\n Start TLS Connection to %s port(%d)\n", SERVER_IP, DEFAULT_PORT);
|
||||
printf("Start TLS Connection to %s port(%d)\n", SERVER_IP, DEFAULT_PORT);
|
||||
wolfSSL_TLS_client_init();
|
||||
|
||||
do {
|
||||
@@ -403,7 +409,7 @@ void rzn2l_tst_thread_entry(void *pvParameters)
|
||||
|
||||
int TCP_connect_retry = 0;
|
||||
|
||||
printf("\n Start TLS Accept at %03d.%03d.%03d.%03d port(%d)\n",
|
||||
printf("Start TLS Accept at %03d.%03d.%03d.%03d port(%d)\n",
|
||||
ucIPAddress[0],
|
||||
ucIPAddress[1],
|
||||
ucIPAddress[2],
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
*
|
||||
!.gitignore
|
||||
83
IDE/Renesas/e2studio/RZN2L/test/src/serial_io/app_print.c
Normal file
83
IDE/Renesas/e2studio/RZN2L/test/src/serial_io/app_print.c
Normal file
@@ -0,0 +1,83 @@
|
||||
/* app_print.c
|
||||
*
|
||||
* Copyright (C) 2006-2025 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfSSL.
|
||||
*
|
||||
* wolfSSL is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* wolfSSL is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "hal_data.h"
|
||||
|
||||
static char g_uart_buf[256]; ///< uart tx buffer
|
||||
extern volatile uint32_t g_tx_complete;
|
||||
void uart_printf( const char *format, ... );
|
||||
|
||||
void uart_printf( const char *format, ... )
|
||||
{
|
||||
va_list va;
|
||||
uint32_t bytes;
|
||||
uint32_t offset, len, skip;
|
||||
char chara;
|
||||
const char ch = '\r';
|
||||
char* p;
|
||||
|
||||
va_start( va, format );
|
||||
bytes = (uint32_t)vsprintf(g_uart_buf, format, va);
|
||||
va_end( va );
|
||||
|
||||
if (bytes > 0) {
|
||||
p = &g_uart_buf[0];
|
||||
offset = 0;
|
||||
skip = 0;
|
||||
|
||||
do {
|
||||
len = 0;
|
||||
skip = 0;
|
||||
for (;offset < bytes; offset++, len++) {
|
||||
chara = g_uart_buf[offset];
|
||||
if ('\n' == chara) {
|
||||
skip = 1;
|
||||
len += 1;
|
||||
break;
|
||||
}
|
||||
if ('\r' == chara && (offset + 1) < bytes &&
|
||||
'\n' == g_uart_buf[offset + 1]){
|
||||
skip = 2;
|
||||
len += 2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
/* write buffer without LF */
|
||||
R_SCI_UART_Write(&g_uart0_ctrl, (uint8_t*)p, len);
|
||||
while(!g_tx_complete);
|
||||
g_tx_complete = 0;
|
||||
if (skip > 0) {
|
||||
R_SCI_UART_Write(&g_uart0_ctrl, (uint8_t*)&ch, 1);
|
||||
while(!g_tx_complete);
|
||||
}
|
||||
p += (len + skip);
|
||||
offset += skip;
|
||||
} while(offset < bytes);
|
||||
}
|
||||
|
||||
|
||||
g_tx_complete = 0;
|
||||
}
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "FreeRTOS.h"
|
||||
|
||||
extern FSPSM_INSTANCE gFSPSM_ctrl;
|
||||
int devId1 = INVALID_DEVID;
|
||||
|
||||
#ifndef NO_SHA
|
||||
int sha_test();
|
||||
@@ -74,14 +73,14 @@ static byte Aes256_Cbc_multTst_rslt = 0;
|
||||
static byte Aes128_Gcm_multTst_rslt = 0;
|
||||
static byte Aes256_Gcm_multTst_rslt = 0;
|
||||
|
||||
int rsip_crypt_AesCbc_multitest();
|
||||
int rsip_crypt_AesGcm_multitest();
|
||||
int rsip_crypt_Sha_AesCbcGcm_multitest();
|
||||
int rsip_crypt_AesCbc_multitest(int devId);
|
||||
int rsip_crypt_AesGcm_multitest(int devId);
|
||||
int rsip_crypt_Sha_AesCbcGcm_multitest(int devId);
|
||||
int rsip_crypt_sha_multitest();
|
||||
int rsip_crypt_test();
|
||||
|
||||
void Clr_CallbackCtx(FSPSM_ST *g);
|
||||
|
||||
void RSIP_KeyGeneration(FSPSM_ST *g);
|
||||
FSPSM_ST gCbInfo;
|
||||
FSPSM_ST gCbInfo_a; /* for multi testing */
|
||||
|
||||
@@ -124,12 +123,13 @@ FSPSM_ST gCbInfo_a; /* for multi testing */
|
||||
#endif
|
||||
typedef struct tagInfo
|
||||
{
|
||||
int devId;
|
||||
FSPSM_AES_PWKEY aes_key;
|
||||
} Info;
|
||||
|
||||
#if defined(HAVE_AES_CBC) && defined(WOLFSSL_AES_128)
|
||||
|
||||
static int rsip_aes128_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
static int rsip_aes128_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key, int devId)
|
||||
{
|
||||
|
||||
Aes aes[1];
|
||||
@@ -154,7 +154,7 @@ static int rsip_aes128_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
printf(" rsip_aes_cbc_test() ");
|
||||
}
|
||||
|
||||
ret = wc_AesInit(aes, NULL, devId1);
|
||||
ret = wc_AesInit(aes, NULL, devId);
|
||||
if (ret == 0) {
|
||||
ret = wc_AesSetKey(aes, (byte*)aes_key, keySz,
|
||||
iv, AES_ENCRYPTION);
|
||||
@@ -169,7 +169,7 @@ static int rsip_aes128_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
ret = -1;
|
||||
|
||||
#ifdef HAVE_AES_DECRYPT
|
||||
ret = wc_AesInit(aes, NULL, devId1);
|
||||
ret = wc_AesInit(aes, NULL, devId);
|
||||
if (ret == 0) {
|
||||
ret = wc_AesSetKey(aes, (byte*)aes_key, keySz,
|
||||
iv, AES_DECRYPTION);
|
||||
@@ -199,7 +199,7 @@ static void tskAes128_Cbc_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = rsip_aes128_cbc_test(0, p->aes_key);
|
||||
ret = rsip_aes128_cbc_test(0, p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). rsip_aes_cbc_test\n", ret);
|
||||
@@ -214,7 +214,7 @@ static void tskAes128_Cbc_Test(void *pvParam)
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_AES_256
|
||||
static int rsip_aes256_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
static int rsip_aes256_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
byte cipher[WC_AES_BLOCK_SIZE];
|
||||
@@ -237,12 +237,12 @@ static int rsip_aes256_cbc_test(int prnt, FSPSM_AES_PWKEY aes_key)
|
||||
if (prnt)
|
||||
printf(" rsip_aes256_test() ");
|
||||
|
||||
if (wc_AesInit(enc, NULL, devId1) != 0) {
|
||||
if (wc_AesInit(enc, NULL, devId) != 0) {
|
||||
ret = -1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (wc_AesInit(dec, NULL, devId1) != 0){
|
||||
if (wc_AesInit(dec, NULL, devId) != 0){
|
||||
ret = -2;
|
||||
goto out;
|
||||
}
|
||||
@@ -298,7 +298,7 @@ static void tskAes256_Cbc_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = rsip_aes256_cbc_test(0, p->aes_key);
|
||||
ret = rsip_aes256_cbc_test(0, p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). rsip_aes256_test\n", ret);
|
||||
@@ -313,7 +313,7 @@ static void tskAes256_Cbc_Test(void *pvParam)
|
||||
#endif /* WOLFSSL_AES_256 */
|
||||
|
||||
#if defined(WOLFSSL_AES_256)
|
||||
static int rsip_aesgcm256_test(int prnt, FSPSM_AES_PWKEY aes256_key)
|
||||
static int rsip_aesgcm256_test(int prnt, FSPSM_AES_PWKEY aes256_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
Aes dec[1];
|
||||
@@ -384,11 +384,11 @@ static int rsip_aesgcm256_test(int prnt, FSPSM_AES_PWKEY aes256_key)
|
||||
XMEMSET(resultP, 0, sizeof(resultP));
|
||||
XMEMSET(&userContext, 0, sizeof(FSPSM_ST));
|
||||
|
||||
if (wc_AesInit(enc, NULL, devId1) != 0) {
|
||||
if (wc_AesInit(enc, NULL, devId) != 0) {
|
||||
ret = -1;
|
||||
goto out;
|
||||
}
|
||||
if (wc_AesInit(dec, NULL, devId1) != 0) {
|
||||
if (wc_AesInit(dec, NULL, devId) != 0) {
|
||||
ret = -2;
|
||||
goto out;
|
||||
}
|
||||
@@ -478,7 +478,7 @@ static void tskAes256_Gcm_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = rsip_aesgcm256_test(0, p->aes_key);
|
||||
ret = rsip_aesgcm256_test(0, p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). rsip_aesgcm256_test\n", ret);
|
||||
@@ -493,7 +493,7 @@ static void tskAes256_Gcm_Test(void *pvParam)
|
||||
|
||||
#if defined(WOLFSSL_AES_128)
|
||||
|
||||
static int rsip_aesgcm128_test(int prnt, FSPSM_AES_PWKEY aes128_key)
|
||||
static int rsip_aesgcm128_test(int prnt, FSPSM_AES_PWKEY aes128_key, int devId)
|
||||
{
|
||||
Aes enc[1];
|
||||
Aes dec[1];
|
||||
@@ -570,12 +570,12 @@ static int rsip_aesgcm128_test(int prnt, FSPSM_AES_PWKEY aes128_key)
|
||||
XMEMSET(resultP, 0, sizeof(resultP));
|
||||
XMEMSET(&userContext, 0, sizeof(FSPSM_ST));
|
||||
|
||||
if (wc_AesInit(enc, NULL, devId1) != 0) {
|
||||
if (wc_AesInit(enc, NULL, devId) != 0) {
|
||||
ret = -1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (wc_AesInit(dec, NULL, devId1) != 0) {
|
||||
if (wc_AesInit(dec, NULL, devId) != 0) {
|
||||
ret = -2;
|
||||
goto out;
|
||||
}
|
||||
@@ -624,7 +624,7 @@ static void tskAes128_Gcm_Test(void *pvParam)
|
||||
Info *p = (Info*)pvParam;
|
||||
|
||||
while (exit_loop == 0) {
|
||||
ret = rsip_aesgcm128_test(0, p->aes_key);
|
||||
ret = rsip_aesgcm128_test(0, p->aes_key, p->devId);
|
||||
vTaskDelay(10/portTICK_PERIOD_MS);
|
||||
if (ret != 0) {
|
||||
printf(" result was not good(%d). rsip_aesgcm128_test\n", ret);
|
||||
@@ -646,7 +646,7 @@ static void tskAes128_Gcm_Test(void *pvParam)
|
||||
#define TEST_STRING_SZ 25
|
||||
#define RSA_TEST_BYTES 256 /* up to 2048-bit key */
|
||||
|
||||
static int rsip_rsa_test(int prnt, int keySize)
|
||||
static int rsip_rsa_test(int prnt, int keySize, int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -656,7 +656,6 @@ static int rsip_rsa_test(int prnt, int keySize)
|
||||
const char inStr2[] = TEST_STRING2;
|
||||
const word32 inLen = (word32)TEST_STRING_SZ;
|
||||
const word32 outSz = RSA_TEST_BYTES;
|
||||
word32 out_actual_len = 0;
|
||||
byte *in = NULL;
|
||||
byte *in2 = NULL;
|
||||
byte *out= NULL;
|
||||
@@ -680,7 +679,7 @@ static int rsip_rsa_test(int prnt, int keySize)
|
||||
XMEMSET(out, 0, outSz);
|
||||
XMEMSET(out2, 0, outSz);
|
||||
|
||||
ret = wc_InitRsaKey_ex(key, NULL, 7890/* fixed devid for TSIP/SCE*/);
|
||||
ret = wc_InitRsaKey_ex(key, NULL, devId);
|
||||
if (ret != 0) {
|
||||
goto out;
|
||||
}
|
||||
@@ -727,13 +726,12 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int rsip_rsa_SignVerify_test(int prnt, int keySize)
|
||||
static int rsip_rsa_SignVerify_test(int prnt, int keySize, int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
RsaKey *key = (RsaKey *)XMALLOC(sizeof *key, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
WC_RNG rng;
|
||||
word32 sigSz;
|
||||
const char inStr [] = TEST_STRING;
|
||||
const char inStr2[] = TEST_STRING2;
|
||||
const word32 inLen = (word32)TEST_STRING_SZ;
|
||||
@@ -760,7 +758,7 @@ static int rsip_rsa_SignVerify_test(int prnt, int keySize)
|
||||
XMEMCPY(in, inStr, inLen);
|
||||
XMEMCPY(in2, inStr2, inLen);
|
||||
|
||||
ret = wc_InitRsaKey_ex(key, NULL, 7890/* fixed devid for TSIP/SCE*/);
|
||||
ret = wc_InitRsaKey_ex(key, NULL, devId);
|
||||
if (ret != 0) {
|
||||
goto out;
|
||||
}
|
||||
@@ -781,7 +779,7 @@ static int rsip_rsa_SignVerify_test(int prnt, int keySize)
|
||||
if (ret < 0) {
|
||||
goto out;
|
||||
}
|
||||
sigSz = (word32)ret;
|
||||
|
||||
//* this should fail */
|
||||
ret = wc_RsaSSL_Verify(in2, inLen, out, (word32)(keySize/8), key);
|
||||
if (ret != FSP_ERR_CRYPTO_RSIP_FAIL) {
|
||||
@@ -902,7 +900,7 @@ int rsip_crypt_sha256_multitest()
|
||||
}
|
||||
|
||||
|
||||
int rsip_crypt_AesCbc_multitest()
|
||||
int rsip_crypt_AesCbc_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -925,7 +923,10 @@ int rsip_crypt_AesCbc_multitest()
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
info_aes1.devId = devId;
|
||||
info_aes2.devId = devId;
|
||||
info_aes256_1.devId = devId;
|
||||
info_aes256_2.devId = devId;
|
||||
#if defined(HAVE_AES_CBC) && defined(WOLFSSL_AES_128)
|
||||
XMEMCPY(&info_aes1.aes_key, &g_user_aes128_key_index1,
|
||||
sizeof(FSPSM_AES_PWKEY));
|
||||
@@ -983,7 +984,7 @@ int rsip_crypt_AesCbc_multitest()
|
||||
}
|
||||
|
||||
|
||||
int rsip_crypt_AesGcm_multitest()
|
||||
int rsip_crypt_AesGcm_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -1007,7 +1008,10 @@ int rsip_crypt_AesGcm_multitest()
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
info_aes1.devId = devId;
|
||||
info_aes2.devId = devId;
|
||||
info_aes256_1.devId = devId;
|
||||
info_aes256_2.devId = devId;
|
||||
#if defined(WOLFSSL_AES_128)
|
||||
XMEMCPY(&info_aes1.aes_key, &g_user_aes128_key_index1,
|
||||
sizeof(FSPSM_AES_PWKEY));
|
||||
@@ -1066,7 +1070,7 @@ int rsip_crypt_AesGcm_multitest()
|
||||
return ret;
|
||||
}
|
||||
|
||||
int rsip_crypt_Sha_AesCbcGcm_multitest()
|
||||
int rsip_crypt_Sha_AesCbcGcm_multitest(int devId)
|
||||
{
|
||||
int ret = 0;
|
||||
int num = 0;
|
||||
@@ -1098,7 +1102,10 @@ int rsip_crypt_Sha_AesCbcGcm_multitest()
|
||||
|
||||
exit_semaph = xSemaphoreCreateCounting((UBaseType_t)num, 0);
|
||||
xRet = pdPASS;
|
||||
|
||||
info_aes128cbc.devId = devId;
|
||||
info_aes128gcm.devId = devId;
|
||||
info_aes256cbc.devId = devId;
|
||||
info_aes256gcm.devId = devId;
|
||||
#ifndef NO_SHA256
|
||||
xRet = xTaskCreate(tskSha256_Test1, "sha256_test1",
|
||||
STACK_SIZE, NULL, 3, NULL);
|
||||
@@ -1174,12 +1181,13 @@ int rsip_crypt_Sha_AesCbcGcm_multitest()
|
||||
int rsip_crypt_test()
|
||||
{
|
||||
int ret = 0;
|
||||
int devId = INVALID_DEVID;
|
||||
fsp_err_t rsip_error_code = FSP_SUCCESS;
|
||||
|
||||
/* Generate AES sce Key */
|
||||
|
||||
if (rsip_error_code == FSP_SUCCESS) {
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
/* set up Crypt Call back */
|
||||
Clr_CallbackCtx(&gCbInfo);
|
||||
Clr_CallbackCtx(&gCbInfo_a);
|
||||
@@ -1204,43 +1212,54 @@ int rsip_crypt_test()
|
||||
ret = wc_CryptoCb_CryptInitRenesasCmn(NULL, &gCbInfo);
|
||||
|
||||
if ( ret > 0) {
|
||||
devId1 = ret;
|
||||
devId = ret;
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
#if RSA_MIN_SIZE < 1024
|
||||
if (ret == 0) {
|
||||
printf(" rsip_rsa_test(512)(this will be done"
|
||||
" by SW because RSIP doesn't support 512 bits key size.)");
|
||||
ret = rsip_rsa_test(1, 512);
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 0;
|
||||
ret = rsip_rsa_test(1, 512, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
#endif
|
||||
#if RSA_MIN_SIZE <= 1024
|
||||
if (ret == 0) {
|
||||
printf(" rsip_rsa_test(1024)");
|
||||
ret = rsip_rsa_test(1, 1024);
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 0;
|
||||
ret = rsip_rsa_test(1, 1024, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" rsip_rsa_test(2048)");
|
||||
ret = rsip_rsa_test(1, 2048);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
gCbInfo.hash_type = RSIP_HASH_TYPE_SHA256 ;
|
||||
printf(" rsip_rsa_SignVerify_test(1024)");
|
||||
ret = rsip_rsa_SignVerify_test(1, 1024);
|
||||
ret = rsip_rsa_SignVerify_test(1, 1024, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
#endif
|
||||
if (ret == 0) {
|
||||
printf(" rsip_rsa_test(2048)");
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub1024_installedkey_set = 0;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapri2048_installedkey_set = 1;
|
||||
gCbInfo.keyflgs_crypt.bits.rsapub2048_installedkey_set = 1;
|
||||
ret = rsip_rsa_test(1, 2048, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
if (ret == 0 && rsip_error_code == FSP_SUCCESS) {
|
||||
printf(" rsip_rsa_SignVerify_test(2048)");
|
||||
ret = rsip_rsa_SignVerify_test(1, 2048);
|
||||
ret = rsip_rsa_SignVerify_test(1, 2048, devId);
|
||||
RESULT_STR(ret)
|
||||
}
|
||||
|
||||
#endif /* WOLFSSL_RENESAS_RSIP_CRYPTONLY */
|
||||
#endif /* WOLFSSL_RENESAS_RSIP_CRYPTONLY */
|
||||
|
||||
#ifndef NO_SHA256
|
||||
printf(" sha256_test()");
|
||||
@@ -1263,18 +1282,18 @@ int rsip_crypt_test()
|
||||
RESULT_STR(ret)
|
||||
#endif
|
||||
|
||||
ret = rsip_aes128_cbc_test(1, g_user_aes128_key_index1);
|
||||
ret = rsip_aes128_cbc_test(1, g_user_aes128_key_index1, devId);
|
||||
|
||||
if (ret == 0) {
|
||||
ret = rsip_aes256_cbc_test(1, g_user_aes256_key_index1);
|
||||
ret = rsip_aes256_cbc_test(1, g_user_aes256_key_index1, devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
ret = rsip_aesgcm128_test(1, g_user_aes128_key_index1);
|
||||
ret = rsip_aesgcm128_test(1, g_user_aes128_key_index1, devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
ret = rsip_aesgcm256_test(1, g_user_aes256_key_index1);
|
||||
ret = rsip_aesgcm256_test(1, g_user_aes256_key_index1, devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
@@ -1284,20 +1303,25 @@ int rsip_crypt_test()
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" multi Aes cbc thread test\n");
|
||||
ret = rsip_crypt_AesCbc_multitest();
|
||||
ret = rsip_crypt_AesCbc_multitest(devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf(" multi Aes Gcm thread test\n");
|
||||
ret = rsip_crypt_AesGcm_multitest();
|
||||
ret = rsip_crypt_AesGcm_multitest(devId);
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
printf("rsip_crypt_Sha_AesCbcGcm_multitest\n");
|
||||
ret = rsip_crypt_Sha_AesCbcGcm_multitest();
|
||||
printf(" multi Sha AesCbcGcm thread test\n");
|
||||
ret = rsip_crypt_Sha_AesCbcGcm_multitest(devId);
|
||||
}
|
||||
|
||||
#if defined(WOLFSSL_RENESAS_RSIP_CRYPTONLY)
|
||||
/*
|
||||
* Need to be cleaned up before context clear
|
||||
* for internal instance
|
||||
*/
|
||||
wc_CryptoCb_CleanupRenesasCmn(&devId);
|
||||
Clr_CallbackCtx(&gCbInfo);
|
||||
Clr_CallbackCtx(&gCbInfo_a);
|
||||
#endif
|
||||
|
||||
@@ -21,13 +21,30 @@
|
||||
|
||||
#include <wolfssl/wolfcrypt/wc_port.h>
|
||||
|
||||
#define YEAR 2023
|
||||
#define MON 9
|
||||
|
||||
static int tick = 0;
|
||||
|
||||
#define YEAR ( \
|
||||
((__DATE__)[7] - '0') * 1000 + \
|
||||
((__DATE__)[8] - '0') * 100 + \
|
||||
((__DATE__)[9] - '0') * 10 + \
|
||||
((__DATE__)[10] - '0') * 1 \
|
||||
)
|
||||
|
||||
#define MONTH ( \
|
||||
__DATE__[2] == 'n' ? (__DATE__[1] == 'a' ? 1 : 6) \
|
||||
: __DATE__[2] == 'b' ? 2 \
|
||||
: __DATE__[2] == 'r' ? (__DATE__[0] == 'M' ? 3 : 4) \
|
||||
: __DATE__[2] == 'y' ? 5 \
|
||||
: __DATE__[2] == 'l' ? 7 \
|
||||
: __DATE__[2] == 'g' ? 8 \
|
||||
: __DATE__[2] == 'p' ? 9 \
|
||||
: __DATE__[2] == 't' ? 10 \
|
||||
: __DATE__[2] == 'v' ? 11 \
|
||||
: 12 \
|
||||
)
|
||||
|
||||
time_t time(time_t *t)
|
||||
{
|
||||
(void)t;
|
||||
return ((YEAR-1970)*365+30*MON)*24*60*60 + tick++;
|
||||
return ((YEAR-1970)*365+30*MONTH)*24*60*60 + tick++;
|
||||
}
|
||||
|
||||
@@ -100,6 +100,7 @@ The section for "Hardware platform" may need to be adjusted depending on your pr
|
||||
* To enable STM32U5 support define `WOLFSSL_STM32U5`.
|
||||
* To enable STM32H5 support define `WOLFSSL_STM32H5`.
|
||||
* To enable STM32MP13 support define `WOLFSSL_STM32MP13`.
|
||||
* To enable STM32N6 support define `WOLFSSL_STM32N6`.
|
||||
|
||||
To use the STM32 Cube HAL support make sure `WOLFSSL_STM32_CUBEMX` is defined.
|
||||
|
||||
@@ -195,7 +196,9 @@ Note: The Benchmark example uses float. To enable go to "Project Properties" ->
|
||||
|
||||
## STM32 Printf
|
||||
|
||||
In main.c make the following changes:
|
||||
Generation of code for a NUCLEO board provides a BSP option for generating printf support for the virtual com port. To use this set `#define HAL_CONSOLE_UART hcom_uart`.
|
||||
|
||||
If setting the printf support manually make the following changes in `main.c`.
|
||||
|
||||
This section needs to go below the `UART_HandleTypeDef` line, otherwise `wolfssl/wolfcrypt/settings.h` will error.
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* [STM32WB55](#stm32wb55)
|
||||
* [STM32WBA52](#stm32wba52)
|
||||
* [STM32WL55](#stm32wl55)
|
||||
* [STM32N657](#stm32n657)
|
||||
|
||||
## STM32H753ZI
|
||||
|
||||
@@ -1248,51 +1249,75 @@ Benchmark Test: Return code 0
|
||||
|
||||
## STM32H563ZI
|
||||
|
||||
Cortex-M33 at 150MHz
|
||||
Cortex-M33 at 250MHz with STM32 RNG, Hash and PKA
|
||||
|
||||
### STM32H563ZI (No STM HW Crypto, SP Math ASM Cortex M)
|
||||
### STM32H563ZI (STM32 RNG and Hash, SP Math ASM Cortex M)
|
||||
|
||||
```
|
||||
------------------------------------------------------------------------------
|
||||
wolfSSL version 5.6.0
|
||||
wolfSSL version 5.8.2
|
||||
------------------------------------------------------------------------------
|
||||
Running wolfCrypt Benchmarks...
|
||||
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||
RNG 2 MB took 1.011 seconds, 1.950 MB/s
|
||||
AES-128-CBC-enc 4 MB took 1.000 seconds, 3.686 MB/s
|
||||
AES-128-CBC-dec 4 MB took 1.004 seconds, 3.723 MB/s
|
||||
AES-192-CBC-enc 3 MB took 1.004 seconds, 3.187 MB/s
|
||||
AES-192-CBC-dec 3 MB took 1.000 seconds, 3.046 MB/s
|
||||
AES-256-CBC-enc 3 MB took 1.000 seconds, 2.816 MB/s
|
||||
AES-256-CBC-dec 3 MB took 1.004 seconds, 2.728 MB/s
|
||||
AES-128-GCM-enc 2 MB took 1.000 seconds, 2.048 MB/s
|
||||
AES-128-GCM-dec 2 MB took 1.004 seconds, 2.091 MB/s
|
||||
AES-192-GCM-enc 2 MB took 1.008 seconds, 1.879 MB/s
|
||||
AES-192-GCM-dec 2 MB took 1.011 seconds, 1.874 MB/s
|
||||
AES-256-GCM-enc 2 MB took 1.000 seconds, 1.741 MB/s
|
||||
AES-256-GCM-dec 2 MB took 1.012 seconds, 1.745 MB/s
|
||||
AES-128-GCM-enc-no_AAD 2 MB took 1.008 seconds, 2.057 MB/s
|
||||
AES-128-GCM-dec-no_AAD 2 MB took 1.008 seconds, 2.108 MB/s
|
||||
AES-192-GCM-enc-no_AAD 2 MB took 1.000 seconds, 1.894 MB/s
|
||||
AES-192-GCM-dec-no_AAD 2 MB took 1.000 seconds, 1.894 MB/s
|
||||
AES-256-GCM-enc-no_AAD 2 MB took 1.004 seconds, 1.759 MB/s
|
||||
AES-256-GCM-dec-no_AAD 2 MB took 1.004 seconds, 1.759 MB/s
|
||||
GMAC Table 4-bit 4 MB took 1.000 seconds, 4.400 MB/s
|
||||
CHACHA 8 MB took 1.000 seconds, 8.448 MB/s
|
||||
CHA-POLY 6 MB took 1.000 seconds, 5.683 MB/s
|
||||
POLY1305 26 MB took 1.000 seconds, 25.574 MB/s
|
||||
SHA-256 5 MB took 1.004 seconds, 4.972 MB/s
|
||||
HMAC-SHA256 5 MB took 1.000 seconds, 4.941 MB/s
|
||||
RSA 2048 public 122 ops took 1.000 sec, avg 8.197 ms, 122.000 ops/sec
|
||||
RSA 2048 private 4 ops took 1.231 sec, avg 307.750 ms, 3.249 ops/sec
|
||||
DH 2048 key gen 7 ops took 1.000 sec, avg 142.857 ms, 7.000 ops/sec
|
||||
DH 2048 agree 8 ops took 1.141 sec, avg 142.625 ms, 7.011 ops/sec
|
||||
ECC [ SECP256R1] 256 key gen 204 ops took 1.000 sec, avg 4.902 ms, 204.000 ops/sec
|
||||
ECDHE [ SECP256R1] 256 agree 94 ops took 1.007 sec, avg 10.713 ms, 93.347 ops/sec
|
||||
ECDSA [ SECP256R1] 256 sign 136 ops took 1.012 sec, avg 7.441 ms, 134.387 ops/sec
|
||||
ECDSA [ SECP256R1] 256 verify 66 ops took 1.012 sec, avg 15.333 ms, 65.217 ops/sec
|
||||
RNG 400 KiB took 1.015 seconds, 394.089 KiB/s
|
||||
AES-128-CBC-enc 3 MiB took 1.000 seconds, 2.881 MiB/s
|
||||
AES-128-CBC-dec 3 MiB took 1.004 seconds, 2.723 MiB/s
|
||||
AES-192-CBC-enc 3 MiB took 1.000 seconds, 2.515 MiB/s
|
||||
AES-192-CBC-dec 2 MiB took 1.004 seconds, 2.286 MiB/s
|
||||
AES-256-CBC-enc 2 MiB took 1.004 seconds, 2.237 MiB/s
|
||||
AES-256-CBC-dec 2 MiB took 1.004 seconds, 2.116 MiB/s
|
||||
AES-128-GCM-enc 2 MiB took 1.008 seconds, 1.695 MiB/s
|
||||
AES-128-GCM-dec 2 MiB took 1.008 seconds, 1.671 MiB/s
|
||||
AES-192-GCM-enc 2 MiB took 1.004 seconds, 1.556 MiB/s
|
||||
AES-192-GCM-dec 2 MiB took 1.004 seconds, 1.532 MiB/s
|
||||
AES-256-GCM-enc 1 MiB took 1.008 seconds, 1.405 MiB/s
|
||||
AES-256-GCM-dec 1 MiB took 1.015 seconds, 1.419 MiB/s
|
||||
AES-128-GCM-enc-no_AAD 2 MiB took 1.000 seconds, 1.709 MiB/s
|
||||
AES-128-GCM-dec-no_AAD 2 MiB took 1.004 seconds, 1.678 MiB/s
|
||||
AES-192-GCM-enc-no_AAD 2 MiB took 1.000 seconds, 1.562 MiB/s
|
||||
AES-192-GCM-dec-no_AAD 2 MiB took 1.000 seconds, 1.538 MiB/s
|
||||
AES-256-GCM-enc-no_AAD 1 MiB took 1.004 seconds, 1.410 MiB/s
|
||||
AES-256-GCM-dec-no_AAD 1 MiB took 1.007 seconds, 1.430 MiB/s
|
||||
GMAC Table 4-bit 4 MiB took 1.000 seconds, 3.897 MiB/s
|
||||
AES-128-CFB 950 KiB took 1.008 seconds, 942.460 KiB/s
|
||||
AES-192-CFB 3 MiB took 1.008 seconds, 2.495 MiB/s
|
||||
AES-256-CFB 2 MiB took 1.000 seconds, 2.222 MiB/s
|
||||
CHACHA 9 MiB took 1.000 seconds, 9.009 MiB/s
|
||||
CHA-POLY 6 MiB took 1.000 seconds, 5.591 MiB/s
|
||||
MD5 20 MiB took 1.000 seconds, 20.312 MiB/s
|
||||
POLY1305 24 MiB took 1.000 seconds, 23.584 MiB/s
|
||||
SHA 21 MiB took 1.000 seconds, 21.045 MiB/s
|
||||
SHA-224 21 MiB took 1.000 seconds, 20.752 MiB/s
|
||||
SHA-256 21 MiB took 1.000 seconds, 20.703 MiB/s
|
||||
SHA-384 22 MiB took 1.000 seconds, 21.729 MiB/s
|
||||
SHA-512 22 MiB took 1.000 seconds, 21.631 MiB/s
|
||||
SHA-512/224 22 MiB took 1.000 seconds, 21.655 MiB/s
|
||||
SHA-512/256 22 MiB took 1.000 seconds, 21.655 MiB/s
|
||||
SHA3-224 2 MiB took 1.000 seconds, 2.026 MiB/s
|
||||
SHA3-256 2 MiB took 1.008 seconds, 1.913 MiB/s
|
||||
SHA3-384 1 MiB took 1.008 seconds, 1.477 MiB/s
|
||||
SHA3-512 1 MiB took 1.016 seconds, 1.033 MiB/s
|
||||
HMAC-MD5 20 MiB took 1.000 seconds, 20.068 MiB/s
|
||||
HMAC-SHA 20 MiB took 1.000 seconds, 20.288 MiB/s
|
||||
HMAC-SHA224 20 MiB took 1.000 seconds, 19.751 MiB/s
|
||||
HMAC-SHA256 20 MiB took 1.000 seconds, 19.727 MiB/s
|
||||
HMAC-SHA384 20 MiB took 1.000 seconds, 20.435 MiB/s
|
||||
HMAC-SHA512 20 MiB took 1.000 seconds, 20.361 MiB/s
|
||||
PBKDF2 320 bytes took 1.043 seconds, 306.807 bytes/s
|
||||
RSA 2048 public 186 ops took 1.000 sec, avg 5.376 ms, 186.000 ops/sec
|
||||
RSA 2048 private 6 ops took 1.024 sec, avg 170.667 ms, 5.859 ops/sec
|
||||
DH 2048 key gen 13 ops took 1.040 sec, avg 80.000 ms, 12.500 ops/sec
|
||||
DH 2048 agree 14 ops took 1.118 sec, avg 79.857 ms, 12.522 ops/sec
|
||||
ECC [ SECP256R1] 256 key gen 330 ops took 1.000 sec, avg 3.030 ms, 330.000 ops/sec
|
||||
ECDHE [ SECP256R1] 256 agree 174 ops took 1.004 sec, avg 5.770 ms, 173.307 ops/sec
|
||||
ECDSA [ SECP256R1] 256 sign 192 ops took 1.000 sec, avg 5.208 ms, 192.000 ops/sec
|
||||
ECDSA [ SECP256R1] 256 verify 116 ops took 1.015 sec, avg 8.750 ms, 114.286 ops/sec
|
||||
CURVE 25519 key gen 5 ops took 1.047 sec, avg 209.400 ms, 4.776 ops/sec
|
||||
CURVE 25519 agree 6 ops took 1.251 sec, avg 208.500 ms, 4.796 ops/sec
|
||||
ED 25519 key gen 5 ops took 1.058 sec, avg 211.600 ms, 4.726 ops/sec
|
||||
ED 25519 sign 6 ops took 1.294 sec, avg 215.667 ms, 4.637 ops/sec
|
||||
ED 25519 verify 4 ops took 1.769 sec, avg 442.250 ms, 2.261 ops/sec
|
||||
Benchmark complete
|
||||
Benchmark Test: Return code 0
|
||||
```
|
||||
|
||||
|
||||
@@ -1340,3 +1365,218 @@ RSA 2048 public 14 ops took 1.016 sec, avg 72.571 ms, 13.780 ops/se
|
||||
RSA 2048 private 2 ops took 5.447 sec, avg 2723.500 ms, 0.367 ops/sec
|
||||
```
|
||||
|
||||
|
||||
## STM32N657
|
||||
|
||||
Cortex-M55 at 600MHz (part is capable of 800MHz in overdrive mode)
|
||||
Tests are run with ICACHE enabled. Enable CPU I-Cache and D-Cache by calling:
|
||||
|
||||
```c
|
||||
SCB_EnableICache();
|
||||
SCB_EnableDCache();
|
||||
```
|
||||
|
||||
### STM32N657 Benchmarks (STM RNG/SHA1/SHA2/AES/PKA-ECC and SP Math Cortex-M Small for RSA/DH)
|
||||
|
||||
```
|
||||
#undef NO_STM32_HASH
|
||||
#undef NO_STM32_CRYPTO
|
||||
#define WOLFSSL_STM32_PKA
|
||||
#define WOLF_CONF_ARMASM 0
|
||||
```
|
||||
|
||||
```
|
||||
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||
RNG 925 KiB took 1.012 seconds, 914.032 KiB/s
|
||||
AES-128-CBC-enc 18 MiB took 1.000 seconds, 17.627 MiB/s
|
||||
AES-128-CBC-dec 17 MiB took 1.000 seconds, 17.432 MiB/s
|
||||
AES-192-CBC-enc 18 MiB took 1.000 seconds, 17.603 MiB/s
|
||||
AES-192-CBC-dec 17 MiB took 1.000 seconds, 17.432 MiB/s
|
||||
AES-256-CBC-enc 18 MiB took 1.000 seconds, 17.603 MiB/s
|
||||
AES-256-CBC-dec 17 MiB took 1.000 seconds, 17.383 MiB/s
|
||||
AES-128-GCM-enc 17 MiB took 1.000 seconds, 16.626 MiB/s
|
||||
AES-128-GCM-dec 17 MiB took 1.000 seconds, 16.577 MiB/s
|
||||
AES-192-GCM-enc 17 MiB took 1.000 seconds, 16.602 MiB/s
|
||||
AES-192-GCM-dec 17 MiB took 1.000 seconds, 16.553 MiB/s
|
||||
AES-256-GCM-enc 17 MiB took 1.000 seconds, 16.602 MiB/s
|
||||
AES-256-GCM-dec 17 MiB took 1.000 seconds, 16.553 MiB/s
|
||||
AES-128-GCM-enc-no_AAD 17 MiB took 1.000 seconds, 16.699 MiB/s
|
||||
AES-128-GCM-dec-no_AAD 17 MiB took 1.000 seconds, 16.626 MiB/s
|
||||
AES-192-GCM-enc-no_AAD 17 MiB took 1.000 seconds, 16.650 MiB/s
|
||||
AES-192-GCM-dec-no_AAD 17 MiB took 1.000 seconds, 16.602 MiB/s
|
||||
AES-256-GCM-enc-no_AAD 17 MiB took 1.000 seconds, 16.675 MiB/s
|
||||
AES-256-GCM-dec-no_AAD 17 MiB took 1.000 seconds, 16.602 MiB/s
|
||||
GMAC Table 4-bit 63 MiB took 1.000 seconds, 62.878 MiB/s
|
||||
CHACHA 20 MiB took 1.000 seconds, 19.678 MiB/s
|
||||
CHA-POLY 12 MiB took 1.000 seconds, 12.451 MiB/s
|
||||
MD5 51 MiB took 1.000 seconds, 51.392 MiB/s
|
||||
POLY1305 53 MiB took 1.000 seconds, 53.442 MiB/s
|
||||
SHA 48 MiB took 1.000 seconds, 47.632 MiB/s
|
||||
SHA-224 47 MiB took 1.000 seconds, 46.997 MiB/s
|
||||
SHA-256 47 MiB took 1.000 seconds, 46.973 MiB/s
|
||||
SHA-384 49 MiB took 1.000 seconds, 48.779 MiB/s
|
||||
SHA-512 49 MiB took 1.000 seconds, 48.779 MiB/s
|
||||
SHA-512/224 49 MiB took 1.000 seconds, 48.877 MiB/s
|
||||
SHA-512/256 49 MiB took 1.000 seconds, 48.877 MiB/s
|
||||
SHA3-224 5 MiB took 1.000 seconds, 4.614 MiB/s
|
||||
SHA3-256 4 MiB took 1.000 seconds, 4.370 MiB/s
|
||||
SHA3-384 3 MiB took 1.004 seconds, 3.356 MiB/s
|
||||
SHA3-512 2 MiB took 1.000 seconds, 2.344 MiB/s
|
||||
HMAC-MD5 51 MiB took 1.000 seconds, 50.806 MiB/s
|
||||
HMAC-SHA 46 MiB took 1.000 seconds, 45.703 MiB/s
|
||||
HMAC-SHA224 45 MiB took 1.000 seconds, 44.604 MiB/s
|
||||
HMAC-SHA256 45 MiB took 1.000 seconds, 44.580 MiB/s
|
||||
HMAC-SHA384 46 MiB took 1.000 seconds, 45.801 MiB/s
|
||||
HMAC-SHA512 46 MiB took 1.000 seconds, 45.728 MiB/s
|
||||
PBKDF2 640 bytes took 1.000 seconds, 640.000 bytes/s
|
||||
RSA 2048 public 430 ops took 1.000 sec, avg 2.326 ms, 430.000 ops/sec
|
||||
RSA 2048 private 14 ops took 1.059 sec, avg 75.643 ms, 13.220 ops/sec
|
||||
DH 2048 key gen 29 ops took 1.019 sec, avg 35.138 ms, 28.459 ops/sec
|
||||
DH 2048 agree 30 ops took 1.051 sec, avg 35.033 ms, 28.544 ops/sec
|
||||
ECC [ SECP256R1] 256 key gen 924 ops took 1.000 sec, avg 1.082 ms, 924.000 ops/sec
|
||||
ECDHE [ SECP256R1] 256 agree 466 ops took 1.000 sec, avg 2.146 ms, 466.000 ops/sec
|
||||
ECDSA [ SECP256R1] 256 sign 180 ops took 1.004 sec, avg 5.578 ms, 179.283 ops/sec
|
||||
ECDSA [ SECP256R1] 256 verify 168 ops took 1.000 sec, avg 5.952 ms, 168.000 ops/sec
|
||||
CURVE 25519 key gen 11 ops took 1.020 sec, avg 92.727 ms, 10.784 ops/sec
|
||||
CURVE 25519 agree 12 ops took 1.114 sec, avg 92.833 ms, 10.772 ops/sec
|
||||
ED 25519 key gen 11 ops took 1.027 sec, avg 93.364 ms, 10.711 ops/sec
|
||||
ED 25519 sign 12 ops took 1.137 sec, avg 94.750 ms, 10.554 ops/sec
|
||||
ED 25519 verify 6 ops took 1.177 sec, avg 196.167 ms, 5.098 ops/sec
|
||||
```
|
||||
|
||||
|
||||
### STM32N657 Benchmarks (No STM hardware crypto, ARM Thumb Assembly, SP Math Cortex-M ASM Small)
|
||||
|
||||
```
|
||||
#define WOLF_CONF_ARMASM 1 /* WOLF_CONF_ARMASM */
|
||||
//#define WOLFSSL_STM32_PKA
|
||||
#define WOLF_CONF_MATH 4 /* (sp_cortexm.c) */
|
||||
```
|
||||
|
||||
```
|
||||
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||
RNG 5 MiB took 1.004 seconds, 4.766 MiB/s
|
||||
AES-128-CBC-enc 16 MiB took 1.000 seconds, 15.991 MiB/s
|
||||
AES-128-CBC-dec 16 MiB took 1.000 seconds, 15.747 MiB/s
|
||||
AES-192-CBC-enc 13 MiB took 1.000 seconds, 13.477 MiB/s
|
||||
AES-192-CBC-dec 13 MiB took 1.000 seconds, 13.330 MiB/s
|
||||
AES-256-CBC-enc 12 MiB took 1.000 seconds, 11.646 MiB/s
|
||||
AES-256-CBC-dec 12 MiB took 1.000 seconds, 11.572 MiB/s
|
||||
AES-128-GCM-enc 7 MiB took 1.000 seconds, 7.397 MiB/s
|
||||
AES-128-GCM-dec 7 MiB took 1.000 seconds, 7.397 MiB/s
|
||||
AES-192-GCM-enc 7 MiB took 1.000 seconds, 6.836 MiB/s
|
||||
AES-192-GCM-dec 7 MiB took 1.000 seconds, 6.812 MiB/s
|
||||
AES-256-GCM-enc 6 MiB took 1.000 seconds, 6.323 MiB/s
|
||||
AES-256-GCM-dec 6 MiB took 1.000 seconds, 6.323 MiB/s
|
||||
AES-128-GCM-enc-no_AAD 7 MiB took 1.000 seconds, 7.495 MiB/s
|
||||
AES-128-GCM-dec-no_AAD 7 MiB took 1.000 seconds, 7.495 MiB/s
|
||||
AES-192-GCM-enc-no_AAD 7 MiB took 1.000 seconds, 6.909 MiB/s
|
||||
AES-192-GCM-dec-no_AAD 7 MiB took 1.000 seconds, 6.885 MiB/s
|
||||
AES-256-GCM-enc-no_AAD 6 MiB took 1.000 seconds, 6.372 MiB/s
|
||||
AES-256-GCM-dec-no_AAD 6 MiB took 1.000 seconds, 6.372 MiB/s
|
||||
GMAC Table 4-bit 14 MiB took 1.000 seconds, 14.010 MiB/s
|
||||
CHACHA 29 MiB took 1.000 seconds, 29.102 MiB/s
|
||||
CHA-POLY 20 MiB took 1.000 seconds, 19.580 MiB/s
|
||||
MD5 51 MiB took 1.000 seconds, 51.416 MiB/s
|
||||
POLY1305 126 MiB took 1.000 seconds, 125.635 MiB/s
|
||||
SHA 22 MiB took 1.000 seconds, 21.802 MiB/s
|
||||
SHA-224 13 MiB took 1.000 seconds, 13.135 MiB/s
|
||||
SHA-256 13 MiB took 1.000 seconds, 13.110 MiB/s
|
||||
SHA-384 7 MiB took 1.000 seconds, 7.129 MiB/s
|
||||
SHA-512 7 MiB took 1.000 seconds, 7.129 MiB/s
|
||||
SHA-512/224 7 MiB took 1.000 seconds, 7.129 MiB/s
|
||||
SHA-512/256 7 MiB took 1.000 seconds, 7.129 MiB/s
|
||||
SHA3-224 7 MiB took 1.000 seconds, 6.665 MiB/s
|
||||
SHA3-256 6 MiB took 1.000 seconds, 6.274 MiB/s
|
||||
SHA3-384 5 MiB took 1.000 seconds, 4.858 MiB/s
|
||||
SHA3-512 3 MiB took 1.004 seconds, 3.404 MiB/s
|
||||
HMAC-MD5 50 MiB took 1.000 seconds, 50.439 MiB/s
|
||||
HMAC-SHA 21 MiB took 1.000 seconds, 21.460 MiB/s
|
||||
HMAC-SHA224 13 MiB took 1.000 seconds, 12.988 MiB/s
|
||||
HMAC-SHA256 13 MiB took 1.000 seconds, 12.988 MiB/s
|
||||
HMAC-SHA384 7 MiB took 1.000 seconds, 7.007 MiB/s
|
||||
HMAC-SHA512 7 MiB took 1.000 seconds, 7.031 MiB/s
|
||||
PBKDF2 2 KiB took 1.016 seconds, 1.476 KiB/s
|
||||
RSA 2048 public 494 ops took 1.000 sec, avg 2.024 ms, 494.000 ops/sec
|
||||
RSA 2048 private 14 ops took 1.027 sec, avg 73.357 ms, 13.632 ops/sec
|
||||
DH 2048 key gen 30 ops took 1.020 sec, avg 34.000 ms, 29.412 ops/sec
|
||||
DH 2048 agree 30 ops took 1.019 sec, avg 33.967 ms, 29.441 ops/sec
|
||||
ECC [ SECP256R1] 256 key gen 966 ops took 1.000 sec, avg 1.035 ms, 966.000 ops/sec
|
||||
ECDHE [ SECP256R1] 256 agree 462 ops took 1.000 sec, avg 2.165 ms, 462.000 ops/sec
|
||||
ECDSA [ SECP256R1] 256 sign 532 ops took 1.000 sec, avg 1.880 ms, 532.000 ops/sec
|
||||
ECDSA [ SECP256R1] 256 verify 306 ops took 1.004 sec, avg 3.281 ms, 304.781 ops/sec
|
||||
CURVE 25519 key gen 11 ops took 1.015 sec, avg 92.273 ms, 10.837 ops/sec
|
||||
CURVE 25519 agree 12 ops took 1.110 sec, avg 92.500 ms, 10.811 ops/sec
|
||||
ED 25519 key gen 11 ops took 1.027 sec, avg 93.364 ms, 10.711 ops/sec
|
||||
ED 25519 sign 12 ops took 1.138 sec, avg 94.833 ms, 10.545 ops/sec
|
||||
ED 25519 verify 6 ops took 1.180 sec, avg 196.667 ms, 5.085 ops/sec
|
||||
```
|
||||
|
||||
### STM32N657 Benchmarks (Pure C - SP C32 / No ASM / No STM hardware)
|
||||
|
||||
```
|
||||
#define WOLF_CONF_MATH 3 /* sp_c32.c */
|
||||
#define WOLFSSL_NO_ASM
|
||||
#define NO_STM32_HASH
|
||||
#define NO_STM32_CRYPTO
|
||||
//#define WOLFSSL_STM32_PKA
|
||||
```
|
||||
|
||||
```
|
||||
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||
RNG 3 MiB took 1.000 seconds, 3.442 MiB/s
|
||||
AES-128-CBC-enc 10 MiB took 1.000 seconds, 10.303 MiB/s
|
||||
AES-128-CBC-dec 10 MiB took 1.000 seconds, 10.132 MiB/s
|
||||
AES-192-CBC-enc 9 MiB took 1.000 seconds, 8.936 MiB/s
|
||||
AES-192-CBC-dec 9 MiB took 1.000 seconds, 8.838 MiB/s
|
||||
AES-256-CBC-enc 8 MiB took 1.000 seconds, 7.935 MiB/s
|
||||
AES-256-CBC-dec 8 MiB took 1.000 seconds, 7.812 MiB/s
|
||||
AES-128-GCM-enc 5 MiB took 1.000 seconds, 5.054 MiB/s
|
||||
AES-128-GCM-dec 5 MiB took 1.000 seconds, 5.029 MiB/s
|
||||
AES-192-GCM-enc 5 MiB took 1.000 seconds, 4.688 MiB/s
|
||||
AES-192-GCM-dec 5 MiB took 1.000 seconds, 4.688 MiB/s
|
||||
AES-256-GCM-enc 4 MiB took 1.000 seconds, 4.370 MiB/s
|
||||
AES-256-GCM-dec 4 MiB took 1.004 seconds, 4.377 MiB/s
|
||||
AES-128-GCM-enc-no_AAD 5 MiB took 1.000 seconds, 5.078 MiB/s
|
||||
AES-128-GCM-dec-no_AAD 5 MiB took 1.000 seconds, 5.078 MiB/s
|
||||
AES-192-GCM-enc-no_AAD 5 MiB took 1.004 seconds, 4.717 MiB/s
|
||||
AES-192-GCM-dec-no_AAD 5 MiB took 1.004 seconds, 4.717 MiB/s
|
||||
AES-256-GCM-enc-no_AAD 4 MiB took 1.000 seconds, 4.419 MiB/s
|
||||
AES-256-GCM-dec-no_AAD 4 MiB took 1.000 seconds, 4.419 MiB/s
|
||||
GMAC Table 4-bit 10 MiB took 1.000 seconds, 9.939 MiB/s
|
||||
CHACHA 20 MiB took 1.000 seconds, 19.678 MiB/s
|
||||
CHA-POLY 12 MiB took 1.000 seconds, 12.378 MiB/s
|
||||
MD5 51 MiB took 1.000 seconds, 51.489 MiB/s
|
||||
POLY1305 53 MiB took 1.000 seconds, 53.442 MiB/s
|
||||
SHA 23 MiB took 1.000 seconds, 22.949 MiB/s
|
||||
SHA-224 9 MiB took 1.000 seconds, 8.740 MiB/s
|
||||
SHA-256 9 MiB took 1.000 seconds, 8.740 MiB/s
|
||||
SHA-384 5 MiB took 1.000 seconds, 4.541 MiB/s
|
||||
SHA-512 5 MiB took 1.000 seconds, 4.541 MiB/s
|
||||
SHA-512/224 5 MiB took 1.004 seconds, 4.523 MiB/s
|
||||
SHA-512/256 5 MiB took 1.000 seconds, 4.517 MiB/s
|
||||
SHA3-224 5 MiB took 1.004 seconds, 4.620 MiB/s
|
||||
SHA3-256 4 MiB took 1.000 seconds, 4.346 MiB/s
|
||||
SHA3-384 3 MiB took 1.004 seconds, 3.356 MiB/s
|
||||
SHA3-512 2 MiB took 1.000 seconds, 2.344 MiB/s
|
||||
HMAC-MD5 51 MiB took 1.000 seconds, 50.659 MiB/s
|
||||
HMAC-SHA 23 MiB took 1.000 seconds, 22.632 MiB/s
|
||||
HMAC-SHA224 9 MiB took 1.000 seconds, 8.667 MiB/s
|
||||
HMAC-SHA256 9 MiB took 1.000 seconds, 8.691 MiB/s
|
||||
HMAC-SHA384 4 MiB took 1.000 seconds, 4.468 MiB/s
|
||||
HMAC-SHA512 4 MiB took 1.004 seconds, 4.450 MiB/s
|
||||
PBKDF2 1 KiB took 1.016 seconds, 1.046 KiB/s
|
||||
RSA 2048 public 216 ops took 1.008 sec, avg 4.667 ms, 214.286 ops/sec
|
||||
RSA 2048 private 4 ops took 1.024 sec, avg 256.000 ms, 3.906 ops/sec
|
||||
DH 2048 key gen 10 ops took 1.086 sec, avg 108.600 ms, 9.208 ops/sec
|
||||
DH 2048 agree 10 ops took 1.086 sec, avg 108.600 ms, 9.208 ops/sec
|
||||
ECC [ SECP256R1] 256 key gen 44 ops took 1.035 sec, avg 23.523 ms, 42.512 ops/sec
|
||||
ECDHE [ SECP256R1] 256 agree 44 ops took 1.031 sec, avg 23.432 ms, 42.677 ops/sec
|
||||
ECDSA [ SECP256R1] 256 sign 40 ops took 1.036 sec, avg 25.900 ms, 38.610 ops/sec
|
||||
ECDSA [ SECP256R1] 256 verify 22 ops took 1.043 sec, avg 47.409 ms, 21.093 ops/sec
|
||||
CURVE 25519 key gen 11 ops took 1.020 sec, avg 92.727 ms, 10.784 ops/sec
|
||||
CURVE 25519 agree 12 ops took 1.114 sec, avg 92.833 ms, 10.772 ops/sec
|
||||
ED 25519 key gen 11 ops took 1.027 sec, avg 93.364 ms, 10.711 ops/sec
|
||||
ED 25519 sign 12 ops took 1.141 sec, avg 95.083 ms, 10.517 ops/sec
|
||||
ED 25519 verify 6 ops took 1.177 sec, avg 196.167 ms, 5.098 ops/sec
|
||||
```
|
||||
|
||||
@@ -221,6 +221,7 @@ extern ${variable.value} ${variable.name};
|
||||
#define WOLFSSL_STM32H5
|
||||
#define STM32_HAL_V2
|
||||
#undef NO_STM32_HASH
|
||||
#define WOLFSSL_STM32_PKA
|
||||
#ifndef HAL_CONSOLE_UART
|
||||
#define HAL_CONSOLE_UART huart3
|
||||
#endif
|
||||
@@ -299,6 +300,7 @@ extern ${variable.value} ${variable.name};
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#if defined(WOLF_CONF_RTOS) && WOLF_CONF_RTOS == 2
|
||||
#define FREERTOS
|
||||
#define WOLFSSL_NO_REALLOC
|
||||
#else
|
||||
#define SINGLE_THREADED
|
||||
#endif
|
||||
@@ -789,12 +791,6 @@ extern ${variable.value} ${variable.name};
|
||||
/* Base16 / Base64 encoding */
|
||||
//#define NO_CODING
|
||||
|
||||
/* bypass certificate date checking, due to lack of properly configured RTC source */
|
||||
#ifndef HAL_RTC_MODULE_ENABLED
|
||||
#define NO_ASN_TIME
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1830,7 +1830,7 @@ double current_time(void)
|
||||
(void) date;
|
||||
|
||||
/* return seconds.milliseconds */
|
||||
return ((double) time.Hours * 24) + ((double) time.Minutes * 60)
|
||||
return ((double) time.Hours * 3600) + ((double) time.Minutes * 60)
|
||||
+ (double) time.Seconds + ((double) subsec / 1000);
|
||||
}
|
||||
#endif /* HAL_RTC_MODULE_ENABLED */
|
||||
|
||||
@@ -438,7 +438,7 @@ extern "C" {
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
@@ -515,7 +515,7 @@ extern unsigned int my_rng_seed_gen(void);
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
10
IDE/WINCE/README.md
Normal file
10
IDE/WINCE/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Use this file for FIPS 140-3 upcoming UPDT+OEUP and module v5.2.3, not intended
|
||||
for use with any other module version, v5.2.3 exclusive (certificate # will be
|
||||
add here upon issuance):
|
||||
|
||||
user_settings.h
|
||||
|
||||
This is now a legacy file used under the 140-2 program for module v4.6.2 under
|
||||
now historical certificate #3389:
|
||||
|
||||
user_settings.h.140-2-deprecated
|
||||
@@ -3,3 +3,5 @@
|
||||
# All paths should be given relative to the root
|
||||
|
||||
EXTRA_DIST+= IDE/WINCE/user_settings.h
|
||||
EXTRA_DIST+= IDE/WINCE/README.md
|
||||
EXTRA_DIST+= IDE/WINCE/user_settings.h.140-2-deprecated
|
||||
|
||||
@@ -1,63 +1,780 @@
|
||||
/* user_settings.h
|
||||
*
|
||||
* Copyright (C) 2006-2025 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfSSL.
|
||||
*
|
||||
* wolfSSL is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* wolfSSL is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
#if 1
|
||||
#define OPENSSL_COEXIST
|
||||
|
||||
/* HKDF for engine */
|
||||
#undef HAVE_HKDF
|
||||
#if 1
|
||||
#define HAVE_HKDF
|
||||
#define HAVE_X963_KDF
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_PUBLIC_MP
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
|
||||
#undef NO_OLD_RNGNAME
|
||||
#define NO_OLD_RNGNAME
|
||||
|
||||
#undef NO_OLD_WC_NAMES
|
||||
#define NO_OLD_WC_NAMES
|
||||
|
||||
#undef NO_OLD_SSL_NAMES
|
||||
#define NO_OLD_SSL_NAMES
|
||||
|
||||
#undef NO_OLD_SHA_NAMES
|
||||
#define NO_OLD_SHA_NAMES
|
||||
|
||||
#undef NO_OLD_MD5_NAME
|
||||
#define NO_OLD_MD5_NAME
|
||||
|
||||
#undef NO_OLD_SHA256_NAMES
|
||||
#define NO_OLD_SHA256_NAMES
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_SYS_CA_CERTS
|
||||
#define WOLFSSL_SYS_CA_CERTS
|
||||
|
||||
#undef LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
#define LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
|
||||
#undef HAVE_SERVER_RENEGOTIATION_INFO
|
||||
#define HAVE_SERVER_RENEGOTIATION_INFO
|
||||
* Copyright (C) 2006-2025 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfSSL.
|
||||
*
|
||||
* wolfSSL is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* wolfSSL is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
|
||||
|
||||
/* Custom wolfSSL user settings for GCC ARM */
|
||||
|
||||
#ifndef WOLFSSL_USER_SETTINGS_H
|
||||
#define WOLFSSL_USER_SETTINGS_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Platform */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#undef WOLFSSL_GENERAL_ALIGNMENT
|
||||
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
||||
|
||||
/* Multi-threaded support */
|
||||
#undef SINGLE_THREADED
|
||||
#if 0
|
||||
#define SINGLE_THREADED
|
||||
#else
|
||||
#define ERROR_QUEUE_PER_THREAD /* if applicable otherwise comment out */
|
||||
#endif
|
||||
|
||||
#ifdef SINGLE_THREADED
|
||||
#undef NO_THREAD_LS
|
||||
#define NO_THREAD_LS
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_USER_IO
|
||||
//#define WOLFSSL_USER_IO
|
||||
|
||||
#undef NO_WRITE_TEMP_FILES
|
||||
#define NO_WRITE_TEMP_FILES
|
||||
|
||||
/* FIPS 140-3 OE specific section(s) */
|
||||
|
||||
/* Uncomment for Android devices */
|
||||
#undef ANDROID_V454
|
||||
/* #define ANDROID_V454 */
|
||||
#ifdef ANDROID_V454
|
||||
#if 1
|
||||
/* To have all printouts go to the app view on the device use: */
|
||||
extern int appendToTextView(const char* fmt, ...);
|
||||
#undef printf
|
||||
#define printf(format, ...) appendToTextView(format, ## __VA_ARGS__)
|
||||
#else
|
||||
#include <android/log.h>
|
||||
#define WOLFLOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, "wolfCrypt_android", __VA_ARGS__)
|
||||
#undef printf
|
||||
#define printf WOLFLOGV
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Uncomment for WINCE 6.0 devices. NOTE: _WIN32_WCE defined by system */
|
||||
#if 1
|
||||
#define NO_WOLFSSL_DIR
|
||||
#define WOLFSSL_NO_ATOMICS
|
||||
#define WC_NO_ASYNC_THREADING
|
||||
#define USE_WINDOWS_API
|
||||
#define WOLFSSL_SMALL_STACK
|
||||
#define MAX_SUPPORTED_THREADS 1024
|
||||
#define MAX_SUPPORTED_PRIV_KEYS 1024
|
||||
#define MAX_CONFIGURED_THREAD 512
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Math Configuration */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#undef SIZEOF_LONG_LONG
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
||||
#undef USE_FAST_MATH
|
||||
#if 1
|
||||
#define USE_FAST_MATH
|
||||
|
||||
#undef TFM_TIMING_RESISTANT
|
||||
#define TFM_TIMING_RESISTANT
|
||||
|
||||
#undef TFM_NO_ASM
|
||||
#define TFM_NO_ASM
|
||||
|
||||
/* Optimizations */
|
||||
//#define TFM_ARM
|
||||
|
||||
/* Maximum math bits (Max RSA key bits * 2) */
|
||||
#undef FP_MAX_BITS
|
||||
#define FP_MAX_BITS 16384
|
||||
#else
|
||||
#define WOLFSSL_SP_MATH_ALL
|
||||
#define WOLFSSL_SP_INT_NEGATIVE
|
||||
/* Maximum math bits (largest supported key bits) */
|
||||
#undef SP_INT_BITS
|
||||
#define SP_INT_BITS 8192
|
||||
#endif
|
||||
|
||||
/* Wolf Single Precision Math */
|
||||
#undef WOLFSSL_SP
|
||||
#if 0 /* SP Assembly Speedups (wPAA) */
|
||||
//#define WOLFSSL_SP
|
||||
//#define WOLFSSL_SP_SMALL /* use smaller version of code */
|
||||
//#define WOLFSSL_SP_1024
|
||||
//#define WOLFCRYPT_HAVE_SAKKE /* Note: Sakke can be enabled with 1024-bit support */
|
||||
//#define WOLFSSL_SP_4096 /* Explicitly enable 4096-bit support (2048/3072 on by default) */
|
||||
//#define WOLFSSL_SP_384 /* Explicitly enable 384-bit support (others on by default) */
|
||||
//#define WOLFSSL_SP_521 /* Explicitly enable 521-bit support (others on by default) */
|
||||
//#define WOLFSSL_HAVE_SP_RSA
|
||||
//#define WOLFSSL_HAVE_SP_DH
|
||||
//#define WOLFSSL_HAVE_SP_ECC
|
||||
/* If no PAA, leave out */
|
||||
//#define WOLFSSL_ARMASM
|
||||
//#define WOLFSSL_SP_ARM64_ASM
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* FIPS - Requires eval or license from wolfSSL */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#undef HAVE_FIPS
|
||||
#if 1
|
||||
|
||||
#define WOLFCRYPT_FIPS_CORE_HASH_VALUE \
|
||||
C149F3285397DFBD0C6720E14818475C3A50B10880EF9619463173A6D5ED15E7
|
||||
/* 0F3FB6F60279949E88901E852EADF3746E92162EB3D279E4C1052FB145FB04B6 */ /* Primary Run */
|
||||
/* F952A96D70E630665F11D9933C46546063FD70108E39AB62C0886F0888B656ED */ /* Cases 206, 208 and 209 */
|
||||
/* BADBADBADBADBADBADBADDEADBEEFDEADBEEFDEADBEEFDEADBEEFBADBADBADBD */ /* TE05.05.07 */
|
||||
/* D371272290903FB9EB78FACD3504306EC8F12342CC195950E0F516A03AA51A39 */ /* harness */
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
/* Inline function for WOLFLOGV */
|
||||
static int wolf_logv_internal(const char* fmt, ...) {
|
||||
int n;
|
||||
va_list args;
|
||||
|
||||
Sleep(1); /* Sleep for 1 millisecond before printing */
|
||||
/* Ensure all previous buffered output is flushed */
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
va_start(args, fmt);
|
||||
/* Use vfprintf for va_list arguments */
|
||||
n = vfprintf(stdout, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
/* Flush immediately after printing */
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
Sleep(1); /* Sleep for 1 millisecond before printing */
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
/* Ensure printf is not defined before redefining it */
|
||||
#ifdef printf
|
||||
#undef printf
|
||||
#endif
|
||||
|
||||
/* Define WOLFLOGV as the wrapper */
|
||||
#define WOLFLOGV wolf_logv_internal
|
||||
|
||||
/* Redirect printf to WOLFLOGV (effectively wolf_logv_internal) */
|
||||
#define printf WOLFLOGV
|
||||
#endif
|
||||
|
||||
#define HAVE_FIPS
|
||||
|
||||
#undef HAVE_FIPS_VERSION
|
||||
#define HAVE_FIPS_VERSION 5
|
||||
#define HAVE_FIPS_VERSION_MAJOR HAVE_FIPS_VERSION
|
||||
|
||||
#undef HAVE_FIPS_VERSION_MINOR
|
||||
#define HAVE_FIPS_VERSION_MINOR 2
|
||||
#define HAVE_FIPS_VERSION_PATCH 3
|
||||
|
||||
#undef WOLFSSL_WOLFSSH
|
||||
#define WOLFSSL_WOLFSSH
|
||||
|
||||
#undef WC_RNG_SEED_CB
|
||||
#define WC_RNG_SEED_CB
|
||||
|
||||
#if 0
|
||||
#undef NO_ATTRIBUTE_CONSTRUCTOR
|
||||
#define NO_ATTRIBUTE_CONSTRUCTOR
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Crypto */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* RSA */
|
||||
#undef NO_RSA
|
||||
#if 1
|
||||
|
||||
/* half as much memory but twice as slow */
|
||||
#undef RSA_LOW_MEM
|
||||
//#define RSA_LOW_MEM
|
||||
|
||||
/* Enables blinding mode, to prevent timing attacks */
|
||||
#if 1
|
||||
#undef WC_RSA_BLINDING
|
||||
#define WC_RSA_BLINDING
|
||||
#else
|
||||
#undef WC_NO_HARDEN
|
||||
#define WC_NO_HARDEN
|
||||
#endif
|
||||
|
||||
/* RSA PSS Support */
|
||||
#if 1
|
||||
#undef WC_RSA_PSS
|
||||
#define WC_RSA_PSS
|
||||
|
||||
#undef WOLFSSL_PSS_LONG_SALT
|
||||
#define WOLFSSL_PSS_LONG_SALT
|
||||
|
||||
#undef WOLFSSL_PSS_SALT_LEN_DISCOVER
|
||||
#define WOLFSSL_PSS_SALT_LEN_DISCOVER
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
#define WC_RSA_NO_PADDING
|
||||
#endif
|
||||
#else
|
||||
#define NO_RSA
|
||||
#endif
|
||||
|
||||
/* ECC */
|
||||
#undef HAVE_ECC
|
||||
#if 1
|
||||
#define HAVE_ECC
|
||||
|
||||
/* Manually define enabled curves */
|
||||
#undef ECC_USER_CURVES
|
||||
//#define ECC_USER_CURVES
|
||||
|
||||
#ifdef ECC_USER_CURVES
|
||||
/* Manual Curve Selection */
|
||||
#define HAVE_ECC192
|
||||
#define HAVE_ECC224
|
||||
#undef NO_ECC256
|
||||
#define HAVE_ECC256
|
||||
#define HAVE_ECC384
|
||||
#define HAVE_ECC521
|
||||
#endif
|
||||
|
||||
/* Fixed point cache (speeds repeated operations against same private key) */
|
||||
#undef FP_ECC
|
||||
//#define FP_ECC
|
||||
#ifdef FP_ECC
|
||||
/* Bits / Entries */
|
||||
#undef FP_ENTRIES
|
||||
#define FP_ENTRIES 2
|
||||
#undef FP_LUT
|
||||
#define FP_LUT 4
|
||||
#endif
|
||||
|
||||
/* Optional ECC calculation method */
|
||||
/* Note: doubles heap usage, but slightly faster */
|
||||
#undef ECC_SHAMIR
|
||||
#define ECC_SHAMIR
|
||||
|
||||
/* Reduces heap usage, but slower */
|
||||
#undef ECC_TIMING_RESISTANT
|
||||
#define ECC_TIMING_RESISTANT
|
||||
|
||||
#ifdef HAVE_FIPS
|
||||
#undef HAVE_ECC_CDH
|
||||
#define HAVE_ECC_CDH /* Enable cofactor support */
|
||||
|
||||
#undef NO_STRICT_ECDSA_LEN
|
||||
#define NO_STRICT_ECDSA_LEN /* Do not force fixed len w/ FIPS */
|
||||
|
||||
#undef WOLFSSL_VALIDATE_ECC_IMPORT
|
||||
#define WOLFSSL_VALIDATE_ECC_IMPORT /* Validate import */
|
||||
|
||||
#undef WOLFSSL_VALIDATE_ECC_KEYGEN
|
||||
#define WOLFSSL_VALIDATE_ECC_KEYGEN /* Validate generated keys */
|
||||
|
||||
#undef WOLFSSL_ECDSA_SET_K
|
||||
#define WOLFSSL_ECDSA_SET_K
|
||||
|
||||
#endif
|
||||
|
||||
/* Compressed Key Support */
|
||||
#undef HAVE_COMP_KEY
|
||||
//#define HAVE_COMP_KEY
|
||||
|
||||
/* Use alternate ECC size for ECC math */
|
||||
#ifdef USE_FAST_MATH
|
||||
/* MAX ECC BITS = ROUND8(MAX ECC) * 2 */
|
||||
#ifdef NO_RSA
|
||||
/* Custom fastmath size if not using RSA */
|
||||
#undef FP_MAX_BITS
|
||||
#define FP_MAX_BITS (256 * 2)
|
||||
#else
|
||||
#undef ALT_ECC_SIZE
|
||||
#define ALT_ECC_SIZE
|
||||
/* wolfSSL will compute the FP_MAX_BITS_ECC, but it can be overridden */
|
||||
//#undef FP_MAX_BITS_ECC
|
||||
//#define FP_MAX_BITS_ECC (256 * 2)
|
||||
#endif
|
||||
|
||||
/* Speedups specific to curve */
|
||||
#ifndef NO_ECC256
|
||||
#undef TFM_ECC256
|
||||
#define TFM_ECC256
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* DH */
|
||||
#undef NO_DH
|
||||
#if 1
|
||||
/* Use table for DH instead of -lm (math) lib dependency */
|
||||
#if 1
|
||||
#define HAVE_DH_DEFAULT_PARAMS
|
||||
#define WOLFSSL_DH_CONST
|
||||
#define HAVE_FFDHE_2048
|
||||
#define HAVE_FFDHE_3072
|
||||
#define HAVE_FFDHE_4096
|
||||
#define HAVE_FFDHE_6144
|
||||
#define HAVE_FFDHE_8192
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FIPS
|
||||
#define WOLFSSL_VALIDATE_FFC_IMPORT
|
||||
#define HAVE_FFDHE_Q
|
||||
#endif
|
||||
#else
|
||||
#define NO_DH
|
||||
#endif
|
||||
|
||||
|
||||
/* AES */
|
||||
#undef NO_AES
|
||||
#if 1
|
||||
#undef HAVE_AES_CBC
|
||||
#define HAVE_AES_CBC
|
||||
|
||||
#undef HAVE_AESGCM
|
||||
#define HAVE_AESGCM
|
||||
|
||||
/* GCM Method (slowest to fastest): GCM_SMALL, GCM_WORD32, GCM_TABLE or
|
||||
* GCM_TABLE_4BIT */
|
||||
#define GCM_TABLE_4BIT
|
||||
|
||||
#undef WOLFSSL_AES_DIRECT
|
||||
#define WOLFSSL_AES_DIRECT
|
||||
|
||||
#undef HAVE_AES_ECB
|
||||
#define HAVE_AES_ECB
|
||||
|
||||
#undef WOLFSSL_AES_COUNTER
|
||||
#define WOLFSSL_AES_COUNTER
|
||||
|
||||
#undef HAVE_AESCCM
|
||||
#define HAVE_AESCCM
|
||||
|
||||
#undef WOLFSSL_AES_OFB
|
||||
#define WOLFSSL_AES_OFB
|
||||
#else
|
||||
#define NO_AES
|
||||
#endif
|
||||
|
||||
|
||||
/* DES3 */
|
||||
#undef NO_DES3
|
||||
#if 0
|
||||
#if 1
|
||||
#undef WOLFSSL_DES_ECB
|
||||
#define WOLFSSL_DES_ECB
|
||||
#endif
|
||||
#else
|
||||
#define NO_DES3
|
||||
#endif
|
||||
|
||||
/* ChaCha20 / Poly1305 */
|
||||
#undef HAVE_CHACHA
|
||||
#undef HAVE_POLY1305
|
||||
#if 0
|
||||
#define HAVE_CHACHA
|
||||
#define HAVE_POLY1305
|
||||
|
||||
/* Needed for Poly1305 */
|
||||
#undef HAVE_ONE_TIME_AUTH
|
||||
#define HAVE_ONE_TIME_AUTH
|
||||
#endif
|
||||
|
||||
/* Ed25519 / Curve25519 */
|
||||
#undef HAVE_CURVE25519
|
||||
#undef HAVE_ED25519
|
||||
#if 0
|
||||
#define HAVE_CURVE25519
|
||||
#define HAVE_ED25519 /* ED25519 Requires SHA512 */
|
||||
|
||||
/* Optionally use small math (less flash usage, but much slower) */
|
||||
#if 1
|
||||
#define CURVED25519_SMALL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Hashing */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Sha */
|
||||
#undef NO_SHA
|
||||
#if 1
|
||||
/* 1k smaller, but 25% slower */
|
||||
//#define USE_SLOW_SHA
|
||||
#else
|
||||
#define NO_SHA
|
||||
#endif
|
||||
|
||||
/* Sha256 */
|
||||
#undef NO_SHA256
|
||||
#if 1
|
||||
/* not unrolled - ~2k smaller and ~25% slower */
|
||||
//#define USE_SLOW_SHA256
|
||||
|
||||
/* Sha224 */
|
||||
#if 1
|
||||
#define WOLFSSL_SHA224
|
||||
#endif
|
||||
#else
|
||||
#define NO_SHA256
|
||||
#endif
|
||||
|
||||
/* Sha512 */
|
||||
#undef WOLFSSL_SHA512
|
||||
#if 1
|
||||
#define WOLFSSL_SHA512
|
||||
|
||||
#undef WOLFSSL_NOSHA512_224 /* Not in FIPS mode */
|
||||
#undef WOLFSSL_NOSHA512_256 /* Not in FIPS mode */
|
||||
|
||||
/* Sha384 */
|
||||
#undef WOLFSSL_SHA384
|
||||
#if 1
|
||||
#define WOLFSSL_SHA384
|
||||
#endif
|
||||
|
||||
/* over twice as small, but 50% slower */
|
||||
//#define USE_SLOW_SHA512
|
||||
#endif
|
||||
|
||||
/* Sha3 */
|
||||
#undef WOLFSSL_SHA3
|
||||
#if 1
|
||||
#define WOLFSSL_SHA3
|
||||
#define Sha3 wc_Sha3
|
||||
#endif
|
||||
|
||||
/* MD5 */
|
||||
#undef NO_MD5
|
||||
#if 1
|
||||
|
||||
#else
|
||||
#define NO_MD5
|
||||
#endif
|
||||
|
||||
/* HKDF / PRF */
|
||||
#undef HAVE_HKDF
|
||||
#if 1
|
||||
#define HAVE_HKDF
|
||||
#define WOLFSSL_HAVE_PRF
|
||||
#endif
|
||||
|
||||
/* CMAC */
|
||||
#undef WOLFSSL_CMAC
|
||||
#if 1
|
||||
#define WOLFSSL_CMAC
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Benchmark / Test */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Use reduced benchmark / test sizes */
|
||||
#undef BENCH_EMBEDDED
|
||||
#define BENCH_EMBEDDED
|
||||
|
||||
#undef USE_CERT_BUFFERS_2048
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
|
||||
#undef USE_CERT_BUFFERS_1024
|
||||
//#define USE_CERT_BUFFERS_1024
|
||||
|
||||
#undef USE_CERT_BUFFERS_256
|
||||
#define USE_CERT_BUFFERS_256
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Debugging */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
#undef DEBUG_WOLFSSL
|
||||
#undef NO_ERROR_STRINGS
|
||||
#if 1
|
||||
#define DEBUG_WOLFSSL
|
||||
#else
|
||||
#if 0
|
||||
#define NO_ERROR_STRINGS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Memory */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/* Override Memory API's */
|
||||
#if 0
|
||||
#undef XMALLOC_OVERRIDE
|
||||
#define XMALLOC_OVERRIDE
|
||||
|
||||
/* prototypes for user heap override functions */
|
||||
/* Note: Realloc only required for normal math */
|
||||
/* Note2: XFREE(NULL) must be properly handled */
|
||||
#include <stddef.h> /* for size_t */
|
||||
extern void *myMalloc(size_t n, void* heap, int type);
|
||||
extern void myFree(void *p, void* heap, int type);
|
||||
extern void *myRealloc(void *p, size_t n, void* heap, int type);
|
||||
|
||||
#define XMALLOC(n, h, t) myMalloc(n, h, t)
|
||||
#define XFREE(p, h, t) myFree(p, h, t)
|
||||
#define XREALLOC(p, n, h, t) myRealloc(p, n, h, t)
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
/* Static memory requires fast math */
|
||||
#define WOLFSSL_STATIC_MEMORY
|
||||
|
||||
/* Disable fallback malloc/free */
|
||||
#define WOLFSSL_NO_MALLOC
|
||||
#if 1
|
||||
#define WOLFSSL_MALLOC_CHECK /* trap malloc failure */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Memory callbacks */
|
||||
#if 1
|
||||
#undef USE_WOLFSSL_MEMORY
|
||||
#define USE_WOLFSSL_MEMORY
|
||||
|
||||
/* Use this to measure / print heap usage */
|
||||
#if 0
|
||||
#undef WOLFSSL_TRACK_MEMORY
|
||||
// #define WOLFSSL_TRACK_MEMORY
|
||||
|
||||
#undef WOLFSSL_DEBUG_MEMORY
|
||||
//#define WOLFSSL_DEBUG_MEMORY
|
||||
|
||||
#undef WOLFSSL_DEBUG_MEMORY_PRINT
|
||||
//#define WOLFSSL_DEBUG_MEMORY_PRINT
|
||||
#endif
|
||||
#else
|
||||
#ifndef WOLFSSL_STATIC_MEMORY
|
||||
#define NO_WOLFSSL_MEMORY
|
||||
/* Otherwise we will use stdlib malloc, free and realloc */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Port */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/* Override Current Time */
|
||||
/* Allows custom "custom_time()" function to be used for benchmark */
|
||||
//#define WOLFSSL_USER_CURRTIME
|
||||
//#define WOLFSSL_GMTIME
|
||||
//#define USER_TICKS
|
||||
//extern unsigned long my_time(unsigned long* timer);
|
||||
//#define XTIME my_time
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* RNG */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/* Seed Source */
|
||||
/* Seed Source */
|
||||
// extern int my_rng_generate_seed(unsigned char* output, int sz);
|
||||
// #undef CUSTOM_RAND_GENERATE_SEED
|
||||
// #define CUSTOM_RAND_GENERATE_SEED my_rng_generate_seed
|
||||
|
||||
/* Choose RNG method */
|
||||
#if 1
|
||||
/* Use built-in P-RNG (SHA256 based) with HW RNG */
|
||||
/* P-RNG + HW RNG (P-RNG is ~8K) */
|
||||
//#define WOLFSSL_GENSEED_FORTEST
|
||||
#undef HAVE_HASHDRBG
|
||||
#define HAVE_HASHDRBG
|
||||
#else
|
||||
#undef WC_NO_HASHDRBG
|
||||
#define WC_NO_HASHDRBG
|
||||
|
||||
/* Bypass P-RNG and use only HW RNG */
|
||||
extern int my_rng_gen_block(unsigned char* output, unsigned int sz);
|
||||
#undef CUSTOM_RAND_GENERATE_BLOCK
|
||||
#define CUSTOM_RAND_GENERATE_BLOCK my_rng_gen_block
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Custom Standard Lib */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Allows override of all standard library functions */
|
||||
#undef STRING_USER
|
||||
#if 0
|
||||
#define STRING_USER
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#undef USE_WOLF_STRSEP
|
||||
#define USE_WOLF_STRSEP
|
||||
#define XSTRSEP(s1,d) wc_strsep((s1),(d))
|
||||
|
||||
#undef USE_WOLF_STRTOK
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
#define XMEMCMP(s1,s2,n) memcmp((s1),(s2),(n))
|
||||
#define XMEMMOVE(d,s,l) memmove((d),(s),(l))
|
||||
|
||||
#define XSTRLEN(s1) strlen((s1))
|
||||
#define XSTRNCPY(s1,s2,n) strncpy((s1),(s2),(n))
|
||||
#define XSTRSTR(s1,s2) strstr((s1),(s2))
|
||||
|
||||
#define XSTRNCMP(s1,s2,n) strncmp((s1),(s2),(n))
|
||||
#define XSTRNCAT(s1,s2,n) strncat((s1),(s2),(n))
|
||||
#define XSTRNCASECMP(s1,s2,n) strncasecmp((s1),(s2),(n))
|
||||
|
||||
#define XSNPRINTF snprintf
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Enable Features */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#undef WOLFSSL_ASN_TEMPLATE
|
||||
#define WOLFSSL_ASN_TEMPLATE
|
||||
|
||||
#undef WOLFSSL_ASN_PRINT
|
||||
#define WOLFSSL_ASN_PRINT
|
||||
|
||||
#undef WOLFSSL_TLS13
|
||||
#if 1
|
||||
#define WOLFSSL_TLS13
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_KEY_GEN
|
||||
#if 1
|
||||
#define WOLFSSL_KEY_GEN
|
||||
#endif
|
||||
|
||||
#undef KEEP_PEER_CERT
|
||||
//#define KEEP_PEER_CERT
|
||||
|
||||
#undef HAVE_TLS_EXTENSIONS
|
||||
#define HAVE_TLS_EXTENSIONS
|
||||
|
||||
#undef HAVE_EXTENDED_MASTER
|
||||
#define HAVE_EXTENDED_MASTER
|
||||
|
||||
#undef HAVE_SUPPORTED_CURVES
|
||||
#define HAVE_SUPPORTED_CURVES
|
||||
|
||||
#undef WOLFSSL_BASE64_ENCODE
|
||||
#define WOLFSSL_BASE64_ENCODE
|
||||
|
||||
#undef WOLFSSL_NO_HASH_RAW
|
||||
#define WOLFSSL_NO_HASH_RAW
|
||||
|
||||
/* TLS Session Cache */
|
||||
#if 0
|
||||
#define SMALL_SESSION_CACHE
|
||||
#else
|
||||
#define NO_SESSION_CACHE
|
||||
#endif
|
||||
|
||||
#undef OPENSSL_EXTRA
|
||||
//#define OPENSSL_EXTRA
|
||||
|
||||
#undef WOLFSSL_DER_LOAD
|
||||
#define WOLFSSL_DER_LOAD
|
||||
|
||||
#undef HAVE_SESSION_TICKET
|
||||
#define HAVE_SESSION_TICKET
|
||||
|
||||
#undef HAVE_EX_DATA
|
||||
#define HAVE_EX_DATA
|
||||
|
||||
#undef HAVE_ENCRYPT_THEN_MAC
|
||||
#define HAVE_ENCRYPT_THEN_MAC
|
||||
|
||||
#undef WOLFSSL_CERT_GEN
|
||||
//#define WOLFSSL_CERT_GEN
|
||||
|
||||
#undef ATOMIC_USER
|
||||
#define ATOMIC_USER
|
||||
|
||||
#undef HAVE_SECRET_CALLBACK
|
||||
#define HAVE_SECRET_CALLBACK
|
||||
|
||||
/* wolfEngine */
|
||||
#if 1
|
||||
#define OPENSSL_COEXIST
|
||||
|
||||
/* HKDF for engine */
|
||||
#undef HAVE_HKDF
|
||||
#if 1
|
||||
#define HAVE_HKDF
|
||||
#define HAVE_X963_KDF
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_PUBLIC_MP
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
|
||||
#undef NO_OLD_RNGNAME
|
||||
#define NO_OLD_RNGNAME
|
||||
|
||||
#undef NO_OLD_WC_NAMES
|
||||
#define NO_OLD_WC_NAMES
|
||||
|
||||
#undef NO_OLD_SSL_NAMES
|
||||
#define NO_OLD_SSL_NAMES
|
||||
|
||||
#undef NO_OLD_SHA_NAMES
|
||||
#define NO_OLD_SHA_NAMES
|
||||
|
||||
#undef NO_OLD_MD5_NAME
|
||||
#define NO_OLD_MD5_NAME
|
||||
|
||||
#undef NO_OLD_SHA256_NAMES
|
||||
#define NO_OLD_SHA256_NAMES
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_SYS_CA_CERTS
|
||||
#define WOLFSSL_SYS_CA_CERTS
|
||||
|
||||
#undef LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
#define LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
|
||||
#undef HAVE_SERVER_RENEGOTIATION_INFO
|
||||
#define HAVE_SERVER_RENEGOTIATION_INFO
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Disable Features */
|
||||
@@ -135,27 +852,26 @@
|
||||
#define WOLFSSL_NO_SHAKE256
|
||||
|
||||
/* wolfSSL engineering ACVP algo and operational testing only (Default: Off) */
|
||||
#if 1
|
||||
#undef WOLFSSL_PUBLIC_MP
|
||||
#if 0
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
|
||||
#undef OPTEST_LOGGING_ENABLED
|
||||
//#define OPTEST_LOGGING_ENABLED
|
||||
|
||||
#undef OPTEST_INVALID_LOGGING_ENABLED
|
||||
//#define OPTEST_INVALID_LOGGING_ENABLED
|
||||
|
||||
#undef NO_MAIN_OPTEST_DRIVER
|
||||
#define NO_MAIN_OPTEST_DRIVER
|
||||
|
||||
#undef DEBUG_FIPS_VERBOSE
|
||||
#define NO_WRITE_TEMP_FILES
|
||||
#define WORKING_WITH_AEGISOLVE
|
||||
#define USE_CERT_BUFFERS_2048
|
||||
#define USE_CERT_BUFFERS_256
|
||||
#define OPTEST_LOGGING_ENABLED
|
||||
#define DEBUG_FIPS_VERBOSE
|
||||
|
||||
#undef HAVE_FORCE_FIPS_FAILURE
|
||||
#define OPTEST_RUNNING_ORGANIC
|
||||
#define OPTEST_INVALID_LOGGING_ENABLED
|
||||
#define HAVE_FORCE_FIPS_FAILURE
|
||||
|
||||
#undef NO_WRITE_TEMP_FILES
|
||||
#define NO_WRITE_TEMPT_FILES
|
||||
#define DEEPLY_EMBEDDED
|
||||
#define OPTEST_LOG_TE_MAPPING
|
||||
#define OEUP_V523
|
||||
#define FULL_SUBMISSION
|
||||
#define NO_MAIN_DRIVER
|
||||
#define WC_DECLARE_NOTOK
|
||||
#define PRINTING_ZS_CRASHES
|
||||
#define WOLFSSL_SMALL_STACK
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
166
IDE/WINCE/user_settings.h.140-2-deprecated
Normal file
166
IDE/WINCE/user_settings.h.140-2-deprecated
Normal file
@@ -0,0 +1,166 @@
|
||||
/* user_settings.h
|
||||
*
|
||||
* Copyright (C) 2006-2025 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfSSL.
|
||||
*
|
||||
* wolfSSL is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* wolfSSL is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
#if 1
|
||||
#define OPENSSL_COEXIST
|
||||
|
||||
/* HKDF for engine */
|
||||
#undef HAVE_HKDF
|
||||
#if 1
|
||||
#define HAVE_HKDF
|
||||
#define HAVE_X963_KDF
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_PUBLIC_MP
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
|
||||
#undef NO_OLD_RNGNAME
|
||||
#define NO_OLD_RNGNAME
|
||||
|
||||
#undef NO_OLD_WC_NAMES
|
||||
#define NO_OLD_WC_NAMES
|
||||
|
||||
#undef NO_OLD_SSL_NAMES
|
||||
#define NO_OLD_SSL_NAMES
|
||||
|
||||
#undef NO_OLD_SHA_NAMES
|
||||
#define NO_OLD_SHA_NAMES
|
||||
|
||||
#undef NO_OLD_MD5_NAME
|
||||
#define NO_OLD_MD5_NAME
|
||||
|
||||
#undef NO_OLD_SHA256_NAMES
|
||||
#define NO_OLD_SHA256_NAMES
|
||||
#endif
|
||||
|
||||
#undef WOLFSSL_SYS_CA_CERTS
|
||||
#define WOLFSSL_SYS_CA_CERTS
|
||||
|
||||
#undef LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
#define LIBWOLFSSL_GLOBAL_EXTRA_CFLAGS
|
||||
|
||||
#undef HAVE_SERVER_RENEGOTIATION_INFO
|
||||
#define HAVE_SERVER_RENEGOTIATION_INFO
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Disable Features */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
#undef NO_WOLFSSL_SERVER
|
||||
//#define NO_WOLFSSL_SERVER
|
||||
|
||||
#undef NO_WOLFSSL_CLIENT
|
||||
//#define NO_WOLFSSL_CLIENT
|
||||
|
||||
#undef NO_CRYPT_TEST
|
||||
//#define NO_CRYPT_TEST
|
||||
|
||||
#undef NO_CRYPT_BENCHMARK
|
||||
//#define NO_CRYPT_BENCHMARK
|
||||
|
||||
#undef WOLFCRYPT_ONLY
|
||||
#define WOLFCRYPT_ONLY
|
||||
|
||||
/* In-lining of misc.c functions */
|
||||
/* If defined, must include wolfcrypt/src/misc.c in build */
|
||||
/* Slower, but about 1k smaller */
|
||||
#undef NO_INLINE
|
||||
//#define NO_INLINE
|
||||
|
||||
#undef NO_FILESYSTEM
|
||||
//#define NO_FILESYSTEM
|
||||
|
||||
#undef NO_WRITEV
|
||||
//#define NO_WRITEV
|
||||
|
||||
#undef NO_MAIN_DRIVER
|
||||
#define NO_MAIN_DRIVER
|
||||
|
||||
#undef NO_DEV_RANDOM
|
||||
//#define NO_DEV_RANDOM
|
||||
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
||||
#undef NO_PSK
|
||||
#define NO_PSK
|
||||
|
||||
#undef NO_MD4
|
||||
#define NO_MD4
|
||||
|
||||
#undef NO_PWDBASED
|
||||
//#define NO_PWDBASED
|
||||
|
||||
#undef NO_CODING
|
||||
//#define NO_CODING
|
||||
|
||||
#undef NO_ASN_TIME
|
||||
//#define NO_ASN_TIME
|
||||
|
||||
#undef NO_CERTS
|
||||
//#define NO_CERTS
|
||||
|
||||
#undef NO_SIG_WRAPPER
|
||||
//#define NO_SIG_WRAPPER
|
||||
|
||||
#undef NO_DO178
|
||||
#define NO_DO178
|
||||
|
||||
#undef WOLFSSL_NO_SHAKE128
|
||||
#define WOLFSSL_NO_SHAKE128
|
||||
|
||||
#undef WOLFSSL_NO_SHAKE256
|
||||
#define WOLFSSL_NO_SHAKE256
|
||||
|
||||
/* wolfSSL engineering ACVP algo and operational testing only (Default: Off) */
|
||||
#if 1
|
||||
#undef WOLFSSL_PUBLIC_MP
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
|
||||
#undef OPTEST_LOGGING_ENABLED
|
||||
//#define OPTEST_LOGGING_ENABLED
|
||||
|
||||
#undef OPTEST_INVALID_LOGGING_ENABLED
|
||||
//#define OPTEST_INVALID_LOGGING_ENABLED
|
||||
|
||||
#undef NO_MAIN_OPTEST_DRIVER
|
||||
#define NO_MAIN_OPTEST_DRIVER
|
||||
|
||||
#undef DEBUG_FIPS_VERBOSE
|
||||
#define DEBUG_FIPS_VERBOSE
|
||||
|
||||
#undef HAVE_FORCE_FIPS_FAILURE
|
||||
#define HAVE_FORCE_FIPS_FAILURE
|
||||
|
||||
#undef NO_WRITE_TEMP_FILES
|
||||
#define NO_WRITE_TEMPT_FILES
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* WOLFSSL_USER_SETTINGS_H */
|
||||
@@ -512,7 +512,7 @@ extern "C" {
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
@@ -523,7 +523,7 @@ extern "C" {
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
@@ -524,7 +524,7 @@ extern "C" {
|
||||
#define USE_WOLF_STRTOK
|
||||
#define XSTRTOK(s1,d,ptr) wc_strtok((s1),(d),(ptr))
|
||||
|
||||
#define XSTRNSTR(s1,s2,n) mystrnstr((s1),(s2),(n))
|
||||
#define XSTRNSTR(s1,s2,n) wolfSSL_strnstr((s1),(s2),(n))
|
||||
|
||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user