- 25 Jun, 2013 15 commits
-
-
Paul Bakker authored
(cherry picked from commit 2be71faa)
-
Paul Bakker authored
POLARSSL_ERR_X509_PASSWORD_MISMATCH is returned instead of POLARSSL_ERR_PEM_PASSWORD_MISMATCH and POLARSSL_ERR_X509_PASSWORD_REQUIRED instead of POLARSSL_ERR_PEM_PASSWORD_REQUIRED Rationale: For PKCS#8 encrypted keys the same are returned (cherry picked from commit b495d3a2)
-
Paul Bakker authored
(cherry picked from commit 1fc7dfe2)
-
Paul Bakker authored
(cherry picked from commit ff3a4b01)
-
Paul Bakker authored
Allow user-defined settings without editing header files by using POLARSSL_CONFIG_OPTIONS in config.h (cherry picked from commit 6fa54887) Conflicts: include/polarssl/config.h
-
Paul Bakker authored
The error code POLARSSL_ERR_X509_PASSWORD_MISMATCH is now properly returned in case of an encryption failure in the padding. The POLARSSL_ERR_X509_PASSWORD_REQUIRED error code is only returned for PEM formatted private keys as for DER formatted ones it is impossible to distinguish if a DER blob is PKCS#8 encrypted or not. (cherry picked from commit 1fd4321b) Conflicts: include/polarssl/error.h scripts/generate_errors.pl
-
Paul Bakker authored
old PBKDF2 module. (cherry picked from commit 19bd297d) Conflicts: include/polarssl/error.h scripts/generate_errors.pl
-
Paul Bakker authored
(cherry picked from commit 52b845be)
-
Paul Bakker authored
(cherry picked from commit 67812d39)
-
Paul Bakker authored
Moved from readdir() to readdir_r() and use stat instead of the less portable d_type from struct dirent. (cherry picked from commit cbfcaa92)
-
Paul Bakker authored
Removed chain functionality from x509parse_crt() as x509parse_crt_der() now handles that much cleaner. (cherry picked from commit d6d4109a)
-
Paul Bakker authored
All symmetric cipher algorithms and hash algorithms now include support for a POLARSSL_XXX_ALT flag that prevents the definition of the algorithm context structure and all 'core' functions. (cherry picked from commit 4087c470)
-
Paul Bakker authored
(cherry picked from commit 9691bbe9)
-
Paul Bakker authored
PKCS#8 encrypted key file support has been added to x509parse_key() with support for some PCKS#12 PBE functions (pbeWithSHAAnd128BitRC4, pbeWithSHAAnd3-KeyTripleDES-CBC and pbeWithSHAAnd2-KeyTripleDES-CBC) (cherry picked from commit cf6e95d9) Conflicts: scripts/generate_errors.pl
-
Paul Bakker authored
Split up x509parse_key() into a (PEM) handler function and specific DER parser functions for the PKCS#1 (x509parse_key_pkcs1_der()) and unencrypted PKCS#8 (x509parse_key_pkcs8_unencrypted_der()) private key formats. (cherry picked from commit 65a1909d) Conflicts: library/x509parse.c
-
- 24 Jun, 2013 10 commits
-
-
Paul Bakker authored
(cherry picked from commit 1922a4e6)
-
Paul Bakker authored
Because of new pem_read_buffer() handling of when it writes use_len, x509parse_crt() is able to better handle situations where a PEM blob results in an error but the other blobs can still be parsed. (cherry picked from commit 64171863)
-
Paul Bakker authored
After header and footer are read, pem_read_buffer() is able to determine the length of input data used. This allows calling functions to skip this PEM bit if an error occurs during its parsing. (cherry picked from commit 9255e830)
-
Paul Bakker authored
(cherry picked from commit ac6168b9)
-
Paul Bakker authored
Rationale: The HAVEGE random generator has too many caveats to be a standard generator that people rely on. The HAVEGE random generator is not suitable for virtualized environments. In addition the HAVEGE random generator is dependent on timing and specific processor traits that cannot be guaranteed by default on compile time. Our advice: only use HAVEGE as an additional random source for your entropy pool, never as your primary source. (cherry picked from commit 08f06cf4)
-
Paul Bakker authored
(cherry picked from commit e0225e4d) Conflicts: programs/ssl/ssl_client2.c programs/ssl/ssl_server2.c programs/test/ssl_test.c programs/x509/cert_app.c
-
Paul Bakker authored
(cherry picked from commit eae09db9) Conflicts: library/gcm.c
-
Paul Bakker authored
(cherry picked from commit 7c3c3899)
-
Paul Bakker authored
-
Paul Bakker authored
-
- 22 May, 2013 1 commit
-
-
Paul Bakker authored
-
- 21 May, 2013 1 commit
-
-
Paul Bakker authored
cert_app
-
- 14 May, 2013 2 commits
-
-
Paul Bakker authored
-
Paul Bakker authored
-
- 19 Apr, 2013 10 commits
-
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
code selection The base RFC 4279 DHE-PSK ciphersuites are now supported and added. The SSL code cuts out code not relevant for defined key exchange methods
-
Paul Bakker authored
-
Paul Bakker authored
-
Paul Bakker authored
methods. Introduces POLARSSL_KEY_EXCHANGE_RSA_ENABLED, POLARSSL_KEY_EXCHANGE_DHE_RSA_ENABLED, POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED, etc
-
- 18 Apr, 2013 1 commit
-
-
Paul Bakker authored
At the end of config.h sanity checks have been added to check for prerequisites in the different module dependencies
-