A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

History

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

2020-04-01, by andrewboyson [Wed, 01 Apr 2020 12:48:52 +0000] rev 24

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.


When polling for a response to an invalid session (rather than an empty one) changed from ignore to sending an error.

2019-10-28, by andrewboyson [Mon, 28 Oct 2019 08:18:57 +0000] rev 23

When polling for a response to an invalid session (rather than an empty one) changed from ignore to sending an error.


Removed error if passing a 0 id to TlsSessionGetFromIdOrNull; now it just returns NULL without complaining.

2019-10-23, by andrewboyson [Wed, 23 Oct 2019 08:44:50 +0000] rev 22

Removed error if passing a 0 id to TlsSessionGetFromIdOrNull; now it just returns NULL without complaining.


Removed debug messages

2019-10-16, by andrewboyson [Wed, 16 Oct 2019 17:14:03 +0000] rev 21

Removed debug messages


Updated aes128cbc to remove some hard to follow casting between a 1d buffer and a 2d array of rows and columns.

2019-10-16, by andrewboyson [Wed, 16 Oct 2019 11:11:03 +0000] rev 20

Updated aes128cbc to remove some hard to follow casting between a 1d buffer and a 2d array of rows and columns.


Pulled AES128_CBC_SHA1 into its own routines to keep it apart from future work.

2019-10-15, by andrewboyson [Tue, 15 Oct 2019 07:26:15 +0000] rev 19

Pulled AES128_CBC_SHA1 into its own routines to keep it apart from future work.


Gave the cipher part AES_128_CBC_SHA its own module.

2019-10-10, by andrewboyson [Thu, 10 Oct 2019 15:29:05 +0000] rev 18

Gave the cipher part AES_128_CBC_SHA its own module.


Defined a lot of lengths eg 20 -> SHA1_HASH_LENGTH

2019-10-10, by andrewboyson [Thu, 10 Oct 2019 07:38:13 +0000] rev 17

Defined a lot of lengths eg 20 -> SHA1_HASH_LENGTH


Tidied up the encrypt routines

2019-10-06, by andrewboyson [Sun, 06 Oct 2019 08:00:30 +0000] rev 16

Tidied up the encrypt routines


Tidied up the MAC padding and encryption routines

2019-10-04, by andrewboyson [Fri, 04 Oct 2019 18:25:55 +0000] rev 15

Tidied up the MAC padding and encryption routines