DH_GET_EX_NEW_INDEX(3)
π DH_GET_EX_NEW_INDEX(3) π
okay okay, welcome to the Library Functions Manual corner of the group chat, bestie π«Ά this one is short but itβs literally the whole vibe: adding application specific data to DH structures β¨
π NAME π
DH_get_ex_new_index,DH_set_ex_data,DH_get_ex_dataβ the little trio that adds application specific data toDHstructures π
β¨ SYNOPSIS β¨
first up, this lives in the libcrypto library, no cap:
library βlibcryptoβ #include <openssl/dh.h>
int
DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int
DH_set_ex_data(DH *d, int idx, void *arg);
char *
DH_get_ex_data(DH *d, int idx);
πΈ DESCRIPTION πΈ
These functions handle application specific data in DH structures. Thatβs the whole assignment, and they ate π
Their usage is identical to that of RSA_get_ex_new_index(3), RSA_set_ex_data(3), and RSA_get_ex_data(3) β like, same energy, same rules, periodt π
π¦ SEE ALSO π¦
π HISTORY π
DH_get_ex_new_index(), DH_set_ex_data(), and DH_get_ex_data() first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7 β
xoxo, this page is from Debian, dated June 8, 2025 β DH_GET_EX_NEW_INDEX(3) out, bestie ππ
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2000 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms