utzig opened a new pull request #2494:
URL: https://github.com/apache/mynewt-core/pull/2494


   apps: hash_test: add single byte multi-write test - Expand string stream 
test to also run on SHA-224 (when available). Add new single byte multi-write 
test, where a single "a" is written 256 times, running on both SHA-224 and 
SHA-256 (where available).
   
   hw: drivers: hash_stm32: fix stream support - The STM32 HASH HW is 
configured to work on a word (32-bit) write, and the only write that can be 
less than 4-bytes is the last write (_finish()). To be compatible with streams 
that are non word-boundary sized, a new pad (aka state) was added that caches 
writes that are less than 4 byte, so only words are ever written in an 
_update(), and _finish() flushes the remaining bytes that were less than 
4-bytes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to