mbedtls/tests
Manuel Pégourié-Gonnard 4772884133 New internal module for managing hash information
Using static inline functions is bad for code size; the function from
md_internal.h was already used from 3 different C files, so already was
copied at least 3 times in the library, and this would only get worse
over time.

Use actual functions, and also share the actual data between them.

Provide a consistent set of operations. Conversion to/from
human-readable string was omitted for now but could be added later if
needed.

In the future, this can be used to replace other similar (inline)
functions that are currently scattered, including (but perhaps not
limited to):
- mbedtls_psa_translate_md() from psa_util.h
- mbedtls_md_info_from_psa() (indirectly) from psa_crypto_hash.h
- get_md_alg_from_psa() from psa_crypto_rsa.c

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-07-18 21:28:38 +02:00
..
.jenkins
configs
data_files Fix parsing of special chars in X509 DN values 2022-06-27 11:19:50 +01:00
docker/bionic
git-scripts
include Merge pull request #5834 from mprse/HKDF_1 2022-06-20 15:27:46 +02:00
opt-testcases Refactor compat scripts 2022-06-12 20:53:02 +08:00
scripts Build with SHA-256 accelerated too 2022-07-12 11:11:20 +02:00
src Initilize variable 2022-07-01 15:06:34 +02:00
suites New internal module for managing hash information 2022-07-18 21:28:38 +02:00
.gitignore
CMakeLists.txt
compat-in-docker.sh
compat.sh
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile
ssl-opt-in-docker.sh
ssl-opt.sh Merge remote-tracking branch 'mbedtls-restricted/development-restricted' into mbedtls-3.2.0rc0-pr 2022-07-11 10:22:37 +02:00