Commit Graph

8 Commits (ada50d49dfd96efe00a102c80ae3159ea0028567)

Author SHA1 Message Date
Martin Kojtal 10c5138849 STM mbedtls: clear algo value for md5/sha1 and sha256
The hw block for mbedtls is shared, thus HASH algo value should be cleared
in the init.
2017-08-11 14:16:33 +01:00
adustm 431218e9d1 Check HASH is not busy before save/resteore context 2017-07-03 12:13:36 +01:00
adustm 09a50efd19 Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
Handle 64 bytes accumulation
2017-07-03 12:12:36 +01:00
adustm 600742b136 Remove trailing whitespace 2017-07-03 12:12:06 +01:00
adustm a8ab0e4290 SHA256: get ready to return error codes 2017-07-03 12:11:41 +01:00
adustm 6d0903b6bb Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE 2017-07-03 12:10:45 +01:00
adustm 8dc7851916 Align SHA256 with MD5 and SHA1 implementation
This will solve Size <4 issues
2017-07-03 12:10:15 +01:00
adustm 2300386b84 NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration 2017-07-03 12:09:14 +01:00