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

5488 Commits

Author SHA1 Message Date
53c642504e Use PK internally for x509write_crt 2013-09-12 11:57:02 +02:00
f38e71afd5 Convert x509write_crt interface to PK 2013-09-12 11:57:02 +02:00
6de63e480d Add EC support to x509write_key 2013-09-12 11:57:01 +02:00
edda9041fc Adapt asn1_write_algorithm_identifier() to params 2013-09-12 11:57:01 +02:00
3837daec9e Add EC support to x509write_pubkey 2013-09-12 11:57:01 +02:00
e1f821a6eb Adapt x509write_pubkey interface to use PK
key_app_writer will be fixed later
2013-09-12 11:57:01 +02:00
ee73179b2f Adapt x509write_csr prototypes for PK 2013-09-12 11:57:00 +02:00
8053da4057 x509write_csr() now fully using PK internally 2013-09-12 11:57:00 +02:00
5353a03eb9 x509write_csr using PK internally (WIP) 2013-09-12 11:57:00 +02:00
dcbfdcc177 Updated doxygen documentation in header files and HTML pages 2013-09-10 16:16:50 +02:00
c0dcf0ceb1 Merged blinding additions for EC, RSA and DHM into development 2013-09-10 14:44:27 +02:00
36b7e1efe7 Merged GCM refactoring into development
GCM is now independent of AES and can be used as a mode for any
cipher-layer supported 128-bit based block cipher
2013-09-10 14:41:05 +02:00
ea53a55c0f Refactor to prepare for RSA blinding optimisation 2013-09-10 13:55:35 +02:00
1c3853b953 oid_get_oid_by_*() now give back oid length as well 2013-09-10 11:43:44 +02:00
7db0109436 Made POLARSSL_MD_MAX_SIZE dependent on POLARSSL_SHA512_C 2013-09-10 11:10:57 +02:00
eba3ccf785 Typo in config.h 2013-09-09 15:56:09 +02:00
f9f377e652 CSR Parsing (without attributes / extensions) implemented 2013-09-09 15:35:10 +02:00
cdda097507 Fixed doxygen documentation in asn1.h (added \brief) 2013-09-09 12:51:29 +02:00
52be08c299 Added support for writing Key Usage and NS Cert Type extensions 2013-09-09 12:38:45 +02:00
cd35803684 Changes x509_csr to x509write_csr 2013-09-09 12:38:45 +02:00
5f45e62afe Migrated from x509_req_name to asn1_named_data structure 2013-09-09 12:02:36 +02:00
c547cc992e Added generic asn1_free_named_data_list() 2013-09-09 12:01:23 +02:00
59ba59fa30 Generalized x509_set_extension() behaviour to asn1_store_named_data() 2013-09-09 11:34:44 +02:00
43aff2aec4 Moved GCM to use cipher layer instead of AES directly 2013-09-09 00:10:27 +02:00
f46b6955e3 Added cipher_info_from_values() to cipher layer (Search by ID+keylen+mode) 2013-09-09 00:08:26 +02:00
5e0efa7ef5 Added POLARSSL_MODE_ECB to the cipher layer 2013-09-08 23:04:04 +02:00
032c34e206 Don't use DH blinding for ephemeral DH 2013-09-07 13:06:27 +02:00
337b29c334 Test and document EC blinding overhead 2013-09-07 11:52:27 +02:00
15162a054a Writing of X509v3 extensions supported
Standard extensions already in: basicConstraints, subjectKeyIdentifier
and authorityKeyIdentifier
2013-09-06 19:27:21 +02:00
329def30c5 Added asn1_write_bool() 2013-09-06 16:34:38 +02:00
9397dcb0e8 Base X509 certificate writing functinality 2013-09-06 10:36:28 +02:00
7da0a38d43 Rm some includes that are now useless 2013-09-05 17:06:11 +02:00
b8bd593741 Restrict cipher_update() for GCM 2013-09-05 17:06:10 +02:00
226d5da1fc GCM ciphersuites partially using cipher layer 2013-09-05 17:06:10 +02:00
143b5028a5 Implement DH blinding 2013-09-04 16:29:59 +02:00
c049955b32 Merged new cipher layer enhancements 2013-09-04 16:12:55 +02:00
2d627649bf Change dhm_calc_secret() prototype 2013-09-04 14:22:07 +02:00
ce4112538c Fix RC4 key length in cipher 2013-09-04 12:29:26 +02:00
83f3fc0d77 Add AES-192-GCM 2013-09-04 12:14:13 +02:00
43a4780b03 Ommit AEAD functions if GCM not defined 2013-09-03 19:28:35 +02:00
aa9ffc5e98 Split tag handling out of cipher_finish() 2013-09-03 19:20:55 +02:00
2adc40c346 Split cipher_update_ad() out or cipher_reset() 2013-09-03 19:20:55 +02:00
a235b5b5bd Fix iv_len interface.
cipher_info->iv_size == 0 is no longer ambiguous, and
cipher_get_iv_size() always returns something useful to generate an IV.
2013-09-03 13:25:52 +02:00
9c853b910c Split cipher_set_iv() out of cipher_reset() 2013-09-03 13:04:44 +02:00
e09d2f8261 Change ecp_mul() prototype to allow randomization
(Also improve an error code while at it.)
2013-09-02 14:29:09 +02:00
eb851f6cd5 Merged current cipher enhancements for ARC4 and AES-GCM 2013-09-01 15:49:38 +02:00
9241be7ac5 Change cipher prototypes for GCM 2013-08-31 18:07:42 +02:00
da02a7f45e AES_CBC ciphersuites now run purely via cipher layer 2013-08-31 17:25:14 +02:00
b5e85885de Handle NULL as a stream cipher for more uniformity 2013-08-30 17:11:28 +02:00
37e230c022 Add arc4 support in the cipher layer 2013-08-30 17:11:28 +02:00