Commit Graph

72 Commits (10e14d0ca1dbeba4f1842f1331966d9546bbe6cd)

Author SHA1 Message Date
ccli8 2b36413cfb Conform to mbed TLS H/W acceleration support 2017-08-25 11:53:03 +01:00
ccli8 a72c7166ee Fix compile warnings with IAR toolchain 2017-08-25 11:53:02 +01:00
ccli8 ba0f0336d9 Fix compile warnings with GCC_ARM toolchain 2017-08-25 11:53:02 +01:00
cyliangtw 3fae7a0e9d Revise CAN & AES to fulfill real-chip 2017-08-25 11:53:01 +01:00
ccli8 45de390823 Conform to mbed TLS H/W acceleration support released with mbed OS 5.3 2017-08-25 11:53:00 +01:00
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
Martin Kojtal b77d90573d STM32F4: remove md5 from the mbedtls config file 2017-08-11 14:16:33 +01:00
adustm 9e8c8d695d Add a check 'non busy' status of the HW before save restore procedures 2017-08-11 14:16:33 +01:00
adustm 9b59f00958 Handle context swap + Modify macro name ST_MD5_BLOCK_SIZE 2017-08-11 14:16:33 +01:00
adustm d4d7dad045 Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json 2017-08-11 14:16:33 +01:00
adustm 11c7906546 Replace 64 by a define 2017-08-11 14:16:33 +01:00
adustm 5d6f132d2d Improve md5 buffer storing concept 2017-08-11 14:16:33 +01:00
adustm 77ac355864 Fix use case with size = 0 (md5_selftest #1) 2017-08-11 14:16:33 +01:00
adustm 2d83ea6136 Handle 64bytes per 64 bytes + remove unused includes files 2017-08-11 14:16:33 +01:00
adustm 166a130e5d Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef __cplusplus 2017-08-11 14:16:32 +01:00
adustm 0060d8bbd0 Remove unnecessary functions in md5_alt.h file 2017-08-11 14:16:32 +01:00
adustm 58a1c69600 Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json 2017-08-11 14:16:32 +01:00
adustm b84f5d1d7d NUCLEO_F756ZG/mbedtls : MD5 hw activation 2017-08-11 14:16:32 +01:00
adustm 5d7e2902d2 NUCLEO_F756ZG/mbedTLS: sha256 hw acceleration 2017-08-11 14:16:32 +01:00
andreas.larsson 428fce0283 Renamed so that we have one configuration for all STM32F439 targets. 2017-08-11 14:16:32 +01:00
adustm b371bf463e Remove MBEDTLS_SHA1_C 2017-08-11 14:16:32 +01:00
adustm ab8819f4eb NUCLEO_F756ZG/mbedTLS : add hw acceleration for SHA1 2017-08-11 14:16:32 +01:00
adustm 2d259e0a6d fix typo in directory name 2017-07-28 14:46:20 +01:00
adustm a1810d4aec Add AES HW encryption for NUCLEO_F756ZG in mbedtls 2017-07-28 14:46:20 +01:00
adustm af8c6bd6a2 Move definitions in aes_alt.c + Factorize code 2017-07-14 15:13:29 +01:00
adustm b7b9444f76 STM32L486RG/mbedtls: add aes hw acceleration 2017-07-14 15:13:29 +01:00
adbridge 7b33104d11 Re-add #define previously removed 2017-07-03 12:24:22 +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
adustm 451eb33ec7 Check that the HASH is not busy before save and restore iHW registers 2017-07-03 11:46:56 +01:00
adustm 7e864de0cc handle context swap + change macro name 2017-07-03 11:46:55 +01:00
adustm 9a8f5a7ef3 replace 64 by define 2017-07-03 11:46:55 +01:00
adustm 1bea47d976 Remove tabs, fix doxygen comments 2017-07-03 11:46:54 +01:00
adustm 95beb43bda Rework SHA1 update for buffer <4 bytes management 2017-07-03 11:46:54 +01:00
adustm f4287fd7db Handle 64 bytes buffers 2017-07-03 11:46:54 +01:00
adustm 3d3affadd2 Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json 2017-07-03 11:46:53 +01:00
adustm 284b230cc6 Improve memory management 2017-07-03 11:46:53 +01:00
adustm 726c313d56 Remove unneeded function declarations + include file Move include platform from sha1_alt.h to sha1_alt.c 2017-07-03 11:46:53 +01:00
adustm 57996887da Better explanation of the use of mbedtls_sha1_context fields 2017-07-03 11:46:53 +01:00
adustm bc3bf9f3f4 use mbedtls_zeroize instead of memset(xxx,0,xxx) 2017-07-03 11:46:52 +01:00
adustm fbab24db6b NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration 2017-07-03 11:46:52 +01:00
Hanno Becker ddb7cef907 Update mbed TLS to version 2.5.0 2017-05-17 15:42:07 +01:00
Hanno Becker e9e3040297 Update mbed TLS to version 2.5.0-rc1 2017-05-15 17:07:30 +01:00
Anna Bridge e743a26f94 Merge pull request #3691 from adustm/STM_aes_f439zi
[TLS / hw acceleration] AES ECB for NUCLEO_F439ZI
2017-03-14 14:32:25 +00:00
Andres AG 1c8d7c1115 Update mbed TLS feature to mbedtls-2.4.2 2017-03-08 15:56:59 +00:00