Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sec_pk_data_zero_and_free(3sec) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

sec_pk_data_zero_and_free(3sec)  —  Subroutines

NAME

sec_pk_data_zero_and_free — Frees and zeros out memory allocated to a sec_pk_data_t or its aliases.  This routine is not available in the DCE binary code.  It is provided in DCE source for use by vendors. 

Synopsis

void sec_pk_data_zero_and_free(
sec_pk_data_t  ∗data_p);

Parameters

Input/Output

data_pAs input, a pointer to a sec_pk_data_t that points to the memory to be reclaimed.  As output, a pointer to a sec_pk_data_t that is set to NULL. 

Description

The sec_pk_data_zero_and_free() routine zeros out and frees memory allocated to a sec_pk_data_t or its aliases.  Use this function, rather than sec_pk_data_free(), for structures that contain the private part of a public key pair or secret keys. 

Files

/usr/include/dce/sec_pk_base.idl
The idl file from which dce/sec_pk_base.h was derived. 

Related Information

Functions: sec_pk_data_free(3sec). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026