Ron Eldor
9f4e752ef3
Modify HW accelerator drivers to new error code
...
Have the HW accelearation drivers return the platform module
errors about feature unsupported, and hw acceleration failure,
because the moduel specific errors will be removed.
2018-11-11 09:59:18 +02:00
jeromecoutant
057142167b
TARGET_STM mbedtls astyle
2018-06-27 15:00:04 +02:00
Krzysztof Stachowiak
6370a3500d
Correct typos and code alignment
2018-02-28 17:03:47 +01:00
Krzysztof Stachowiak
9d5d60b62e
Adjust partner code for MD HW acceleration to new MD API
2018-02-28 10:02:56 +01:00
Martin Kojtal
414b2d971d
Revert "Update Mbed TLS HW acceleration partner code to new hashing API"
2018-02-22 11:20:35 +00:00
Krzysztof Stachowiak
174530b5fe
Resolve conflicts after master update
2018-02-01 14:30:56 +01:00
Krzysztof Stachowiak
876a3b1a74
Update Mbed TLS HW acceleration partner code to new hashing API
2018-01-30 14:49:53 +01:00
adustm
53027fd590
Improve fix calling Accumulate function every time in finish function
2018-01-30 09:41:23 +01:00
adustm
3250e2d6d4
Fix #5079 . Add the support of call to mbedtls_xxx_finish even if mbedtls_xxx_udate
...
was not called since mbedtls_xxx_start
2018-01-30 09:41:23 +01:00
Martin Kojtal
744c364683
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-09 07:45:20 +01:00
adustm
a27498c44a
Check HASH is not busy before save/resteore context
2017-06-16 10:48:41 +02:00
adustm
021b84a140
Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
...
Handle 64 bytes accumulation
2017-06-16 10:47:31 +02:00
adustm
f1704733af
Remove trailing whitespace
2017-06-16 10:47:18 +02:00
adustm
80b58614a2
SHA256: get ready to return error codes
2017-06-16 10:47:07 +02:00
adustm
b929b54b7c
Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE
2017-06-16 10:46:56 +02:00
adustm
4976e2f3c7
Align SHA256 with MD5 and SHA1 implementation
...
This will solve Size <4 issues
2017-06-16 10:43:54 +02:00
adustm
0805876e0b
NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration
2017-06-16 10:43:43 +02:00