DSA_DUP_DH(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

πŸ’– NAME πŸ’–

okay bestie, you're on DSA_DUP_DH(3) from the Library Functions Manual, and this page is about DSA_dup_DH β€” create a DH structure out of DSA structure. slay. ✨

✨ SYNOPSIS ✨

library β€œlibcrypto” #include <openssl/dsa.h>

DH *
DSA_dup_DH(const DSA *r);

πŸ¦‹ DESCRIPTION πŸ¦‹

DSA_dup_DH() duplicates DSA parameters/keys as DH parameters/keys. That's the whole vibe, no cap. πŸ’…

🌸 RETURN VALUES 🌸

DSA_dup_DH() returns the new DH structure or NULL on error. If you need the error codes, grab them with ERR_get_error(3). 🫢

🌈 SEE ALSO 🌈

πŸ‘‘ HISTORY πŸ‘‘

DSA_dup_DH() first appeared in OpenSSL 0.9.4 and has been available since OpenBSD 2.6. iconic behavior, honestly. ⭐

πŸ’€ CAVEATS πŸ’€

Be careful to avoid small subgroup attacks when using this. like, fr fr, keep that in mind. πŸ™ˆ


mwah πŸ’‹ this page is from Debian, dated June 8, 2025, and it's DSA_DUP_DH(3) β€” bye bestie! πŸŽ€

πŸ“¦ where this page comes from