Macros
ngtcp2 crypto library error codes
-
NGTCP2_CRYPTO_ERR_INTERNAL
NGTCP2_CRYPTO_ERR_INTERNAL
indicates an internal error.
-
NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN
NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN
indicates that a token is unreadable because it is not correctly formatted; or verifying the integrity protection failed.
-
NGTCP2_CRYPTO_ERR_VERIFY_TOKEN
NGTCP2_CRYPTO_ERR_VERIFY_TOKEN
indicates that a token does not probe the client address; or the token validity has expired; or it contains invalid Connection ID.
-
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_RETRY2
NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY2
is the magic byte for Retry token generated byngtcp2_crypto_generate_retry_token2()
.
-
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_RETRY_TOKENLEN2
NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN2
is the maximum length of a token generated byngtcp2_crypto_generate_retry_token2()
.
-
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()
.