mbedtls/include/mbedtls
Gilles Peskine b44692f126 Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9
Conflict resolution:
* ChangeLog: put the new entry from my branch in the proper place.
* include/mbedtls/error.h: counted high-level module error codes again.
* include/mbedtls/ssl.h: picked different numeric codes for the
  concurrently added errors; made the new error a full sentence per
  current standards.
* library/error.c: ran scripts/generate_errors.pl.
* library/ssl_srv.c:
    * ssl_prepare_server_key_exchange "DHE key exchanges": the conflict
      was due to style corrections in development
      (4cb1f4d49c) which I merged with
      my refactoring.
    * ssl_prepare_server_key_exchange "For key exchanges involving the
      server signing", first case, variable declarations: merged line
      by line:
        * dig_signed_len: added in async
        * signature_len: removed in async
        * hashlen: type changed to size_t in development
        * hash: size changed to MBEDTLS_MD_MAX_SIZE in async
        * ret: added in async
    * ssl_prepare_server_key_exchange "For key exchanges involving the
      server signing", first cae comment: the conflict was due to style
      corrections in development (4cb1f4d49c)
      which I merged with my comment changes made as part of refactoring
      the function.
    * ssl_prepare_server_key_exchange "Compute the hash to be signed" if
      `md_alg != MBEDTLS_MD_NONE`: conflict between
      ebd652fe2d
      "ssl_write_server_key_exchange: calculate hashlen explicitly" and
      46f5a3e9b4 "Check return codes from
      MD in ssl code". I took the code from commit
      ca1d742904 made on top of development
      which makes mbedtls_ssl_get_key_exchange_md_ssl_tls return the
      hash length.
* programs/ssl/ssl_server2.c: multiple conflicts between the introduction
  of MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS and new auxiliary functions and
  definitions for async support, and the introduction of idle().
    * definitions before main: concurrent additions, kept both.
    * main, just after `handshake:`: in the loop around
      mbedtls_ssl_handshake(), merge the addition of support for
      MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS and SSL_ASYNC_INJECT_ERROR_CANCEL
      with the addition of the idle() call.
    * main, if `opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM`: take the
      code from development and add a check for
      MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS.
    * main, loop around mbedtls_ssl_read() in the datagram case:
      take the code from development and add a check for
      MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS; revert to a do...while loop.
    * main, loop around mbedtls_ssl_write() in the datagram case:
      take the code from development and add a check for
      MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS; revert to a do...while loop.
2018-04-26 10:00:27 +02:00
..
aes.h Update aes.h 2018-04-16 09:35:15 +01:00
aesni.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
arc4.h Add documentation warnings for weak algorithms 2018-01-30 14:40:10 +00: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 Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
base64.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
bignum.h Clarify the behavior of bignum resize and copy functions 2018-03-21 16:28:41 +01:00
blowfish.h Error codes for hardware accelerator failures 2018-01-26 17:56:38 +01:00
bn_mul.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
camellia.h Error codes for hardware accelerator failures 2018-01-26 17:56:38 +01:00
ccm.h Fix doxygen documentation for CCM encryption 2018-02-07 10:29:27 +01:00
certs.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
check_config.h Move and reword deprecation warning/error on compression support 2018-03-08 13:26:12 +00:00
cipher_internal.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
cipher.h Merge remote-tracking branch 'upstream-public/pr/1336' into development 2018-01-30 17:28:31 +00:00
cmac.h Update cmac.h 2018-04-16 11:11:25 +01:00
compat-1.3.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
config.h Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9 2018-04-26 10:00:27 +02:00
ctr_drbg.h Update ctr_drbg.h 2018-04-16 14:51:52 +01:00
debug.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
des.h Add documentation warnings for weak algorithms 2018-01-30 14:40:10 +00:00
dhm.h dhm: Fix typo in RFC 5114 constants 2018-02-08 14:29:14 +00:00
ecdh.h Update ecdh.h 2018-04-16 16:04:57 +01:00
ecdsa.h Clarify the use of MBEDTLS_ERR_PK_SIG_LEN_MISMATCH 2018-03-30 18:43:16 +02:00
ecjpake.h Add support for alternative ECJPAKE implementation 2018-01-24 10:36:22 +00:00
ecp_internal.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
ecp.h Merge branch 'pr_348' into development-proposed 2018-04-04 09:18:27 +02:00
entropy_poll.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
entropy.h Merge remote-tracking branch 'upstream-public/pr/1294' into development 2018-01-25 14:47:39 +00:00
error.h Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9 2018-04-26 10:00:27 +02:00
gcm.h Improve GCM documentation 2018-01-30 16:22:05 +00:00
havege.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
hmac_drbg.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
md2.h MD: Make deprecated functions not inline 2018-02-22 10:24:30 +00:00
md4.h MD: Make deprecated functions not inline 2018-02-22 10:24:30 +00:00
md5.h MD: Make deprecated functions not inline 2018-02-22 10:24:30 +00:00
md_internal.h Merge remote-tracking branch 'upstream-public/pr/1294' into development 2018-01-25 14:47:39 +00:00
md.h Update md.h 2018-04-16 16:31:16 +01:00
memory_buffer_alloc.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
net_sockets.h Merge branch 'pr_946' into development-proposed 2018-04-04 10:33:45 +02:00
net.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
oid.h pkcs5v2: add support for additional hmacSHA algorithms 2018-02-08 17:18:15 +08:00
padlock.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
pem.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
pk_internal.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
pk.h Clarify the use of MBEDTLS_ERR_PK_SIG_LEN_MISMATCH 2018-03-30 18:43:16 +02:00
pkcs5.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
pkcs11.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
pkcs12.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
platform_time.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
platform.h Update platform.h 2018-04-16 15:28:35 +01:00
ripemd160.h MD: Make deprecated functions not inline 2018-02-22 10:24:30 +00: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 Update rsa.h 2018-04-17 14:08:56 +01:00
sha1.h Fix comment formatting to pacify check-names.sh 2018-04-18 16:08:26 +02:00
sha256.h Update sha256.h 2018-04-17 10:38:39 +01:00
sha512.h Update sha512.h 2018-03-27 13:03:42 +01:00
ssl_cache.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
ssl_ciphersuites.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
ssl_cookie.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
ssl_internal.h Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9 2018-04-26 10:00:27 +02:00
ssl_ticket.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
ssl.h Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9 2018-04-26 10:00:27 +02:00
threading.h Do not define and initialize global mutexes on configurations that do not use them. 2018-03-21 15:01:55 +00:00
timing.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
version.h Update version to 2.8.0 2018-03-16 16:25:12 +00:00
x509_crl.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
x509_crt.h Merge branch 'development' into iotssl-1381-x509-verify-refactor-restricted 2018-03-05 11:55:38 +01:00
x509_csr.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
x509.h Update Doxygen file blocks to remove copyright and license information 2018-01-23 15:44:39 +00:00
xtea.h Error codes for hardware accelerator failures 2018-01-26 17:56:38 +01:00