comparison src/event/quic/ngx_event_quic_protection.h @ 9171:f98636db77ef

QUIC: renamed protection functions. Now these functions have names ngx_quic_crypto_XXX(): - ngx_quic_tls_open() -> ngx_quic_crypto_open() - ngx_quic_tls_seal() -> ngx_quic_crypto_seal() - ngx_quic_tls_hp() -> ngx_quic_crypto_hp()
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 20 Oct 2023 18:05:07 +0400
parents ff98ae7d261e
children 4ccb0d973206
comparison
equal deleted inserted replaced
9170:c80d111340dc 9171:f98636db77ef
103 ngx_int_t ngx_quic_encrypt(ngx_quic_header_t *pkt, ngx_str_t *res); 103 ngx_int_t ngx_quic_encrypt(ngx_quic_header_t *pkt, ngx_str_t *res);
104 ngx_int_t ngx_quic_decrypt(ngx_quic_header_t *pkt, uint64_t *largest_pn); 104 ngx_int_t ngx_quic_decrypt(ngx_quic_header_t *pkt, uint64_t *largest_pn);
105 void ngx_quic_compute_nonce(u_char *nonce, size_t len, uint64_t pn); 105 void ngx_quic_compute_nonce(u_char *nonce, size_t len, uint64_t pn);
106 ngx_int_t ngx_quic_ciphers(ngx_uint_t id, ngx_quic_ciphers_t *ciphers, 106 ngx_int_t ngx_quic_ciphers(ngx_uint_t id, ngx_quic_ciphers_t *ciphers,
107 enum ssl_encryption_level_t level); 107 enum ssl_encryption_level_t level);
108 ngx_int_t ngx_quic_tls_seal(const ngx_quic_cipher_t *cipher, 108 ngx_int_t ngx_quic_crypto_seal(const ngx_quic_cipher_t *cipher,
109 ngx_quic_secret_t *s, ngx_str_t *out, u_char *nonce, ngx_str_t *in, 109 ngx_quic_secret_t *s, ngx_str_t *out, u_char *nonce, ngx_str_t *in,
110 ngx_str_t *ad, ngx_log_t *log); 110 ngx_str_t *ad, ngx_log_t *log);
111 ngx_int_t ngx_quic_hkdf_expand(ngx_quic_hkdf_t *hkdf, const EVP_MD *digest, 111 ngx_int_t ngx_quic_hkdf_expand(ngx_quic_hkdf_t *hkdf, const EVP_MD *digest,
112 ngx_log_t *log); 112 ngx_log_t *log);
113 113