PBMAC1_GET1_PBKDF2_PARAM(3ossl)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

okay so bestie, welcome to this OpenSSL manual page for PBMAC1_GET1_PBKDF2_PARAM(3ossl) ✨ it’s section 3ossl, and we’re about to make this function make sense, no cap.

πŸŽ€ NAME πŸŽ€

PBMAC1_get1_pbkdf2_param β€” function to manipulate a PBMAC1 MAC structure πŸ’…

🌸 SYNOPSIS 🌸

#include <openssl/x509.h>

PBKDF2PARAM *PBMAC1_get1_pbkdf2_param(const X509_ALGOR *macalg);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so PBMAC1_get1_pbkdf2_param() retrieves a PBKDF2PARAM structure from an X509_ALGOR structure. that’s the whole move, bestie β€” it’s giving β€œget the param out of the alg” energy 🫢

πŸ’– RETURN VALUES πŸ’–

PBMAC1_get1_pbkdf2_param() returns NULL when PBMAC1 uses an algorithm apart from PBKDF2, or when you pass it incorrect parameters 😭 otherwise it returns a pointer to a PBKDF2PARAM structure. slay.

bestie pls note: NULL is the β€œnope, not happening” answer here β€” either the algorithm isn’t PBKDF2 or the parameters are incorrect πŸ’€

🌈 CONFORMING TO 🌈

IETF RFC 9579 (<https://tools.ietf.org/html/rfc9579>) ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

πŸ“ HISTORY πŸ“

The PBMAC1_get1_pbkdf2_param function was added in OpenSSL 3.4. periodt πŸ’œ

Copyright 2021-2024 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.


that’s the whole page, bestie β€” OpenSSL 3.5.6, dated 2026-04-07. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from