There was an error fetching the commit references. Please try again later.
Install rx and tx keys separately
This commit separates key installation function into 2 and let TLS stack install rx and tx keys separately for handshake and 1RTT keys. This change is aligned to the new BoringSSL API and GnuTLS API. I expect that OpenSSL will follow this change. It also removes side argument from crypto API if it can be inferred by ngtcp2_conn_is_server.
Showing
- crypto/gnutls/gnutls.c 3 additions, 2 deletionscrypto/gnutls/gnutls.c
- crypto/includes/ngtcp2/ngtcp2_crypto.h 46 additions, 31 deletionscrypto/includes/ngtcp2/ngtcp2_crypto.h
- crypto/openssl/openssl.c 4 additions, 5 deletionscrypto/openssl/openssl.c
- crypto/shared.c 90 additions, 47 deletionscrypto/shared.c
- examples/client.cc 10 additions, 6 deletionsexamples/client.cc
- examples/server.cc 10 additions, 6 deletionsexamples/server.cc
- lib/includes/ngtcp2/ngtcp2.h 62 additions, 24 deletionslib/includes/ngtcp2/ngtcp2.h
- lib/ngtcp2_conn.c 46 additions, 30 deletionslib/ngtcp2_conn.c
- tests/ngtcp2_conn_test.c 35 additions, 27 deletionstests/ngtcp2_conn_test.c
Please register or sign in to comment