mbedtls/library
Paul Bakker 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
..
.gitignore Added proper gitignores for linux compilation 2012-11-17 00:04:49 +01:00
aes.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
arc4.c - Major type rewrite of int to size_t for most variables and arguments used for buffer lengths and loops 2011-04-24 08:57:21 +00: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 Const correctness added for asn1write functions 2013-04-07 13:11:31 +02:00
base64.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
bignum.c Added conversion to int for a t_uint value to prevent compiler warnings 2013-03-06 18:00:54 +01:00
blowfish.c - Moved definition to top to prevent MS VC compiler warning 2012-10-01 20:58:19 +00:00
camellia.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00: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 Moved to advanced ciphersuite representation and more dynamic SSL code 2013-03-13 14:48:32 +01:00
CMakeLists.txt OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
ctr_drbg.c - Fixed off-by-one loop 2012-11-09 15:30:07 +00:00
debug.c Added Ephemeral Elliptic Curve Diffie Hellman ciphersuites to SSL/TLS 2013-03-20 14:39:14 +01:00
des.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
dhm.c - Extra sanity check for input added 2012-09-16 15:07:49 +00: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 Fix ecp_tls_read_point's signature 2013-02-10 13:38:29 +01: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 OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
gcm.c Modified to work in-place 2013-03-13 11:46:00 +01: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 OID functionality moved to a separate module. 2013-04-07 22:00:46 +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 md_process() to MD layer for generic internal access to hash 2013-03-13 10:26:44 +01:00
md4.c Added md_process() to MD layer for generic internal access to hash 2013-03-13 10:26:44 +01:00
md5.c Removed further timing differences during SSL message decryption in ssl_decrypt_buf() 2013-02-27 14:48:00 +01: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 OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
padlock.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
pbkdf2.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00
pem.c - Added permissive certificate parsing to x509parse_crt() and x509parse_crtfile(). With permissive parsing the parsing does not stop on encountering a parse-error 2011-12-04 12:24:18 +00:00
pkcs11.c - Fixed argument types 2012-11-14 12:14:19 +00:00
rsa.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
sha1.c Removed further timing differences during SSL message decryption in ssl_decrypt_buf() 2013-02-27 14:48:00 +01:00
sha2.c Removed further timing differences during SSL message decryption in ssl_decrypt_buf() 2013-02-27 14:48:00 +01:00
sha4.c Added md_process() to MD layer for generic internal access to hash 2013-03-13 10:26:44 +01:00
ssl_cache.c The SSL session cache module (ssl_cache) now also retains peer_cert information (not the entire chain) 2013-03-06 18:01:03 +01:00
ssl_ciphersuites.c Added ECDHE-based SHA256 and SHA384 ciphersuites 2013-03-20 15:31:54 +01:00
ssl_cli.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
ssl_srv.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
ssl_tls.c Corrected behaviour for CBC-based suites using the SHA384 MAC and PRF 2013-03-20 15:30:09 +01: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 OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
x509write.c OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
xtea.c - Moved from unsigned long to uint32_t throughout code 2012-10-01 14:41:15 +00:00