aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/doc/man3/PBMAC1_get1_pbkdf2_param.pod
blob: 415c3cd214a2e40f80ad51fa757555b1269ca1a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
=pod

=head1 NAME

PBMAC1_get1_pbkdf2_param - Function to manipulate a PBMAC1
MAC structure

=head1 SYNOPSIS

 #include <openssl/x509.h>

 PBKDF2PARAM *PBMAC1_get1_pbkdf2_param(const X509_ALGOR *macalg);

=head1 DESCRIPTION

PBMAC1_get1_pbkdf2_param() retrieves a B<PBKDF2PARAM> structure from an
I<X509_ALGOR> structure.

=head1 RETURN VALUES

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

=head1 CONFORMING TO

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

=head1 SEE ALSO

L<openssl-pkcs12(1)>

=head1 HISTORY

The I<PBMAC1_get1_pbkdf2_param> function was added in OpenSSL 3.4.

=head1 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
L<https://www.openssl.org/source/license.html>.

=cut