gnutls_hpke_deinit(3) gnutls gnutls_hpke_deinit(3)

gnutls_hpke_deinit - API function

#include <gnutls/hpke.h>

int gnutls_hpke_deinit(gnutls_hpke_context_t ctx);

The HPKE context to deinitialize.

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.

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

3.8.13

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

Copyright © 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

3.8.13 gnutls