1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-11 21:41:47 +03:00
Commit Graph

4287 Commits

Author SHA1 Message Date
fbb5cf9f59 Fixed typo in base64.h 2013-02-14 11:56:58 +01:00
424fda5d7b Add ecdh_calc_secret() 2013-02-11 22:05:42 +01:00
5cceb41d2c Add ecdh_{make,read}_public() 2013-02-11 21:51:45 +01:00
854fbd7ba2 Add ecdh_read_params(). 2013-02-11 21:32:24 +01:00
13724765b2 Add ecdh_make_server_params (untested yet) 2013-02-10 15:01:54 +01:00
63533e44c2 Create ecdh_context structure 2013-02-10 14:22:44 +01:00
98f51815d6 Fix ecp_tls_read_point's signature 2013-02-10 13:38:29 +01:00
7c145c6418 Fix ecp_tls_read_group's signature 2013-02-10 13:20:52 +01:00
420f1eb675 Fix ecp_tls_write_point's signature 2013-02-10 12:22:46 +01:00
b325887fad Add ecp_tls_write_group() 2013-02-10 12:06:19 +01:00
7e86025f32 Rename ecp_*_binary to ecp_point_*_binary 2013-02-10 10:58:48 +01:00
d84895dc22 Supress 'format' argument to ecp_read_binary.
And adjust error codes for ecp_*_binary while at it.
2013-02-10 10:53:04 +01:00
0079405918 Add functions for read/write ECPoint records 2013-02-09 19:00:07 +01:00
1a96728964 Add function parsing a TLS ECParameters record 2013-02-09 17:53:31 +01:00
c7a2da437e Updated for PolarSSL 1.2.5 2013-02-02 19:23:57 +01:00
40865c8e5d Added sending of alert messages in case of decryption failures as per RFC
The flag POLARSSL_SSL_ALERT_MESSAGES switched between enabling and
disabling the sending of alert messages that give adversaries intel
about the result of their action. PolarSSL can still communicate with
other parties if they are disabled, but debugging of issues might be
harder.
2013-02-02 19:04:13 +01:00
d66f070d49 Disable debug messages that can introduce a timing side channel.
Introduced the POLARSSL_SSL_DEBUG_ALL flag to enable all these debug
messages in case somebody does want to see the reason checks fail.
2013-02-02 19:04:13 +01:00
8fe40dcd7d Allow enabling of dummy error_strerror() to support some use-cases
Enable a dummy error function to make use of error_strerror() in
third party libraries easier.

Disable if you run into name conflicts and want to really remove the
error_strerror()
2013-02-02 12:43:08 +01:00
3aeb5a7192 Add ECDSA signature primitive. 2013-01-26 19:11:28 +01:00
b309ab2936 Add ECDSA sign primitive 2013-01-26 19:11:28 +01:00
2aea1416f9 Add skeleton ecdsa.[ch] 2013-01-26 19:11:28 +01:00
6545ca7bed Add ECDH primitives 2013-01-26 19:11:24 +01:00
0bad5c2381 Add skeleton ecdh.[ch] 2013-01-26 15:30:46 +01:00
45a035a9ac Add ecp_gen_keypair() 2013-01-26 14:42:45 +01:00
14c56a3378 Updated for PolarSSL 1.2.4 2013-01-25 17:11:37 +01:00
1961b709d8 Added ssl_handshake_step() to allow single stepping the handshake
process

Single stepping the handshake process allows for better support of
non-blocking network stacks and for getting information from specific
handshake messages if wanted.
2013-01-25 14:49:24 +01:00
f626e1dd28 Fixed comment on maximum tested size for POLARSSL_MPI_MAX_LIMBS 2013-01-21 12:14:17 +01:00
cf4365f560 Updated error codes for ECP 2013-01-16 17:00:43 +01:00
5e402d88ea Added ecp_read_binary(). 2013-01-16 16:31:54 +01:00
37d218a8e3 Added support for writing points compressed 2013-01-16 16:31:54 +01:00
e19feb5b46 Added ecp_write_binary(). 2013-01-16 16:31:53 +01:00
1c33057a63 Added ecp_check_pubkey(). 2013-01-16 16:31:53 +01:00
b63f9e98f5 Made ecp_mul() faster and truly SPA resistant 2013-01-16 16:31:53 +01:00
855560758c Added function preparing for faster multiplication 2013-01-16 16:31:52 +01:00
9674fd0d5e Added ecp_sub() as a variant of ecp_add() 2013-01-16 16:31:52 +01:00
1c2782cc7c Changed to jacobian coordinates everywhere 2013-01-16 16:31:52 +01:00
773ed546a2 Added a nbits member to ecp_group 2013-01-16 16:31:52 +01:00
4bdd47d2cb Multiplication by negative is now forbidden 2013-01-16 16:31:52 +01:00
4712325777 Clarifications in comments; code cosmetics & style 2013-01-16 16:31:52 +01:00
dada4da33f Moved domain paramaters to ecp.c 2013-01-16 16:31:51 +01:00
62aad14139 Added slot for fast modp, with mod_p521 2013-01-16 16:31:51 +01:00
e0c16922f9 Point multiplication using Jacobian coordinates 2013-01-16 16:31:51 +01:00
a5402fee04 Added ecp_use_known_dp() 2013-01-16 16:31:50 +01:00
b505c2796c Got first tests working, fixed ecp_copy() 2013-01-16 16:31:49 +01:00
847395a8a9 Added ecp_XXX_read_string() 2013-01-16 16:31:49 +01:00
7cfcea349c Documented error codes properly 2013-01-16 16:31:49 +01:00
ae180d0f20 Got started on ecp_add(): generic case done 2013-01-16 16:31:49 +01:00
883f313516 Added ecp_copy() (for points) 2013-01-16 16:31:49 +01:00
5179e463d5 Allowed point at infinity, supressed ecp_double() 2013-01-16 16:31:49 +01:00
d7e4570ad1 Copied ECP parameters from RFC 5114 2013-01-16 16:31:49 +01:00