Janos Follath
c70515d455
Add Changelog entry for current branch
2016-05-18 20:00:19 +01:00
Simon Butcher
f31d9676d1
Fix ChangeLog for backport of IOTSSL-621
2016-05-18 19:58:41 +01:00
Janos Follath
742783fe85
Included tests for the overflow
...
Conflicts:
library/rsa.c
2016-05-18 19:58:41 +01:00
Janos Follath
21ca00243c
Add Changelog entry for current branch
2016-05-18 19:58:41 +01:00
Simon Butcher
d3253b018e
Fix for backprt of IOTSSL-628
...
Corrections to constand and function names changed between 1.3 and 2.1
2016-05-18 19:58:41 +01:00
Simon Butcher
2d49c4d2f6
Fix ChangeLog after merging fix for IOTSSL-628
2016-05-18 19:58:41 +01:00
Janos Follath
7295c189ee
Extended ChangeLog entry
2016-05-18 19:58:41 +01:00
Janos Follath
092f2c48c4
Move underflow test to make time constant
2016-05-18 19:58:41 +01:00
Janos Follath
574b118bf8
Add Changelog entry for current branch
2016-05-18 19:58:40 +01:00
Janos Follath
3bed13df1c
Included test for integer underflow.
2016-05-18 19:58:40 +01:00
Janos Follath
6483af8e42
Fix the broken pkcs1 v1.5 test.
...
The random buffer handed over to the test function was too small
and the remaining bytes were generated by the default (platform
dependant) function.
2016-05-18 19:58:40 +01:00
Janos Follath
8eeecd0444
Fix the backport of pkcs1 v1.5 test suite.
...
The test suite was not properly backported and it remained unnoticed,
because it was not compile due to the change in the naming of the
compile time requirements.
2016-05-18 19:58:40 +01:00
Janos Follath
f18263d78b
Removing 'if' branch from the fix.
...
This new error shouldn't be distinguishable from other padding errors.
Updating 'bad' instead of adding a new 'if' branch.
2016-05-18 19:58:40 +01:00
Janos Follath
7244ecf52e
Add tests for the bug IOTSSL-619.
...
The main goal with these tests is to test the bug in question and
they are not meant to test the entire PKCS#1 v1.5 behaviour. To
achieve full test coverage, further test cases are needed.
2016-05-18 19:58:40 +01:00
Janos Follath
a1ebe662f3
Add Changelog entry for current branch
2016-05-18 19:58:40 +01:00
Janos Follath
f570f7f686
Length check added
2016-05-18 19:58:40 +01:00
Simon Butcher
01660396da
Corrects debug macro in ssl_cli.c
2016-04-22 10:05:50 +01:00
Janos Follath
4e03439e6a
Fix bug in ssl_write_supported_elliptic_curves_ext
...
Passing invalid curves to mbedtls_ssl_conf_curves potentially could caused a
crash later in ssl_write_supported_elliptic_curves_ext. #373
2016-04-22 09:59:00 +01:00
Janos Follath
7ddc2cdfce
Fix null pointer dereference in the RSA module.
...
Introduced null pointer checks in mbedtls_rsa_rsaes_pkcs1_v15_encrypt
2016-04-19 10:28:24 +01:00
Simon Butcher
e9f842782b
Adds test for odd bit length RSA key size
...
Also tidy up ChangeLog following review.
2016-04-19 10:02:43 +01:00
Janos Follath
d61fc6881a
Fix odd bitlength RSA key generation
...
Fix issue that caused a hang up when generating RSA keys of odd
bitlength.
2016-04-19 09:42:17 +01:00
Janos Follath
d74aa47380
Remove unused code from PKCS1v15 test suite
2016-04-18 10:12:05 +01:00
Simon Butcher
f20ab8941f
Add missing config dependencies to PKCS1 V15 tests
2016-04-13 01:41:49 +01:00
Simon Butcher
8435f9e8ec
Add missing stdlib.h header to rsa sample programs
2016-04-13 01:38:54 +01:00
Simon Butcher
de62b6e396
Fixes error and exit paths in rsa sample programs
2016-04-12 17:36:34 +01:00
Janos Follath
fa4a88a8eb
Fix memory leaks in example programs.
2016-04-12 16:45:10 +01:00
Janos Follath
8970fd6ab9
Add tests to cover PKCS1 v1.5 signature functions.
...
The reported memory leak should have been spotted by
make memcheck
But it wasn't. Keeping the tests for better coverage.
2016-04-12 16:44:30 +01:00
Simon Butcher
cb713bb35a
Merge branch 'mbedtls-1.3-restricted'
2016-04-10 00:06:50 +01:00
Simon Butcher
d255c0e430
Adds test_suite_pkcs1_v15 to tests/Makefile
2016-04-10 00:03:16 +01:00
Simon Butcher
bee7819819
Fix ChangeLog for backport of IOTSSL-621
2016-04-09 00:16:41 +01:00
Janos Follath
d95e8d1cb4
Included tests for the overflow
...
Conflicts:
library/rsa.c
2016-04-09 00:16:41 +01:00
Janos Follath
bedc728fed
Add Changelog entry for current branch
2016-04-09 00:16:40 +01:00
Simon Butcher
c7971b51ce
Fix for backprt of IOTSSL-628
...
Corrections to constand and function names changed between 1.3 and 2.1
2016-04-09 00:16:40 +01:00
Simon Butcher
c0dfe440c7
Fix ChangeLog after merging fix for IOTSSL-628
2016-04-09 00:16:40 +01:00
Janos Follath
21b967137d
Extended ChangeLog entry
2016-04-09 00:16:40 +01:00
Janos Follath
fb9d33047a
Move underflow test to make time constant
2016-04-09 00:16:40 +01:00
Janos Follath
532d62f900
Add Changelog entry for current branch
2016-04-09 00:16:40 +01:00
Janos Follath
d886c4a419
Included test for integer underflow.
2016-04-09 00:16:40 +01:00
Janos Follath
33857f4c3d
Update default configuration
...
Change the default settings for SSL and modify the tests accordingly.
2016-04-09 00:16:40 +01:00
Simon Butcher
fb2304a640
Fix ChangeLog for backport of IOTSSL-621
2016-03-17 11:03:14 +00:00
Janos Follath
6e5fb63cf6
Included tests for the overflow
...
Conflicts:
library/rsa.c
2016-03-17 10:51:13 +00:00
Janos Follath
7f1d78b560
Add Changelog entry for current branch
2016-03-17 10:50:59 +00:00
Simon Butcher
0bc725f295
Fix for backprt of IOTSSL-628
...
Corrections to constand and function names changed between 1.3 and 2.1
2016-03-17 00:57:18 +00:00
Simon Butcher
da51d9cbab
Fix ChangeLog after merging fix for IOTSSL-628
2016-03-16 23:31:03 +00:00
Janos Follath
e8864dd066
Extended ChangeLog entry
2016-03-16 23:30:22 +00:00
Janos Follath
1d114d2efa
Move underflow test to make time constant
2016-03-16 23:29:30 +00:00
Janos Follath
45a5f7406d
Add Changelog entry for current branch
2016-03-16 23:28:24 +00:00
Janos Follath
19db48e16a
Included test for integer underflow.
2016-03-16 23:20:11 +00:00
Simon Butcher
77bc55dc4c
Merge branch 'mbedtls-1.3'
2016-03-16 23:13:30 +00:00
Janos Follath
afe799f2eb
Fix the broken pkcs1 v1.5 test.
...
The random buffer handed over to the test function was too small
and the remaining bytes were generated by the default (platform
dependant) function.
2016-03-16 11:11:16 +00:00