mbedtls/include/mbedtls
Manuel Pégourié-Gonnard 32df91183e Fix documentation of what functions restart when
The previous comment in ecp.h that only functions that take a "restart
context" argument can restart was wrong due to ECDH and SSL functions.
Changing that criterion to "document says if can return IN PROGRESS".

This requires updating the documentation of the SSL functions to mention this
explicitly, but it's something we really ought to do anyway, a bit
embarrassing that this wasn't done already - callers need to know what
`MBEDTLS_ERR_SSL_xxx` error codes to special-case. Note that the documentation
of the relevant functions was in a suboptimal state, so it was improved in the
process - it could use some more improvement, but only the changes that helped
cleanly insert the info about the IN_PROGRESS part were done here.

Also, while updating the ecp.h comment, I noticed several functions in the
ECDH module were wrongfully documented as restartable, which is probably a
left-over from the days before `mbedtls_ecdh_enable_restart()` was introduced.
Fixing that as well, to make the criterion used in ecp.h correct.
2018-10-15 14:41:16 +02:00
..
aes.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
aesni.h
arc4.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
aria.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
asn1.h Merge remote-tracking branch 'upstream-restricted/pr/398' into development-restricted-proposed 2018-03-13 17:18:06 +01:00
asn1write.h
base64.h
bignum.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
blowfish.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
bn_mul.h Correct logic to exclude i386 inline assenbly when -O0 2018-07-23 13:31:32 +01:00
camellia.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ccm.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
certs.h
chacha20.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
chachapoly.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
check_config.h Key wrapping API definition 2018-07-24 16:43:20 +01:00
cipher_internal.h Move definition to cipher.h 2018-07-01 10:22:53 +03:00
cipher.h Merge remote-tracking branch 'upstream-public/pr/1861' into development 2018-08-10 11:17:14 +01:00
cmac.h Remove unneeded namesapcing in header files 2018-06-24 16:56:47 +03:00
compat-1.3.h Let MBEDTLS_SSL_MAX_CONTENT_LEN to be split into outward & inward sizes 2018-06-18 20:51:51 +10:00
config.h Misc documentation fixes/improvements. 2018-10-15 13:22:41 +02:00
ctr_drbg.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
debug.h
des.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
dhm.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ecdh.h Fix documentation of what functions restart when 2018-10-15 14:41:16 +02:00
ecdsa.h Misc documentation fixes/improvements. 2018-10-15 13:22:41 +02:00
ecjpake.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ecp_internal.h Fix minor code style issues 2018-05-15 09:21:57 +01:00
ecp.h Fix documentation of what functions restart when 2018-10-15 14:41:16 +02:00
entropy_poll.h
entropy.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
error.h Update error.h count for SSL 2018-09-12 12:33:32 +02:00
gcm.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
havege.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
hkdf.h HKDF: Add warning to partial functions 2018-08-14 16:08:38 +01:00
hmac_drbg.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
md2.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
md4.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
md5.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
md_internal.h
md.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
memory_buffer_alloc.h
net_sockets.h Merge remote-tracking branch 'upstream-public/pr/1861' into development 2018-08-10 11:17:14 +01:00
net.h Remove unneeded namesapcing in header files 2018-06-24 16:56:47 +03:00
nist_kw.h Key wrapping API definition 2018-07-24 16:43:20 +01:00
oid.h Merge remote-tracking branch 'upstream-public/pr/1861' into development 2018-08-10 11:17:14 +01:00
padlock.h
pem.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
pk_internal.h Merge branch 'development' into iotssl-1260-non-blocking-ecc-restricted 2018-06-13 09:52:54 +02:00
pk.h Misc documentation fixes/improvements. 2018-10-15 13:22:41 +02:00
pkcs5.h
pkcs11.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
pkcs12.h
platform_time.h
platform_util.h Correct documentation of mbedtls_platform_gmtime_r() 2018-09-06 09:08:55 +01:00
platform.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
poly1305.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ripemd160.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
rsa_internal.h Merge remote-tracking branch 'upstream-public/pr/1457' into development-proposed 2018-04-04 09:19:27 +02:00
rsa.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
sha1.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
sha256.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
sha512.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ssl_cache.h
ssl_ciphersuites.h Declare ChaCha-Poly ciphersuites 2018-06-19 12:11:38 +02:00
ssl_cookie.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ssl_internal.h Merge branch 'development-restricted' into iotssl-1260-non-blocking-ecc-restricted 2018-09-11 12:39:14 +02:00
ssl_ticket.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
ssl.h Fix documentation of what functions restart when 2018-10-15 14:41:16 +02:00
threading.h Merge remote-tracking branch 'public/pr/1927' into development-restricted 2018-09-06 16:24:48 +01:00
timing.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00
version.h Update library version number to 2.13.1 2018-09-06 19:10:26 +01:00
x509_crl.h
x509_crt.h Misc documentation fixes/improvements. 2018-10-15 13:22:41 +02:00
x509_csr.h
x509.h
xtea.h Allow to forward declare of public structs #1215 2018-07-24 10:02:47 +02:00