Files
mbedtls/library
Hanno Becker 62a44d43b0 Allow defining MD information structs through macros
In builds enabling only a single MD digest, we want to be able to
implement the MD info getter functions by returning compile-time
constants matching the fields of the MD info structures used so far.

To avoid information duplication hardening maintainability, this
commit introduces the possibility of providing the various aspects
of a particular digest implementation by defining macros
MBEDTLS_MD_INFO_DIGEST_FIELD (e.g. MBEDTLS_MD_INFO_SHA256_SIZE)
and to generate the corresponding mbedtls_md_info instance from
this set of macros, via the new macro MBEDTLS_MD_INFO().

This way, we'll be able to switch between MD info based builds
and single-digest builds without information duplication.
2019-09-09 09:45:57 +01:00
..
2019-02-11 21:13:33 +00:00
2019-04-24 10:51:54 +02:00
2019-04-24 10:51:54 +02:00
2019-09-09 09:45:57 +01:00
2019-04-24 10:51:54 +02:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-04-24 10:51:54 +02:00
2019-04-24 10:51:54 +02:00
2018-11-06 13:12:47 +00:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-04 16:17:45 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-04 16:17:45 +01:00
2019-04-24 10:51:54 +02:00
2019-04-24 10:51:54 +02:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-06-20 16:33:02 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00