Macros
-
NGTCP2_CRYPTO_TOKEN_RAND_DATALEN
NGTCP2_CRYPTO_TOKEN_RAND_DATALEN
is the length of random data added to a token generated byngtcp2_crypto_generate_retry_token()
orngtcp2_crypto_generate_regular_token()
.
-
NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY
NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY
is the magic byte for Retry token generated byngtcp2_crypto_generate_retry_token()
.
-
NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR
NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR
is the magic byte for a token generated byngtcp2_crypto_generate_regular_token()
.
-
NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN
NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN
is the maximum length of a token generated byngtcp2_crypto_generate_retry_token()
.
-
NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN
NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN
is the maximum lengthof a token generated by
ngtcp2_crypto_generate_regular_token()
.
quictls specific error codes
-
NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_X509_LOOKUP
NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_X509_LOOKUP
is the error code which indicates that TLS handshake routine is interrupted by X509 certificate lookup. SeeSSL_ERROR_WANT_X509_LOOKUP
error description fromSSL_do_handshake()
.
-
NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_CLIENT_HELLO_CB
NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_CLIENT_HELLO_CB
is the error code which indicates that TLS handshake routine is interrupted by client hello callback. SeeSSL_ERROR_WANT_CLIENT_HELLO_CB
error description fromSSL_do_handshake()
.