mbedtls/library
Manuel Pégourié-Gonnard c9efa00871 ECP: Use explicit state assignments
Incrementing the state is error-prone as we can end up doing it too many times
(loops) or not enough (skipped branches), or just make programming mistakes
(eg. the state was incremented twice at the end, so it ended up with a value
not in the enum...)

This is the first step of the rework, the next one will rationalize where the
state assignments are done.
2017-08-24 10:25:06 +02:00
..
.gitignore
aes.c Export mbedtls_aes_(en/de)crypt to retain for API compatibility 2017-07-27 15:08:01 +01:00
aesni.c
arc4.c
asn1parse.c Fix 1 byte overread in mbedtls_asn1_get_int() 2016-10-13 13:54:14 +01:00
asn1write.c
base64.c Add comment to integer overflow fix in base64.c 2017-02-15 23:31:07 +02:00
bignum.c Merge remote-tracking branch 'hanno/mpi_read_file_underflow' into development 2017-06-08 19:48:03 +02:00
blowfish.c
camellia.c
ccm.c
certs.c Undo API change from SHA1 deprecation 2017-07-27 15:08:01 +01:00
cipher.c Fix integer overflows in buffer bound checks 2017-02-15 23:31:07 +02:00
cipher_wrap.c
cmac.c Fix check-doxy-blocks.pl errors (cmac.c ecjpake.h) 2017-05-12 00:18:04 +01:00
CMakeLists.txt Update the version number to 2.5.1 2017-06-20 23:08:10 +01:00
ctr_drbg.c Fix integer overflows in buffer bound checks 2017-02-15 23:31:07 +02:00
debug.c Fix compiler warning in debug.c 2017-02-15 09:08:26 +00:00
des.c
dhm.c Check return code of mbedtls_mpi_fill_random 2017-07-27 15:08:01 +01:00
ecdh.c Remove redundant checks, save a few muls 2017-08-23 18:20:17 +02:00
ecdsa.c Don't bother to free NULL subcontexts 2017-08-23 18:20:17 +02:00
ecjpake.c
ecp.c ECP: Use explicit state assignments 2017-08-24 10:25:06 +02:00
ecp_curves.c ECP: Add module and function level replacement options. 2017-05-11 22:42:14 +01:00
entropy.c Fix unused variable warnings for null entropy config 2016-09-15 18:57:34 +01:00
entropy_poll.c
error.c Add MBEDTLS_ERR_ECP_IN_PROGRESS 2017-08-09 11:44:53 +02:00
gcm.c fix for issue 1118: check if iv is zero in gcm. 2017-07-27 15:08:01 +01:00
havege.c
hmac_drbg.c
Makefile Added cmac.o to libary/Makefile 2016-10-13 13:51:09 +01:00
md.c
md2.c Fix integer overflows in buffer bound checks 2017-02-15 23:31:07 +02:00
md4.c
md5.c
md_wrap.c
memory_buffer_alloc.c
net_sockets.c Fix formatting issues in net_sockets.c 2017-02-15 09:08:26 +00:00
oid.c Removing in compile time unused entries from oid_ecp_grp list 2016-09-04 15:14:38 +01:00
padlock.c
pem.c Fix unused variable/function compilation warnings 2017-02-15 22:54:42 +02:00
pk.c Skip context allocation if restart disabled 2017-08-18 17:40:15 +02:00
pk_wrap.c Uniformize ifdefs to ECDSA_C+ECP_RESTARTABLE 2017-08-18 17:30:37 +02:00
pkcs5.c
pkcs11.c
pkcs12.c
pkparse.c Clarify Comments and Fix Typos (#651) 2017-02-15 09:08:26 +00:00
pkwrite.c
platform.c Rename macro SETUP_ALT to SETUP_TEARDOWN_ALT 2017-07-27 15:08:01 +01:00
ripemd160.c
rsa.c Merge remote-tracking branch 'restricted/iotssl-1138-rsa-padding-check-restricted' into development-restricted 2017-06-08 20:31:06 +02:00
sha1.c
sha256.c Use allocated memory for SHA self tests 2016-10-13 15:10:14 +01:00
sha512.c Use allocated memory for SHA self tests 2016-10-13 15:10:14 +01:00
ssl_cache.c
ssl_ciphersuites.c Undo API change 2017-07-27 15:08:01 +01:00
ssl_cli.c Introduce mbedtls_pk_restart_ctx and use it 2017-08-17 15:16:11 +02:00
ssl_cookie.c Fix resource leak when using mutex and ssl_cookie 2017-03-02 12:26:11 +00:00
ssl_srv.c Merge remote-tracking branch 'gilles/iotssl-1223/development' into development 2017-06-06 20:11:36 +02:00
ssl_ticket.c
ssl_tls.c Enable restart for certificate verify 2017-08-15 14:12:47 +02:00
threading.c Remove mutexes from ECP hardware acceleration 2017-07-27 15:08:01 +01:00
timing.c
version.c
version_features.c Rename EARLY_RETURN -> RESTARTABLE 2017-08-09 11:44:53 +02:00
x509.c X.509 self-tests: replaced SHA-1 certificates by SHA-256 2017-06-06 18:44:13 +02:00
x509_create.c
x509_crl.c Fix potential integer overflow parsing DER CRL 2017-07-27 15:08:01 +01:00
x509_crt.c Rework state saving for verify_chain() 2017-08-23 12:32:19 +02:00
x509_csr.c Prevent signed integer overflow in CSR parsing 2017-07-27 15:08:01 +01:00
x509write_crt.c Add missing bounds check in X509 DER write funcs 2016-10-11 14:07:48 +01:00
x509write_csr.c Add missing bounds check in X509 DER write funcs 2016-10-11 14:07:48 +01:00
xtea.c