Added proper gitignores for linux compilation
(cherry picked from commit 90f309ffe784daa69568ac688b0bd6c118d4e2e0)
Added proper gitignores for Linux CMake use
(cherry picked from commit 25338d74aca14571ad1bb7c549071544a86d466b)
Fixed potential memory zeroization on miscrafted RSA key
(cherry picked from commit 3c16db9a10a3087e1611cd8ffb9ca564c0e9cf60)

Conflicts:
	ChangeLog (Moved message to 'Branch 1.1')
Fixed for SPARC64
(cherry picked from commit 4f024b7ba9b472d1ec80b05cec49e8d41c370aa3)

Conflicts:
	ChangeLog (Moved to 'Branch 1.1')
Handle existence of OpenSSL Trust Extensions at end of X.509 DER blob
(cherry picked from commit b00ca42f2a26133172d9df9304bfbc9b093a43dc)

Conflicts:
	ChangeLog (Moved message to 'Branch 1.1')
Fixed test for 'trust extension' change
(cherry picked from commit 1a0f5520303f34c0faaf0e4be4403d5e43173e58)
Fixed bug in mpi_add_abs with adding a small number to a large mpi with carry rollover.
(cherry picked from commit 2d319fdfcb36d53a733293904a5bf42775332fed)
Added bug to ChangeLog
(cherry picked from commit d4c2bd79fe61e466f07977b4b53b33c1dae93648)

Conflicts:
	ChangeLog
Added regression check for latest mpi_add_abs() issue
(cherry picked from commit 17a97909188bb529acf7fa2db2d582e7b489b89e)
Moved mpi_inv_mod() outside POLARSSL_GENPRIME
(cherry picked from commit d9374b05d67ca1abcfe0f6b289b6583b6257eee3)

Conflicts:
	ChangeLog
Better checking for reading over buffer boundaries
(Partial cherry picked from commit 535e97dbab8cf34bb1e487f0f0f169a04eb9921f)
mpi_exp_mod() now correctly handles negative base numbers (Closes ticket #52)
(cherry picked from commit f6198c1513edcb44e7edb96fc82e3a5549a4bdc3)
Fixed segfault in mpi_shift_r(), Fixed memory leak in test_suite_mpi
(cherry picked from commit e44ec108bea03837fa72714ca33e6dc557c1189b)
Allow R and A to point to same mpi in mpi_div_mpi
(cherry picked from commit f02c5642d0f19281e7c30d849bf8cd94703a9bd5 and
from commit 50546921ac8250d1884c41fd9dc7a645007d4103)
Added max length check for rsa_pkcs1_sign with PKCS#1 v2.1
(cherry picked from commit 9daf0d0651d6346f6f21b6bce9797c626c88f24f)
Fixed doxygen blocks
(cherry picked from commit 77db6ce3481ad610ee786d5ab171d5d10c1cb59d)
Fixed comments / typos
(cherry picked from commit 096348fa7984bb86201c50d8e8e030059af2fb6d)
Memory leak when using RSA_PKCS_V21 operations fixed
(cherry picked from commit 40628bad98973fb7270b6822924086c4d27b3b79 and
from commit 02303e8be478dc8836093331bde1341936ce1dc9)
Handle encryption with private key and decryption with public key as per RFC 2313
(cherry picked from commit e6ee41f932f71e86b2d33a9ed12ba4e3d172b1ca)
Fixes for MSVC6
(cherry picked from commit 7a2538ee38f6fde58bc6d3eb45624a5ac8eeaa30)