Mohammad Azim Khan
233a421111
Enable deprecated API wrappers for _ALT implementation
2018-02-23 16:20:21 +00:00
Gilles Peskine
b3411e5765
Merge pull request #1398 from gilles-peskine-arm/feature-opaque-keys-2.7.1
...
Merge 2.7.1 into feature-opaque-keys
2018-02-23 12:04:14 +01:00
Gilles Peskine
36af5653db
Merge remote-tracking branch 'upstream-public/mbedtls-2.7' into feature-opaque-keys
...
Update the opaque-keys feature branch from Mbed TLS 2.7.0 to the 2.7.1
release candidate.
Conflicts:
* ChangeLog
* tests/suites/test_suite_pk.function: commit
7ea67274f7
and changes in the
opaque-keys branch interfered. I ported the conflicting change in
pk_rsa_alt to pk_rsa_match where the code is now.
2018-02-23 11:19:44 +01:00
Gilles Peskine
765ca4dcb5
Merge pull request #1360 from mazimkhan/cert-write-AndrzejKurek-opaque-keys-interfaces
...
Add support for using opaque keys in cert_write.c to sign a certificate
2018-02-22 19:41:16 +01:00
Azim Khan
88953b623d
Fix comment explaining ECDSA public key format
2018-02-22 17:46:48 +00:00
Gilles Peskine
3f9cff20d7
Merge branch 'prr_424' into mbedtls-2.7-proposed
2018-02-22 16:07:32 +01:00
Hanno Becker
e80cd463ef
Adapt version_features.c
2018-02-22 15:02:47 +00:00
Gilles Peskine
30c3433183
Merge remote-tracking branch 'upstream-public/pr/1393' into mbedtls-2.7-proposed
2018-02-22 15:44:24 +01:00
Gilles Peskine
e2bada976e
Merge remote-tracking branch 'upstream-public/pr/1392' into mbedtls-2.7-proposed
2018-02-22 15:44:14 +01:00
Gilles Peskine
04f9bd028f
Note incompatibility of truncated HMAC extension in ChangeLog
...
The change in the truncated HMAC extension aligns Mbed TLS with the
standard, but breaks interoperability with previous versions. Indicate
this in the ChangeLog, as well as how to restore the old behavior.
2018-02-22 15:41:26 +01:00
Azim Khan
0f9708f1a6
Properly use of API
2018-02-22 13:24:16 +00:00
Jaeden Amero
3a11404fcb
Add LinkLibraryDependencies to VS2010 app template
...
Add mbedTLS.vcxproj to the VS2010 application template so that the next
time we auto-generate the application project files, the
LinkLibraryDependencies for mbedTLS.vcxproj are maintained.
Fixes #1347
2018-02-22 12:22:21 +00:00
Azim Khan
969191f0c9
Fix Windows warnings
2018-02-22 11:09:40 +00:00
Gilles Peskine
4945192099
Add ChangeLog entry for PR #1382
2018-02-22 10:23:13 +00:00
Azim Khan
eda800f478
Specify signature buffer length properly
2018-02-22 10:00:45 +00:00
Azim Khan
7a3399019e
Minor fixes and rework
2018-02-22 10:00:45 +00:00
Azim Khan
506849b5c2
Flush serial port before sending sync pattern
2018-02-22 10:00:45 +00:00
Azim Khan
26a455c021
Add support for signing ceritificate using a Secure element
...
Secure element communication is based on a mbed-os implementation that exposes a serial interface.
2018-02-22 10:00:44 +00:00
Jaeden Amero
a0d60a4dbc
Add ChangeLog entry for PR #1384
2018-02-22 08:28:10 +00:00
Krzysztof Stachowiak
31f0a3b827
Have Visual Studio handle linking to mbedTLS.lib internally
...
Fixes #1347
2018-02-22 08:28:10 +00:00
Jaeden Amero
a53ff8d088
MD: Make deprecated functions not inline
...
In 2.7.0, we replaced a number of MD functions with deprecated inline
versions. This causes ABI compatibility issues, as the functions are no
longer guaranteed to be callable when built into a shared library.
Instead, deprecate the functions without also inlining them, to help
maintain ABI backwards compatibility.
2018-02-22 08:20:42 +00:00
Gilles Peskine
a814e6e0bd
Merge branch 'pr_1293' into feature-opaque-keys
2018-02-21 16:36:29 +01:00
Gilles Peskine
262eceb12e
Add ChangeLog entry
2018-02-21 16:36:04 +01:00
Andrzej Kurek
932ebf36e5
Fix Windows build
...
Redefine inline as in other headers
2018-02-21 08:49:05 -05:00
Andrzej Kurek
ff8ddd1cb5
Documentation fix
...
Added a description of what "same engines" mean
2018-02-21 05:28:12 -05:00
Andrzej Kurek
486ec972cb
ECP: Add return code checking in mbedtls_ecp_ansi_write_group
...
Add a check for the return value of mbedtls_asn1_write_oid
2018-02-21 05:19:33 -05:00
Andrzej Kurek
57b3ccb4fa
Documentation fix
...
Add '\c' tags before functions and fields
2018-02-21 05:13:28 -05:00
Andrzej Kurek
b6e81bc3d7
ECP: Add a sanity check to mbedtls_ecp_ansi_write_group
...
Check for p != q at the end to ensure that everything went as it should.
2018-02-20 11:20:09 -05:00
Andrzej Kurek
0044ab12b7
Documentation fixes
...
Correct indentation, brackets, and comments.
2018-02-20 11:18:21 -05:00
Gilles Peskine
420386d61d
Merge branch 'pr_1352' into mbedtls-2.7-proposed
2018-02-20 16:40:50 +01:00
Gilles Peskine
200b24fdf8
Mention in ChangeLog that this fixes #1351
2018-02-20 16:40:11 +01:00
Gilles Peskine
1e3fd69777
Merge remote-tracking branch 'upstream-public/pr/1333' into development-proposed
2018-02-14 15:12:49 +01:00
Gilles Peskine
49ac5d06ed
Merge branch 'pr_1365' into development-proposed
2018-02-14 14:36:44 +01:00
Gilles Peskine
27b0754501
Add ChangeLog entries for PR #1168 and #1362
2018-02-14 14:36:33 +01:00
Andrzej Kurek
cac5f549ca
Fix typo
...
Fix wrong order of arguments for a memset
2018-02-14 08:22:04 -05:00
Gilles Peskine
5daa76537a
Add ChangeLog entry for PR #1165
2018-02-14 14:10:24 +01:00
Andrzej Kurek
2353781d9e
Add error checking to mbedtls_ecdsa_signature_to_asn1
...
Add a wrapper to check for errors during MBEDTLS_ASN1_CHK_ADD
Substitute backticks with apostrophes
2018-02-14 07:43:37 -05:00
Andrzej Kurek
bba0927586
Documentation fixes
...
Fix spacing, comments, and links in doxygen documentation.
2018-02-14 07:16:27 -05:00
Andrzej Kurek
024ab067cd
Documentation fixes
2018-02-12 09:34:39 -05:00
Andrzej Kurek
dc5770a62f
Remove unused variables from tests
...
Fix clang build by removing unused variables and fixing comments
2018-02-12 05:10:28 -05:00
Andrzej Kurek
eb162de489
Add test dependencies
...
Add RSA and ECDSA dependencies to tests
2018-02-12 04:16:17 -05:00
Andrzej Kurek
106dff107d
Remove doxygen tag
...
Remove a tag from a non-doxygen block
2018-02-12 02:41:12 -05:00
Paul Sokolovsky
8d6d8c84b1
ctr_drbg: Typo fix in the file description comment.
...
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-02-10 11:11:41 +02:00
Jaeden Amero
6d6c7982ce
Merge remote-tracking branch 'upstream-public/pr/1362' into development
2018-02-08 17:02:31 +00:00
Jaeden Amero
69f3072553
Merge remote-tracking branch 'upstream-public/pr/1168' into development
2018-02-08 15:18:52 +00:00
Jaeden Amero
129f50838b
dhm: Fix typo in RFC 5114 constants
...
We accidentally named the constant MBEDTLS_DHM_RFC5114_MODP_P instead of
MBEDTLS_DHM_RFC5114_MODP_2048_P.
Fixes #1358
2018-02-08 14:29:14 +00:00
Andrzej Kurek
ac3f243b9b
Merge branch 'AndrzejKurek-opaque-keys-interfaces' into opaque-keys-interfaces
2018-02-08 09:04:59 -05:00
Andrzej Kurek
49241637e8
Merge opaque-keys-interfaces into develop
2018-02-08 09:03:21 -05:00
Unknown
21e449db2f
PK: Remove reduntant type check for RSA_ALT
2018-02-08 08:12:58 -05:00
Unknown
4938419f17
ECP: Increase MBEDTLS_ECP_GRP_OID_MAX_SIZE to 32
...
Provide documentation for the source of the change
2018-02-08 08:01:09 -05:00