@@ -338,16 +338,16 @@ ngtcp2_crypto_hp_mask_cb(uint8_t *dest, const ngtcp2_crypto_cipher *hp,
338338 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
339339 * set negotiated AEAD and message digest algorithm. After the
340340 * successful call of this function, application can use
341- * `ngtcp2_conn_get_crypto_ctx ` (or `ngtcp2_conn_get_0rtt_crypto_ctx`
342- * if |level| ==
341+ * `ngtcp2_conn_get_crypto_ctx2 ` (or
342+ * `ngtcp2_conn_get_0rtt_crypto_ctx2` if |level| ==
343343 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
344344 * get :type:`ngtcp2_crypto_ctx`.
345345 *
346346 * If |conn| is initialized as client, and |level| is
347347 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_1RTT`, this
348348 * function retrieves a remote QUIC transport parameters extension
349- * from an object obtained by `ngtcp2_conn_get_tls_native_handle`, and
350- * sets it to |conn| by calling
349+ * from an object obtained by `ngtcp2_conn_get_tls_native_handle2`,
350+ * and sets it to |conn| by calling
351351 * `ngtcp2_conn_decode_and_set_remote_transport_params`.
352352 *
353353 * This function returns 0 if it succeeds, or -1.
@@ -385,16 +385,16 @@ NGTCP2_EXTERN int ngtcp2_crypto_derive_and_install_rx_key(
385385 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
386386 * set negotiated AEAD and message digest algorithm. After the
387387 * successful call of this function, application can use
388- * `ngtcp2_conn_get_crypto_ctx ` (or `ngtcp2_conn_get_0rtt_crypto_ctx`
389- * if |level| ==
388+ * `ngtcp2_conn_get_crypto_ctx2 ` (or
389+ * `ngtcp2_conn_get_0rtt_crypto_ctx2` if |level| ==
390390 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
391391 * get :type:`ngtcp2_crypto_ctx`.
392392 *
393393 * If |conn| is initialized as server, and |level| is
394394 * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_1RTT`, this
395395 * function retrieves a remote QUIC transport parameters extension
396- * from an object obtained by `ngtcp2_conn_get_tls_native_handle`, and
397- * sets it to |conn| by calling
396+ * from an object obtained by `ngtcp2_conn_get_tls_native_handle2`,
397+ * and sets it to |conn| by calling
398398 * `ngtcp2_conn_decode_and_set_remote_transport_params`.
399399 *
400400 * This function returns 0 if it succeeds, or -1.
@@ -986,15 +986,17 @@ NGTCP2_EXTERN void ngtcp2_crypto_delete_crypto_cipher_ctx_cb(
986986/**
987987 * @function
988988 *
989+ * .. warning::
990+ *
991+ * .. version-deprecated:: 1.22.0
992+ * Use `ngtcp2_crypto_get_path_challenge_data2_cb` instead.
993+ *
989994 * `ngtcp2_crypto_get_path_challenge_data_cb` writes unpredictable
990995 * sequence of :macro:`NGTCP2_PATH_CHALLENGE_DATALEN` bytes to |data|
991996 * which is sent with PATH_CHALLENGE frame.
992997 *
993998 * This function can be directly passed to
994999 * :member:`ngtcp2_callbacks.get_path_challenge_data` field.
995- *
996- * Deprecated since v1.22.0. Use
997- * `ngtcp2_crypto_get_path_challenge_data2_cb` instead.
9981000 */
9991001NGTCP2_EXTERN int ngtcp2_crypto_get_path_challenge_data_cb (ngtcp2_conn * conn ,
10001002 uint8_t * data ,
@@ -1010,7 +1012,7 @@ NGTCP2_EXTERN int ngtcp2_crypto_get_path_challenge_data_cb(ngtcp2_conn *conn,
10101012 * This function can be directly passed to
10111013 * :member:`ngtcp2_callbacks.get_path_challenge_data2` field.
10121014 *
1013- * This function has been available since v1 .22.0.
1015+ * .. version-added:: 1 .22.0
10141016 */
10151017NGTCP2_EXTERN int ngtcp2_crypto_get_path_challenge_data2_cb (
10161018 ngtcp2_conn * conn , ngtcp2_path_challenge_data * data , void * user_data );
0 commit comments