A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

Changes

RevisionDateWhoCommit message
24:cb43290fc439 2020-04-01 andrewboyson Added check so that if the client closes the TCP connection before the TLS connection is established then respond that we have finished and the TCP connection is to be closed. default tip
23:e93d5529b7a6 2019-10-28 andrewboyson When polling for a response to an invalid session (rather than an empty one) changed from ignore to sending an error.
22:af0b5ceb556e 2019-10-23 andrewboyson Removed error if passing a 0 id to TlsSessionGetFromIdOrNull; now it just returns NULL without complaining.
21:a6d6e26dd742 2019-10-16 andrewboyson Removed debug messages
20:197c3e6e8b8d 2019-10-16 andrewboyson Updated aes128cbc to remove some hard to follow casting between a 1d buffer and a 2d array of rows and columns.
19:f22327e8be7b 2019-10-15 andrewboyson Pulled AES128_CBC_SHA1 into its own routines to keep it apart from future work.
18:e3cf22ba2a06 2019-10-10 andrewboyson Gave the cipher part AES_128_CBC_SHA its own module.
17:93feb2a51d58 2019-10-10 andrewboyson Defined a lot of lengths eg 20 -> SHA1_HASH_LENGTH
16:7eeb5f6626ad 2019-10-06 andrewboyson Tidied up the encrypt routines
15:4ddb73b5fea1 2019-10-04 andrewboyson Tidied up the MAC padding and encryption routines
14:03a0b8fd6ddc 2019-10-02 andrewboyson Session resume now working. TLS working quickly after the initial 5 second RSA decrypt time using the 1024 bit private key.
13:0a80b49a5e78 2019-09-27 andrewboyson Removed bug with TLS session. Unable to test as compiler has moved to v6 again (I think)
12:2c342345b3db 2019-09-26 andrewboyson Chinese remainder theorem implemented giving a useful reduction from 20s to 5s to decrypt RSA.
11:72b30622cacb 2019-09-24 andrewboyson Moved big numbers to lpc1768 library
10:e269fd7b9500 2019-09-24 andrewboyson Got padlock and some application data through. Now need to use China remainder theorem to speed up decryption and things up and the session id to avoid having to do the decryption.
9:f354b4859b0b 2019-09-11 andrewboyson Got application data to be returned but not encrypted yet
8:5e66a6b4b38c 2019-09-07 andrewboyson Got TLS working as far as being able to verify finished message itself and to verify the MAC on the finished and the subsequent alert message.
7:94ef5824c3c0 2019-09-05 andrewboyson Client handshake is now verified
6:819c17738dc2 2019-09-01 andrewboyson Making progress - now have decryption working.
5:ee5489ee1117 2019-08-28 andrewboyson Added connection status
4:6a1d887f1cad 2019-08-20 andrewboyson Continued work to implement TLS
3:e6a2c4579a4d 2019-08-02 andrewboyson Changed SHA-256 to be addable rather than all at once so that it can be used with TLS handshakes.
2:82268409e83f 2019-07-31 andrewboyson A lot of tidying. Not working yet.
1:9c66a551a67e 2019-07-26 andrewboyson Moved TLS module from net library to crypto library
0:be515c9019e3 2019-07-25 andrewboyson Pulled together existing modules from https and big numbers into this one. Added TLS PRF module.