mbedtls/library
Manuel Pégourié-Gonnard 045f094c81 Add dummy constant-flow HMAC function with tests
The dummy implementation is not constant-flow at all for now, it's just
here as a starting point and a support for developing the tests and putting
the infrastructure in place.

Depending on the implementation strategy, there might be various corner cases
depending on where the lengths fall relative to block boundaries. So it seems
safer to just test all possible lengths in a given range than to use only a
few randomly-chosen values.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-07-15 12:25:52 +02:00
..
.gitignore Split libs with make + general make cleanups 2015-06-25 10:59:56 +02:00
aes.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aesni.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
arc4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aria.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1parse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1write.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
base64.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
bignum.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
blowfish.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
camellia.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ccm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
certs.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chacha20.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chachapoly.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher_wrap.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cmac.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
CMakeLists.txt Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
common.h New header common.h; define MBEDTLS_STATIC_TESTABLE 2020-03-24 22:57:11 +01:00
ctr_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
debug.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
des.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
dhm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecdh.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecdsa.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecjpake.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecp.c Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
ecp_curves.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
entropy.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
entropy_poll.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
error.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
gcm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
havege.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hkdf.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hmac_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
Makefile Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
md.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md2.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
memory_buffer_alloc.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
net_sockets.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
nist_kw.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
oid.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
padlock.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pem.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pk.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pk_wrap.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkcs5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkcs11.c Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
pkcs12.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkparse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkwrite.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
platform.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
platform_util.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
poly1305.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_core.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_invasive.h Add a facility to configure entropy sources 2018-11-23 22:58:38 +01:00
psa_crypto_its.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_se.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_se.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_service_integration.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_slot_management.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_slot_management.h Merge pull request #3382 from stevew817/feature/volatile-keys-in-SE 2020-06-26 20:27:11 +02:00
psa_crypto_storage.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_storage.h Switch storage functions over to psa_core_key_attributes_t 2019-07-31 14:15:27 +02:00
psa_its_file.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
ripemd160.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa_internal.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha1.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha256.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha512.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cache.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ciphersuites.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cli.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cookie.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_invasive.h Add dummy constant-flow HMAC function with tests 2020-07-15 12:25:52 +02:00
ssl_msg.c Add dummy constant-flow HMAC function with tests 2020-07-15 12:25:52 +02:00
ssl_srv.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ticket.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_tls.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
threading.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
timing.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
version.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
version_features.c Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
x509.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_create.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_crl.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_csr.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_csr.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
xtea.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00