PBMAC1_GET1_PBKDF2_PARAM(3ossl)

πŸ’– PBMAC1_get1_pbkdf2_param πŸ’–

okay bestie, welcome to the <openssl/x509.h> corner of the OpenSSL multiverse (manual name 3ossl, iykyk) β€” this is the page for PBMAC1_get1_pbkdf2_param, the little function whose whole job is to manipulate a PBMAC1 MAC structure. she's niche, she's precise, she ate πŸ’…


✨ 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);

like. that's the whole entrance. no notes 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically PBMAC1_get1_pbkdf2_param() retrieves a PBKDF2PARAM structure from an X509_ALGOR structure. that's the vibe. that's the assignment. she goes in, she pulls the PBKDF2PARAM out, she hands it to you ✨


πŸ‘‘ RETURN VALUES πŸ‘‘

  • PBMAC1_get1_pbkdf2_param() returns NULL when PBMAC1 uses an algorithm apart from PBKDF2, or when you passed it incorrect parameters 😭 (not her fault bestie, the inputs were giving chaos)
  • otherwise? a pointer to a PBKDF2PARAM structure. slay πŸ’…
fr fr, check that NULL. no cap.

🌈 CONFORMING TO 🌈

IETF RFC 9579 (https://tools.ietf.org/html/rfc9579) β€” she's compliant, she's certified, she's iconic ⭐


πŸ”₯ SEE ALSO πŸ”₯


πŸ’œ HISTORY πŸ’œ

The PBMAC1_get1_pbkdf2_param function was added in OpenSSL 3.4. so she's relatively new to the scene and already main character energy πŸ¦‹


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.


and that's the page bestie!! πŸ’– this was version 3.5.9, dated 2026-09-29, from the OpenSSL girlies β€” go forth and retrieve those PBKDF2PARAMs responsibly, mwah πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from