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
adustm
5c858a456e
remove mbedtls_printf error notification
2017-02-28 18:07:20 +01:00
adustm
d73088a90e
Big commit after code review from andesag01
...
cleanup in include files (unrequired removed + other moved to aes_alt.h)
hcryp_aes moved to mbedtls_aes_context to allow multi instances
remove ctx->nr, ctx->buf
doxygen comments are removed (kept in .h file)
function _ALT are removed (full module _ALT)
handle error returned by HAL_CRYPxx functions
aes is symetric, remove the dupplicated set_key_enc and set_key_dec
buffer, and factorize the call to set_key function
2017-02-28 16:42:06 +01:00
adustm
fe1e7aac98
Better use of MBEDTLS_AES_ALT
...
removed from targets.json, added in mbedtls_device.h
remove function alternate defines (not used as we replace the full
module)
2017-02-28 16:42:03 +01:00
adustm
fa8f6e4a86
Add AES_CBC mode
2017-02-28 16:42:01 +01:00
adustm
35bf8e17e6
AES ECB for NUCLEO_F439ZI
...
+---------------------------+--------+--------+--------+
| test case | passed | failed | result |
+---------------------------+--------+--------+--------+
| mbedtls_aes_self_test | 1 | 0 | OK |
| mbedtls_entropy_self_test | 1 | 0 | OK |
| mbedtls_sha256_self_test | 1 | 0 | OK |
| mbedtls_sha512_self_test | 1 | 0 | OK |
+---------------------------+--------+--------+--------+
2017-02-28 16:41:16 +01:00