1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-25 02:02:03 +03:00
Commit Graph

81 Commits

Author SHA1 Message Date
caf0e60969 Forced cast to unsigned int for %u format in the ecdsa application 2013-12-30 19:15:48 +01:00
29e86eae29 Removed 'z' length modifier from format in ecdsa program 2013-12-30 15:38:48 +01:00
014f143c2a Merged EC key generation support 2013-12-02 14:55:09 +01:00
6e16cdb37c Allow curve selection in gen_key 2013-11-30 15:32:47 +01:00
840ab20ea2 Explicit conversions to int from size_t for MSVC (64-bit) in apps 2013-11-30 15:14:38 +01:00
8c237710a0 Start adding EC support in gen_key 2013-11-30 14:36:54 +01:00
e4c71f0e11 Merged Prime generation improvements 2013-11-25 14:27:28 +01:00
8fc30b178c Various const fixes 2013-11-25 13:29:43 +01:00
5e1e61124a Insert warning about time in dh_genprime 2013-11-22 21:16:10 +01:00
b0a467fdbe Start adding a PK test suite 2013-10-15 15:19:59 +02:00
1ffefaca1e Introduced entropy_free() 2013-09-29 15:01:42 +02:00
15b9b3a7e0 Key generation tool 2013-09-23 13:25:44 +02:00
abd6e02b7b Rm _CRT_SECURE_NO_DEPRECATE for programs
(Already in config.h.)
2013-09-20 16:51:13 +02:00
a7496f00ff Fix a few more warnings in small configurations 2013-09-20 11:29:59 +02:00
92e5b59355 Fix some dependencies/warnings in programs 2013-09-20 10:58:58 +02:00
da179e4870 Add ecp_curve_list(), hide ecp_supported_curves 2013-09-18 15:37:44 +02:00
940f9ce515 Added pk_decrypt, pk_encrypt, pk_sign, pk_verify example applications 2013-09-18 15:34:57 +02:00
2e24ca74b0 Updated key_app.c and key_app_writer.c for EC key printing 2013-09-18 15:25:16 +02:00
15d5de1969 Simplify usage of DHM blinding 2013-09-18 14:35:55 +02:00
568c9cf878 Add ecp_supported_curves and simplify some code 2013-09-18 14:34:34 +02:00
4cf0686d6d Remove spurious '+ 3' in ecdsa_write_signature() 2013-09-18 14:34:33 +02:00
30520d1776 Moved rsa_sign_pss / rsa_verify_pss to use PK for key reading 2013-09-17 11:39:31 +02:00
1525495330 Key app updated to support pk_context / ECP keypairs 2013-09-17 11:24:56 +02:00
7c6b2c320e Split up X509 files into smaller modules 2013-09-16 21:41:54 +02:00
c7bb02be77 Moved PK key writing from X509 module to PK module 2013-09-15 14:54:56 +02:00
1a7550ac67 Moved PK key parsing from X509 module to PK module 2013-09-15 13:47:30 +02:00
9013af76a3 Merged major refactoring of x509write module into development
This refactoring adds support for proper CSR writing and X509
certificate generation / signing
2013-09-12 11:58:04 +02:00
26b4d45f49 Fix key_app_writer 2013-09-12 11:57:02 +02:00
ee73179b2f Adapt x509write_csr prototypes for PK 2013-09-12 11:57:00 +02:00
2d627649bf Change dhm_calc_secret() prototype 2013-09-04 14:22:07 +02:00
548957dd49 Refactored RSA to have random generator in every RSA operation
Primarily so that rsa_private() receives an RNG for blinding purposes.
2013-08-30 10:30:02 +02:00
f3df61ad10 Generalized PEM writing in x509write module for RSA keys as well 2013-08-26 17:37:18 +02:00
bf3109fd41 Add forgotten ecdsa_free() in ecdsa example 2013-08-20 20:08:29 +02:00
e09631b7c4 Create ecp_group_copy() and use it 2013-08-20 20:08:29 +02:00
aa431613b3 Add ecdsa example program 2013-08-20 20:08:29 +02:00
ba4878aa64 Rename x509parse_key & co with _rsa suffix 2013-07-08 15:31:18 +02:00
03a8a79516 Programs adapted to use polarssl_strerror() instead of error_strerror() 2013-06-30 12:18:08 +02:00
3c5ef71322 Cleanup up non-prototyped functions (static) and const-correctness in programs 2013-06-25 16:37:45 +02:00
ef3f8c747e Fixed const correctness issues in programs and tests
(cherry picked from commit e0225e4d7f)

Conflicts:
	programs/ssl/ssl_client2.c
	programs/ssl/ssl_server2.c
	programs/test/ssl_test.c
	programs/x509/cert_app.c
2013-06-24 19:09:24 +02:00
ed27a041e4 More granular define selections within code to allow for smaller code
sizes
2013-04-18 23:12:34 +02:00
c70b982056 OID functionality moved to a separate module.
A new OID module has been created that contains the main OID searching
functionality based on type-dependent arrays. A base type is used to
contain the basic values (oid_descriptor_t) and that type is extended to
contain type specific information (like a pk_alg_t).

As a result the rsa sign and verify function prototypes have changed. They
now expect a md_type_t identifier instead of the removed RSA_SIG_XXX
defines.

All OID definitions have been moved to oid.h
All OID matching code is in the OID module.

The RSA PKCS#1 functions cleaned up as a result and adapted to use the
MD layer.

The SSL layer cleanup up as a result and adapted to use the MD layer.

The X509 parser cleaned up and matches OIDs in certificates with new
module and adapted to use the MD layer.

The X509 writer cleaned up and adapted to use the MD layer.

Apps and tests modified accordingly
2013-04-07 22:00:46 +02:00
21654f392e - Smaller default values 2012-10-24 14:29:17 +00:00
520ea911f6 - Fixed to support 4096 bit DHM params as well 2012-10-24 14:17:01 +00:00
1d56958963 - Updated examples to use appropriate sizes for larger RSA keys (up to 16k) 2012-10-03 20:35:44 +00:00
3ad34d4110 - Added key_app_writer to CMakeLists.txt 2012-10-03 20:34:37 +00:00
3fad7b3fdd - Changed saved value to RCF 3526 2048 MODP group 2012-10-03 19:50:54 +00:00
5da01caa50 - Added warning about example use 2012-10-03 19:48:33 +00:00
5ef9db2ae3 - Added rsa_check_privkey() check to rsa_sign 2012-09-27 13:19:22 +00:00
db2509c9cd - Added password and password_file options for reading private keys 2012-09-27 12:44:31 +00:00
88f17b8549 - Fixed for new DHM handling (TLS 1.2) 2012-04-26 18:52:13 +00:00