mbedtls/include/mbedtls
Gilles Peskine 5460565be4 Fix errors in the definition of MBEDTLS_PK_SIGNATURE_MAX_SIZE
The initial value for the max calculation needs to be 0. The fallback
needs to come last. With the old code, the value was never smaller
than the fallback.

For RSA_ALT, use MPI_MAX_SIZE. Only use this if RSA_ALT is enabled.

For PSA, check PSA_ASYMMETRIC_SIGNATURE_MAX_SIZE, and separately check
the special case of ECDSA where PSA and mbedtls have different
representations for the signature.
2019-11-13 10:57:59 +01:00
..
aes.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
aesni.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
arc4.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
aria.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
asn1.h Fix typos in documentation 2019-10-04 11:35:09 +02:00
asn1write.h mbedtls_asn1_store_named_data: clarify val allocation behavior 2019-09-11 15:46:45 +02:00
base64.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
bignum.h Make GNUC-compatible compilers use the right mbedtls_t_udbl again on Aarch64 builds. 2019-09-02 13:44:57 +02:00
blowfish.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
bn_mul.h Fix -O0 build for Aarch64 bignum multiplication. 2019-09-02 13:44:57 +02:00
camellia.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
ccm.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
chacha20.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
chachapoly.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
check_config.h 3rdparty: Added config checks for Everest 2019-08-19 13:37:46 +01:00
cipher.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
cipher_internal.h Merge remote-tracking branch 'upstream-crypto/development' into psa-api-1.0-beta-merge_development_20190801 2019-07-31 17:47:49 +02:00
cmac.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
compat-1.3.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
config.h Add a note about CTR_DRBG security strength to config.h 2019-10-04 11:16:31 +02:00
ctr_drbg.h Note that mbedtls_ctr_drbg_seed() must not be called twice 2019-10-28 21:05:34 +01:00
des.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
dhm.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
ecdh.h Add mbedtls_ecdh_can_do 2019-08-19 13:37:46 +01:00
ecdsa.h ECDSA: Explain limitations of constant blinding 2019-09-05 11:18:58 +01:00
ecjpake.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
ecp.h Document that curve lists can include partially-supported curves 2019-08-19 13:37:46 +01:00
ecp_internal.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
entropy.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
entropy_poll.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
error.h Merge remote-tracking branch 'tls/development' into development 2019-07-31 10:37:53 +01:00
gcm.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
havege.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
hkdf.h Merge pull request #196 from RonEld/fix_license_header 2019-08-16 09:26:41 +01:00
hmac_drbg.h fixup! HMAC_DRBG: support set_entropy_len() before seed() 2019-10-23 19:46:55 +02:00
md.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
md2.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
md4.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
md5.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
md_internal.h Merge pull request #185 from gilles-peskine-arm/harvard-md 2019-09-10 18:38:39 +01:00
memory_buffer_alloc.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
nist_kw.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
oid.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
padlock.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
pem.h Merge remote-tracking branch 'tls/development' into development 2019-07-31 10:37:53 +01:00
pk.h Fix errors in the definition of MBEDTLS_PK_SIGNATURE_MAX_SIZE 2019-11-13 10:57:59 +01:00
pk_internal.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
pkcs5.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
pkcs12.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
platform.h Merge remote-tracking branch 'tls/development' into development 2019-07-31 10:37:53 +01:00
platform_time.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
platform_util.h Merge remote-tracking branch 'tls/development' into development 2019-07-31 10:37:53 +01:00
poly1305.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
psa_util.h Merge remote-tracking branch 'upstream-crypto/development' into psa-api-1.0-beta-merge_development_20190801 2019-07-31 17:47:49 +02:00
ripemd160.h Enable ALT implementations of ripemd160 2019-07-15 15:52:25 +01:00
rsa.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
rsa_internal.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
sha1.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
sha256.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
sha512.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
threading.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
timing.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
version.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00
xtea.h Use mbedtls-based path for includes 2019-07-15 15:52:25 +01:00