logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PBMAC1_get1_pbkdf2_param - Function to manipulate a PBMAC1 MAC structure

Conforming To

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

Description

PBMAC1_get1_pbkdf2_param() retrieves a PBKDF2PARAM structure from an X509_ALGOR structure.

History

       The PBMAC1_get1_pbkdf2_param function was added in OpenSSL 3.4.

Name

       PBMAC1_get1_pbkdf2_param - Function to manipulate a PBMAC1 MAC structure

Return Values

PBMAC1_get1_pbkdf2_param() returns NULL in case when PBMAC1 uses an algorithm apart from PBKDF2 or when
       passed incorrect parameters and a pointer to PBKDF2PARAM structure otherwise.

See Also

openssl-pkcs12(1)

Synopsis

        #include <openssl/x509.h>

        PBKDF2PARAM *PBMAC1_get1_pbkdf2_param(const X509_ALGOR *macalg);

See Also