summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_key_schedule.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* NULL out mdctx to prevent possible double free introduced in version 1.4beck2018-11-131-1/+2
| | | | Spotted by maestre@, ok tb@
* Avoid a double allocation and memory leak.jsing2018-11-101-4/+2
| | | | Reported by Ben L <bobsayshilol at live dot co dot uk>
* Fix last of the empty hash nonsensebeck2018-11-101-26/+3
| | | | ok jsing@
* Fix the TLSv1.3 key schedule implementation.jsing2018-11-091-56/+81
| | | | | | | | | | | | When the RFC refers to ("") for key derivation, it is referring to the transcript hash of an empty string, not an empty string. Rename tls13_secrets_new() to tls13_secrets_create(), make it take an EVP_MD * and calculate the hash of an empty string so that we have it available for the "derived" and other steps. Merge tls13_secrets_init() into the same function, remove the EVP_MD * from other functions and use the empty string hash at the appropriate places. ok beck@ tb@
* KNFbeck2018-11-081-3/+4
|
* Move #include <openssl/evp.h> to the header.tb2018-11-081-2/+1
| | | | discussed with beck and jsing
* Add initial TLS 1.3 key schedule support with basic regress testsbeck2018-11-071-0/+375
ok jsing@ tb@