libressl-DSA_get_ex_new_index(3)

libressl-DSA_get_ex_new_index3

Add application specific data to dsa structures

Usage

Crypto Library (libcrypto, -lcrypto)

#include <openssl/dsa.h>

int

DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);

int

DSA_set_ex_data(DSA *d, int idx, void *arg);

char *

DSA_get_ex_data(DSA *d, int idx);

Overview

These functions handle application specific data in DSA structures. Their usage is identical to that of RSA_get_ex_new_index(3), RSA_set_ex_data(3), and RSA_get_ex_data(3).

History

DSA_get_ex_new_index(), DSA_set_ex_data(), and DSA_get_ex_data() first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.