PBMAC1_GET1_PBKDF2_PARAM(3ossl)
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 π
openssl-pkcs12(1)β go peek at that one too, iykyk π§
π HISTORY π
The PBMAC1_get1_pbkdf2_param function was added in OpenSSL 3.4. periodt π
π COPYRIGHT π
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
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms