Commit Graph

17 Commits (8e11541a747cd1c4b6ccfbb6385c925d601fb9a5)

Author SHA1 Message Date
Janos Follath e9144ad771 Apply new naming convention to mbed TLS macros 2016-11-18 15:01:01 +00:00
Janos Follath 9137574e4d Move mbed TLS configuration symbol to macro section
The configuration option for the mbed TLS specific hardware acceleration
has to be in the macro section and not in the device capabilities
section in targets.json.

The option has also been renamed to better reflect its function.
2016-11-18 09:55:16 +00:00
Janos Follath 80aedd2f39 Move crypto hardware acceleration configuration
The crypto hardware acceleration might require defining a lot of mbed
TLS specific macros. Enumerating all of them in `targets.json` creates
too much noise, therefore we move it into a target specific mbed TLS
header.

The target with crypto hardware acceleration has to
        - indicate its capability in `targets.json` by adding "CRYPTO"
          to the "device_has" section
        - has to define his crypto hardware acceleration related macros
          in an `mbedtls_device.h` header
        - place the `mbedtls_device.h` file in the
          `features/mbedtls/targets/TARGET_XXXX`
          directory specific to the target
2016-11-17 14:38:04 +00:00
Andres AG 509a72ca81 Add checks for NULL_ENTROPY and SSL_TLS in mbed OS 2016-10-20 17:07:32 +01:00
Andres AG 57814ddbbc Update feature/mbedtls to version 2.4.0 2016-10-17 13:32:25 +01:00
Andres AG 2ff5400158 Update to mbed TLS release candidate 2016-10-14 09:03:05 +01:00
Andres AG 39c95e0e2f Sync mbed TLS with development HEAD
Update the current version of mbed TLS with the development HEAD of the
mbed TLS project repository. This mostly includes the latest CMAC
feature. Also, update the version in the importer Makefile and
VERSION.txt with the hash of the mbed TLS commit that was sync'ed.
2016-10-06 16:29:41 +01:00
Andres AG 916ce43ffa Fix mbedtls user config and null entropy 2016-10-05 11:04:35 +01:00
Andres AG 11ee1de620 Update feature/mbedtls with mbedtls' development HEAD 2016-09-28 09:26:02 +01:00
Andres AG 21a7b1de04 Modify mbedtls scripts to add config-no-entropy.h 2016-09-27 16:19:39 +01:00
Martin Kojtal 1b95c67dd2 mbedtls trng - remove MBEDTLS_ENTROPY_HARDWARE_ALT
MBEDTLS_ENTROPY_HARDWARE_ALT will be defined via config in mbedtls,
the mbed wrapper should use DEVICE_TRNG.
2016-09-27 09:16:28 +01:00
Martin Kojtal 1f8da7da34 mbedtls - move TRNG mbed impl into platform folder 2016-09-27 09:14:42 +01:00
Martin Kojtal ea1041ea36 HAL - RNG rename to TRNG 2016-09-27 09:13:59 +01:00
Martin Kojtal e8ca16dde7 RNG - rename rng_get_numbers to rng_get_bytes 2016-09-27 08:51:49 +01:00
Martin Kojtal ee344abd34 mbedtls - mbed wrapper rename to mbed_rng 2016-09-27 08:51:47 +01:00
Martin Kojtal 7d68492bef mbedtls: add wrapper for mbed hw poll
This wrapper uses RNG HAL API
2016-09-27 08:51:34 +01:00
Sam Grove 4794bc87e3 Update mbed TLS to version 2.3.0 2016-07-23 00:13:43 -05:00