Maxim Prokhorov
19b7a29720
Migrate from astyle to clang-format ( #8464 )
2022-03-04 02:28:47 +03:00
Dirk Mueller
1d26b28225
Remove duplicated sha1 implementation ( Fixes #6568 ) ( #6569 )
...
* Remove duplicated sha1 implementation (Fixes #6568 )
The Hash library had its own copy of a loop-unrolled sha1 implementation
adding a large code footprint for no good reason, as there are several
sha1 implementations already in tree (one in NONOS-SDK as well as one
in bearssl). Switching to the bearssl one is straightforward and removes
about 3kb of code size overhead.
Also cleanup some obvious inefficiencies (copy by value, string
summing, no reservation causing repeated reallocations) in the
implementation.
* Remove overload variants for sha1(...) that accept nonconst data
The data is always remaining unmodified, so non-const overloads
are confusing and redundant. Also optimize the hexify variant
a bit more.
2019-09-30 20:58:09 -07:00
Allman-astyler
eea9999dc5
Revert "Allman now ( #6080 )" ( #6090 )
...
This reverts commit 98125f88605cd7e46e9be4e1b3ad0600dd5d2b51.
2019-05-14 00:09:54 +02:00
Allman-astyler
98125f8860
Allman now ( #6080 )
...
* switch restyle script for CI
* remove confirmation
* restyle with allman
2019-05-13 16:41:34 +02:00
per1234
4e3af9795b
Add missing keywords.txt files to bundled libraries ( #5183 )
2018-09-29 10:48:23 -07:00
yoursunny
0da54d88a9
Hash: make actual SHA1 result and comment consistent ( #5057 )
...
fixes #3437
2018-08-25 23:24:23 -04:00
david gauchard
85e68093e9
Automatic stack location selection (SYS or HEAP), enable per library AR-chive in arduino build system ( #5018 )
...
Automatic stack location selection (SYS or HEAP), enable per library AR-chive in arduino build system
* enable dot_a_linkage on internal libraries
* add device tests
* boards generator: deprecate --noextra4k/--allowWPS and fix documentation
2018-08-20 14:35:52 +02:00
Ivan Grokhotkov
61cd8d8385
examples: format all .ino files
...
This formats all the example source files using Arduino style rules.
2018-03-08 14:32:06 +08:00
Marvin Roger
1071e8ada1
Add libraries categories
2015-11-02 19:23:26 +01:00
Ivan Grokhotkov
496da02f14
Verify sketches as part of travis build
...
Squashed commits:
[7d1b42f] Encrypt token, skip some tests
[17b8f39] Fix sha1 example path
[f3050b1] Fix build, add webhook
[fd2c9bd] Fix build errors, update mDNS library readme
[7b87031] Make common.sh more flexible
[3ba3eb2] Test all sketches
[87beb8a] Build all sketches in esp8266 core
[f2464f1] Fix paths
[823a9ae] Remove sudo usage
[7fce734] Fix arduino commands
[619bc7d] Move all commands into travis script
[15a5ada] First attempt test runner
2015-07-23 16:06:07 +03:00
Markus Sattler
4015a47b08
add one missing const
2015-05-20 20:04:15 +02:00
Markus Sattler
a0b1dff542
code style
2015-05-20 19:48:24 +02:00
Markus Sattler
4b786d0df6
add more functions to handle sha1 in differed cases
2015-05-20 19:41:40 +02:00
Markus Sattler
495e21d53e
missed rename
2015-05-20 19:20:17 +02:00
Markus Sattler
4b1c99af44
the sha1 functions are part of the SDK so remove sha1.c
2015-05-20 19:17:25 +02:00
Markus Sattler
661c7075b7
add Hash library currently supports SHA1
2015-05-20 18:57:42 +02:00