
ngtcp2_crypto_hp_mask_cb
========================

Synopsis
--------

*#include <ngtcp2/ngtcp2_crypto.h>*

.. function:: int ngtcp2_crypto_hp_mask_cb(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample)

    
    `ngtcp2_crypto_hp_mask_cb` is a wrapper function around
    `ngtcp2_crypto_hp_mask`.  It can be directly passed to
    :member:`ngtcp2_callbacks.hp_mask` field.
    
    This function returns 0 if it succeeds, or
    :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
