Rainer Clasen 59337b19fe Memory optimizations in signing (#874)
* Sha256 driver cosmetics

cosmetic cleanups:
- use actual define that was used to allocate the array
- remove unused file globals

* Save memory by eliminating sha256_hash array

eliminated sha256_hash array to save memory. Instead pass the
Sha256Class result pointer.

There seems to be no use for the extra sha256_hash array as it was
zeroed exactly at the same time, the Sha256Class result was invalidated
(by calling signerSha256Init)

If the result needs to stay around while another sha is calculated,
it's better to have the user taking care of this.

* Moved hmac methods and buffers to separate class

This allows saving the buffer memory if no hmac is needed ... eg. with
the public Signing API.
2017-06-07 08:25:56 +02:00
2016-11-19 11:49:18 -02:00
2017-03-07 18:55:40 +01:00
2017-05-31 17:13:29 +02:00
2016-07-22 19:23:39 +02:00
2017-05-14 11:53:01 +02:00
2017-05-14 11:53:01 +02:00
2017-04-19 22:03:10 +02:00
2017-05-31 17:13:29 +02:00
2017-05-21 08:43:26 +02:00
2017-01-19 19:13:09 +01:00

MySensors Library v2.2.0-beta

Please visit www.mysensors.org for more information

Doxygen

master development

CI statuses

Current build status of master branch: Build Status

Current build status of development branch: Build Status

Current build status of master branch (nightly build of Arduino IDE): Build Status

Current build status of development branch (nightly build of Arduino IDE): Build Status

S
Description
No description provided
Readme
21 MiB
Languages
C++ 55.8%
C 39.7%
Groovy 3.2%
Shell 0.9%
Makefile 0.3%