mbedtls/include/mbedtls
Hanno Becker 7ea4b4d70a Add macro for bounds checking
This commit adds a macro for buffer bounds checks in the SSL
module. It takes the buffer's current and end position as the
first argument(s), followed by the needed space; if the
available space is too small, it returns an SSL_BUFFER_TOO_SMALL
error.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2020-06-11 14:21:24 +02:00
..
aes.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
aesni.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
arc4.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
aria.h Leave behaviour on NULL input unspecified in ARIA 2018-12-19 12:51:00 +00:00
asn1.h
asn1write.h Improve macro hygiene 2019-04-24 10:51:54 +02:00
base64.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
bignum.h Bignum: Document assumptions about the sign field 2019-11-11 12:32:12 +00:00
blowfish.h Minor Blowfish documentation improvements 2018-12-19 15:48:37 +00:00
bn_mul.h bn_mul.h: require at least ARMv6 to enable the ARM DSP code 2019-08-03 14:22:32 +02:00
camellia.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
ccm.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
certs.h Document origin of hardcoded certificates in library/certs.c 2019-05-30 10:27:49 +01:00
chacha20.h Minor improvements to ChaCha20/Poly1305/ChaChaPoly documentation 2018-12-18 15:30:30 +00:00
chachapoly.h Minor improvements to ChaCha20/Poly1305/ChaChaPoly documentation 2018-12-18 15:30:30 +00:00
check_config.h Add additional sanity checks to check_config.h 2020-03-28 00:35:38 +00:00
cipher_internal.h
cipher.h Fix include file path 2018-12-28 11:11:10 +08:00
cmac.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
compat-1.3.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
config.h Add a note about CTR_DRBG security strength to config.h 2019-10-04 11:21:25 +02:00
ctr_drbg.h Note that mbedtls_ctr_drbg_seed() must not be called twice 2019-10-28 21:15:46 +01:00
debug.h Debug: Add functions for ECDH contexts 2018-12-06 12:22:46 +00:00
des.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
dhm.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
ecdh.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
ecdsa.h Add a safer deterministic ECDSA function 2019-03-06 14:41:44 +00:00
ecjpake.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
ecp_internal.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
ecp.h Fix typo in documentation 2019-02-21 16:58:20 +01:00
entropy_poll.h
entropy.h
error.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
gcm.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
havege.h Include configuration file for all headers 2018-12-16 12:14:37 +02:00
hkdf.h Fix the license header of hkdf 2019-07-31 14:04:38 +03:00
hmac_drbg.h HMAC_DRBG: support set_entropy_len() before seed() 2019-10-23 18:00:03 +02:00
md2.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
md4.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
md5.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
md_internal.h
md.h Deprecate hardware acceleration errors 2018-11-09 15:01:07 +00:00
memory_buffer_alloc.h
net_sockets.h
net.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
nist_kw.h Include configuration file for all headers 2018-12-16 12:14:37 +02:00
oid.h
padlock.h Improve macro hygiene 2019-04-24 10:51:54 +02:00
pem.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
pk_internal.h
pk.h Add documentation notes about the required size of the signature buffers 2019-06-06 13:13:54 +02:00
pkcs5.h Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16 2019-01-30 16:09:08 +00:00
pkcs11.h
pkcs12.h Include configuration file for all headers 2018-12-16 12:14:37 +02:00
platform_time.h
platform_util.h Make it easier to define MBEDTLS_PARAM_FAILED as assert 2019-06-17 19:07:42 +02:00
platform.h Add common feature unavailable error 2018-11-09 13:57:37 +00:00
poly1305.h Fix include file path 2018-12-28 11:11:10 +08:00
ripemd160.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
rsa_internal.h
rsa.h Merge remote-tracking branch 'restricted/pr/582' into mbedtls-2.16-restricted 2019-06-24 11:40:59 +01:00
sha1.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
sha256.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
sha512.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00
ssl_cache.h Include configuration file for all headers 2018-12-16 12:14:37 +02:00
ssl_ciphersuites.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
ssl_cookie.h Include configuration file to headers 2018-12-16 12:02:50 +02:00
ssl_internal.h Add macro for bounds checking 2020-06-11 14:21:24 +02:00
ssl_ticket.h Fix #2370, minor typos and spelling mistakes 2019-02-18 14:50:57 +00:00
ssl.h Merge remote-tracking branch 'origin/pr/2450' into mbedtls-2.16 2019-06-21 15:59:29 +01:00
threading.h Deprecate hardware acceleration errors 2018-11-09 15:01:07 +00:00
timing.h
version.h Bump version to Mbed TLS 2.16.6 2020-04-08 17:17:27 +01:00
x509_crl.h Fix #2370, minor typos and spelling mistakes 2019-02-18 14:50:57 +00:00
x509_crt.h Improve macro hygiene 2019-04-24 10:51:54 +02:00
x509_csr.h Improve docs for ASN.1 bitstrings and their usage 2019-02-11 21:25:09 +00:00
x509.h Fix #2370, minor typos and spelling mistakes 2019-02-18 14:50:57 +00:00
xtea.h Merge remote-tracking branch 'public/pr/975' into mbedtls-2.16 2019-01-08 16:34:19 +00:00