improve SSL_CTX_set_tlsext_ticket_key_cb ref impl
authorGlenn Strauss <gstrauss@gluelogic.com>
Fri, 5 Jun 2020 21:14:08 +0000 (17:14 -0400)
committerMatt Caswell <matt@openssl.org>
Mon, 6 Jul 2020 13:48:12 +0000 (14:48 +0100)
commit8c330e1939d6b7db93a963116354ef80ca0babb3
tree77879730227ba006ecd5c4baa40d24137e4cfefe
parent2d9f56e9992ef3725b87a0a8e6165a18d038b784
improve SSL_CTX_set_tlsext_ticket_key_cb ref impl

improve reference implementation code in
  SSL_CTX_set_tlsext_ticket_key_cb man page

change EVP_aes_128_cbc() to EVP_aes_256_cbc(), with the implication
of requiring longer keys.  Updating this code brings the reference
implementation in line with implementation in openssl committed in 2016:
commit 05df5c20
Use AES256 for the default encryption algoritm for TLS session tickets

add comments where user-implementation is needed to complete code

CLA: trivial

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12063)
doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod