ngtcp2_crypto_decrypt_cb ======================== Synopsis -------- *#include * .. function:: int ngtcp2_crypto_decrypt_cb(uint8_t *dest, const ngtcp2_crypto_aead *aead, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *ciphertext, size_t ciphertextlen, const uint8_t *nonce, size_t noncelen, const uint8_t *aad, size_t aadlen) `ngtcp2_crypto_decrypt_cb` is a wrapper function around `ngtcp2_crypto_decrypt`. It can be directly passed to :member:`ngtcp2_callbacks.decrypt` field. This function returns 0 if it succeeds, or :macro:`NGTCP2_ERR_TLS_DECRYPT`.