mbedtls/tests/scripts
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
..
all.sh 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
basic-build-test.sh Fix scripts to support multiple openssl and gnutls 2016-09-27 16:04:44 +01:00
check-doxy-blocks.pl Fix check-doxy-blocks.pl to run from root dir 2017-05-12 00:16:50 +01:00
check-generated-files.sh New test script for generated files 2015-02-13 14:53:53 +00:00
check-names.sh Pre push hook script 2017-07-27 21:44:34 +01:00
curves.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
depends-hashes.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
depends-pkalgs.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
doxygen.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
gen_ctr_drbg.pl
gen_gcm_decrypt.pl Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
gen_gcm_encrypt.pl Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
gen_pkcs1_v21_sign_verify.pl The Great Renaming 2015-04-08 13:25:31 +02:00
generate_code.pl Merge branch 'pr_1025' into development 2017-11-28 18:23:53 +01:00
generate-afl-tests.sh Added script to split the test case data files 2016-03-09 19:32:09 +00:00
key-exchanges.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
list-enum-consts.pl Fix warning from Perl 5.21 in helper script 2015-07-01 19:32:00 +02:00
list-identifiers.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-macros.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-symbols.sh Fix list-symbols.sh 2015-08-04 17:46:21 +02:00
recursion.pl Move test scripts to tests/scripts 2015-04-10 11:34:22 +02:00
run-test-suites.pl Fix shared library lookup on Mac OS X when running tests 2018-03-27 19:58:08 +01:00
tcp_client.pl Fix FALLBACK_SCSV parsing 2017-05-16 17:53:03 +02:00
test-ref-configs.pl Merge branch 'development' into iotssl-1381-x509-verify-refactor-restricted 2018-03-05 11:55:38 +01:00
travis-log-failure.sh Fixes Travis post-mortem script dump following review 2016-04-10 15:11:27 +01:00
yotta-build.sh Fix scripts to support multiple openssl and gnutls 2016-09-27 16:04:44 +01:00