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
4582999be6
Fixed timing difference resulting from badly formatted padding.
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
9c94cddeae
Correctly handle CertificateRequest with empty DN list in <= TLS 1.1
2013-01-22 14:21:49 +01:00
cf4365f560
Updated error codes for ECP
2013-01-16 17:00:43 +01:00
a95919b4c7
Added ECP files to Makefiles as well
2013-01-16 17:00:05 +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
3680c82c5a
Made choice of w safer and more optimal
2013-01-16 16:31:53 +01:00
cdd44324e9
Added ecp_normalize_many() for faster precompute()
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
7652a593d6
Added a precompute() function for fast mult
2013-01-16 16:31:53 +01:00
855560758c
Added function preparing for faster multiplication
2013-01-16 16:31:52 +01:00
b4a310b472
Added a selftest about SPA resistance
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
8433824d5f
Added fast mod_p192
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
84d1aea1ac
Now reducing mod p after every single operation
2013-01-16 16:31:51 +01:00
e0c16922f9
Point multiplication using Jacobian coordinates
2013-01-16 16:31:51 +01:00
7e0adfbcc5
Replaced add_generic with add_mixed
2013-01-16 16:31:51 +01:00
989c32bc3e
Replaced double_generic with double_jac
2013-01-16 16:31:51 +01:00
27b1ba8be0
Changed ecp_mul() to always add the same point
2013-01-16 16:31:51 +01:00
d070f51224
Started introducting Jacobian coordinates
2013-01-16 16:31:51 +01:00
4b8c3f2a1c
Moved tests from selftest to tests/test_suite_ecp
2013-01-16 16:31:50 +01:00
a5402fee04
Added ecp_use_known_dp()
2013-01-16 16:31:50 +01:00
efaa31e9ae
Implemented multiplication
2013-01-16 16:31:50 +01:00
b4ab8a8137
Fixed memory leak due to typo
2013-01-16 16:31:50 +01:00
de532ee73f
Implemented generic doubling
2013-01-16 16:31:50 +01:00
ab38b70816
Fixed add_generic
2013-01-16 16:31:50 +01:00
b505c2796c
Got first tests working, fixed ecp_copy()
2013-01-16 16:31:49 +01:00
d0dc6317e1
Added a few test cases for addition
2013-01-16 16:31:49 +01:00