Commit Graph

6019 Commits

Author SHA1 Message Date
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
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
Andrzej Kurek
cac5f549ca Fix typo
Fix wrong order of arguments for a memset
2018-02-14 08:22:04 -05: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
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
Unknown
4d092dc42c PK: change the check_pair interface to take full private context 2018-02-08 07:45:41 -05:00
Unknown
8fb94311e9 Add a check for an RSA_ALT key in check_pair 2018-02-08 06:37:57 -05:00
Unknown
b60dc2d21e Shift errors
Move errors from pk.h so that they have a gap for the current development error codes
2018-02-07 08:03:51 -05:00
Unknown
6f21aed6df Documentation fixes
Move MBEDTLS_ECP_MAX_BYTES to a proper place,
adjust comments and descriptions, move includes
to the top of the file
2018-02-07 08:02:31 -05:00
Unknown
d76af45ed3 Typo fix 2018-02-06 03:38:37 -05:00
Unknown
7f4b10b5bd Move RSA_ALT pk_info type check to the respective check_pair function 2018-02-06 03:28:23 -05:00
Unknown
3b450a1798 Temporarily disable opaque RSA tests
Disable tests in .data file
2018-02-06 03:27:30 -05:00
Unknown
dc3111e6d9 Add olen parameter to ecp_ansi_write_group and ecp_ansi_write_point
Improve mbedtls_ecp_ansi_write_point
2018-02-06 03:26:11 -05:00
Unknown
a2c406286a Rename ecdsa_signature_to_asn1 to mbedtls_ecdsa_signature_to_asn1 2018-02-06 03:24:02 -05:00
Unknown
d0d0602ea5 Rename mbedtls_pk_signature_size to mbedtls_pk_get_signature_size
Add more descriptive comments and return value description
2018-02-06 03:20:30 -05:00
Unknown
60b25f0529 Documentation fixes
Added more elaborate comments and descriptions
2018-02-06 03:17:59 -05:00
Jaeden Amero
32605dc830 Merge remote-tracking branch 'upstream-restricted/pr/451' into development-restricted 2018-02-05 11:36:59 +00:00
Jaeden Amero
d79bce1d4e Merge remote-tracking branch 'upstream-restricted/pr/452' into development-restricted 2018-02-05 08:49:51 +00:00
Simon Butcher
55fc4e0c5a Update ChangeLog with language and technical corrections
To clarify and correct the ChangeLog.
2018-02-05 08:41:14 +00:00
Jaeden Amero
3b438d33c1 Update version to 2.7.0 2018-02-02 18:09:45 +00:00
Jaeden Amero
98b9373849 Merge branch 'development' into development-restricted 2018-01-30 17:32:12 +00:00
Jaeden Amero
15f90e0266 Merge remote-tracking branch 'upstream-public/pr/1336' into development 2018-01-30 17:28:31 +00:00
Jaeden Amero
9564e97460 Merge branch 'development' into development-restricted 2018-01-30 17:04:47 +00:00
Jaeden Amero
8dd16ab7c0 doxygen: Disable JAVADOC_AUTOBRIEF
Disable JAVADOC_AUTOBRIEF so that we can have periods in our brief
descriptions. We always use '\brief' where we want a brief, so this won't
hide any documentation previously used as a brief.
2018-01-30 16:22:05 +00:00
Rose Zadik
27ff120a61 Improve SHA-512 documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.
- Align deprecated function descriptions with those of the superseding
  functions.

GitHub PR: #1326
2018-01-30 16:22:05 +00:00
Rose Zadik
602285eac2 Improve SHA-256 documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.
- Align deprecated function descriptions with those of the superseding
  functions.

GitHub PR: #1325
2018-01-30 16:22:05 +00:00
Rose Zadik
64feefb4a2 Improve message digest documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1319
2018-01-30 16:22:05 +00:00
Rose Zadik
2f8163d3cd Improve CTR-DRBG documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.
- Add full standard name in file description.

GitHub PR: #1316
2018-01-30 16:22:05 +00:00
Rose Zadik
44833d9597 Improve SHA-1 documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1322
2018-01-30 16:22:05 +00:00
Rose Zadik
bff87d905d Improve ECDSA documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1318
2018-01-30 16:22:05 +00:00
Rose Zadik
de2d6221c8 Improve ECDH documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1317
2018-01-30 16:22:05 +00:00
Rose Zadik
042e97fa75 Improve RSA documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.
- Rephrase the descriptions of all md_alg and hashlen parameters.

GitHub PR: #1327
2018-01-30 16:22:05 +00:00
Rose Zadik
17b4f7fc60 Improve GCM documentation
- Rephrase file/function/parameter/enum/define/error descriptions into
  full and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1324
2018-01-30 16:22:05 +00:00
Rose Zadik
41ad082484 Improve DHM documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.
- Standardize defines documentation

GitHub PR: #1323
2018-01-30 16:22:05 +00:00
Rose Zadik
332658d80e Improve platform documentation
- Rephrase file/function/parameter/enum/define/error descriptions into full
  and clear sentences.
- Make sure to adhere to the Arm writing guidelines.
- Fix missing/incorrect Doxygen tags.
- Standardize terminology used within the file.

GitHub PR: #1320
2018-01-30 16:22:05 +00:00