ngtcp2_conn_set_0rtt_crypto_ctx
Synopsis
#include <ngtcp2/ngtcp2.h>
-
void ngtcp2_conn_set_0rtt_crypto_ctx(ngtcp2_conn *conn, const ngtcp2_crypto_ctx *ctx)
ngtcp2_conn_set_0rtt_crypto_ctx()sets ctx for 0-RTT packet encryption. The passed data will be passed tongtcp2_encrypt,ngtcp2_decryptandngtcp2_hp_maskcallbacks.