comparison src/event/ngx_event_quic.h @ 8178:a9ff4392ecde quic

QUIC header protection routines, introduced ngx_quic_tls_hp().
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 28 Feb 2020 13:09:52 +0300
parents 76e29ff31cd3
children 7ee1ada04c8a
comparison
equal deleted inserted replaced
8177:76e29ff31cd3 8178:a9ff4392ecde
58 u_char *nonce, ngx_str_t *in, ngx_str_t *ad); 58 u_char *nonce, ngx_str_t *in, ngx_str_t *ad);
59 ngx_int_t ngx_quic_tls_seal(ngx_connection_t *c, 59 ngx_int_t ngx_quic_tls_seal(ngx_connection_t *c,
60 const ngx_aead_cipher_t *cipher, ngx_quic_secret_t *s, ngx_str_t *out, 60 const ngx_aead_cipher_t *cipher, ngx_quic_secret_t *s, ngx_str_t *out,
61 u_char *nonce, ngx_str_t *in, ngx_str_t *ad); 61 u_char *nonce, ngx_str_t *in, ngx_str_t *ad);
62 62
63 ngx_int_t
64 ngx_quic_tls_hp(ngx_connection_t *c, const EVP_CIPHER *cipher,
65 ngx_quic_secret_t *s, u_char *out, u_char *in);
63 66
64 #endif /* _NGX_EVENT_QUIC_H_INCLUDED_ */ 67 #endif /* _NGX_EVENT_QUIC_H_INCLUDED_ */