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
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
cf4a70c8ed
Adjust names of ECDSA tests.
2013-01-27 09:10:53 +01:00
450a163c81
Fix valgrind warning in ECDSA test suite.
2013-01-27 09:08:18 +01:00
007b7177ef
ECDH : add test vectors from RFC 5903.
2013-01-27 09:00:02 +01:00
602a8973d7
ECDSA : test vectors from RFC 4754
2013-01-27 08:10:28 +01:00
d1c7150bf5
Basic tests for ECDSA.
2013-01-26 19:11:28 +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
61ce13b728
Basic tests for ECDH primitive
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
polarssl-1.2.4
2013-01-25 17:11:37 +01:00
9d2bb658fc
Added PolarSSL 1.1.5 ChangeLog from 1.1 branch
2013-01-25 16:07:49 +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
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
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
c554e9acf1
Added test vectors from RFC 5903
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