gnutls_hpke_deinit(3)

gnutls_hpke_deinit3

Api function

Usage

#include <gnutls/hpke.h>

int gnutls_hpke_deinit(gnutls_hpke_context_t ctx);

Arguments

gnutls_hpke_context_t ctx

The HPKE context to deinitialize.

Overview

This function deinitializes the HPKE context and securely erases any sensitive information contained within it, such as keys and secrets. It is important to call this function when the HPKE context is no longer needed to prevent sensitive data from lingering in memory.

Returns

0 on success, or a negative error code on failure.

Since

3.8.13

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.