mbedtls/library
Paul Bakker 28144decef PKCS#5 v2 PBES2 support and use in PKCS#8 encrypted certificates
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 1fd4321ba2016dfaff2b48c11f731fc9ccbd7ccf)

Conflicts:
	include/polarssl/error.h
	scripts/generate_errors.pl
2013-06-25 15:06:52 +02:00
..
.gitignore Added proper gitignores for linux compilation 2012-11-17 00:04:49 +01:00
aes.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
arc4.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
asn1parse.c - Changed the behaviour of x509parse_parse_crt for permissive parsing. Now returns the number of 'failed certificates' instead of having a switch to enable it. 2011-12-10 21:55:01 +00:00
asn1write.c More granular define selections within code to allow for smaller code 2013-04-18 23:12:34 +02:00
base64.c Fixed const correctness issues that have no impact on the ABI 2013-06-24 19:09:24 +02:00
bignum.c Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler 2013-06-25 15:06:52 +02:00
blowfish.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
camellia.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
certs.c - Re-added removed dhm test values 2011-03-08 13:58:16 +00:00
cipher.c Moved to advanced ciphersuite representation and more dynamic SSL code 2013-03-13 14:48:32 +01:00
cipher_wrap.c Blowfish has default of 128-bit keysize in cipher layer 2013-04-07 22:35:44 +02:00
CMakeLists.txt PKCS#5 module added. Moved PBKDF2 functionality inside and deprecated 2013-06-25 15:06:52 +02:00
ctr_drbg.c Possible resource leak on FILE* removed in CTR_DRBG 2013-05-14 13:22:41 +02:00
debug.c More granular define selections within code to allow for smaller code 2013-04-18 23:12:34 +02:00
des.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
dhm.c DHE-PSK based ciphersuite support added and cleaner key exchange based 2013-04-19 20:47:26 +02:00
ecdh.c Added Ephemeral Elliptic Curve Diffie Hellman ciphersuites to SSL/TLS 2013-03-20 14:39:14 +01:00
ecdsa.c Add ECDSA signature primitive. 2013-01-26 19:11:28 +01:00
ecp.c Fixed compiler warning for possible uninitialized ret 2013-04-08 13:40:17 +02:00
entropy.c - Added option to prevent default entropy sources from loading (POLARSSL_NO_DEFAULT_ENTROPY_SOURCES) 2011-12-15 20:11:16 +00:00
entropy_poll.c - Fixes for MSVC6 2012-11-02 10:59:36 +00:00
error.c PKCS#5 v2 PBES2 support and use in PKCS#8 encrypted certificates 2013-06-25 15:06:52 +02:00
gcm.c Cleanup of the GCM code 2013-04-09 11:36:42 +02:00
havege.c - Changed the used random function pointer to more flexible format. Renamed havege_rand() to havege_random() to prevent mistakes. Lots of changes as a consequence in library code and programs 2011-11-27 21:07:34 +00:00
Makefile PKCS#5 module added. Moved PBKDF2 functionality inside and deprecated 2013-06-25 15:06:52 +02:00
md.c Added md_process() to MD layer for generic internal access to hash 2013-03-13 10:26:44 +01:00
md2.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
md4.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
md5.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
md_wrap.c Functions inside md_wrap.c now marked static 2013-03-13 10:31:31 +01:00
net.c Fixed net_bind() for specified IP addresses on little endian systems 2013-03-06 18:01:03 +01:00
oid.c More granular define selections within code to allow for smaller code 2013-04-18 23:12:34 +02:00
padlock.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
pbkdf2.c PKCS#5 module added. Moved PBKDF2 functionality inside and deprecated 2013-06-25 15:06:52 +02:00
pem.c pem_read_buffer() already update use_len after header and footer are read 2013-06-24 19:09:25 +02:00
pkcs5.c PKCS#5 v2 PBES2 support and use in PKCS#8 encrypted certificates 2013-06-25 15:06:52 +02:00
pkcs11.c - Fixed argument types 2012-11-14 12:14:19 +00:00
pkcs12.c Fixed location of brackets in pkcs12.c 2013-06-25 15:06:52 +02:00
rsa.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
sha1.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
sha2.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
sha4.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
ssl_cache.c More granular define selections within code to allow for smaller code 2013-04-18 23:12:34 +02:00
ssl_ciphersuites.c Added PSK GCM, SHA256 and SHA384 ciphers from RFC5487 2013-04-19 22:03:30 +02:00
ssl_cli.c Fixed parse error in ssl_parse_certificate_request() 2013-05-22 13:56:26 +02:00
ssl_srv.c Secure renegotiation extension should only be sent in case client supports secure renegotiation 2013-06-24 19:09:24 +02:00
ssl_tls.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00
timing.c - Moved to more flexible define structure 2012-10-31 09:53:08 +00:00
version.c - Fixed copyright message 2010-07-18 20:36:00 +00:00
x509parse.c PKCS#5 v2 PBES2 support and use in PKCS#8 encrypted certificates 2013-06-25 15:06:52 +02:00
x509write.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
xtea.c Added mechanism to provide alternative cipher / hash implementations 2013-06-25 15:06:51 +02:00