Add EVP_KDF-X942 to the fips module
[openssl.git] / doc / man3 / EVP_PKEY_CTX_get0_libctx.pod
1 =pod
2
3 =head1 NAME
4
5 EVP_PKEY_CTX_get0_libctx,
6 EVP_PKEY_CTX_get0_propq
7 - functions for getting OSSL_LIB_CTX and property query data from an EVP_PKEY_CTX
8
9 =head1 SYNOPSIS
10
11  #include <openssl/evp.h>
12
13  OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
14  const char *EVP_PKEY_CTX_get0_propq(EVP_PKEY_CTX *ctx);
15
16 =head1 DESCRIPTION
17
18 The EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions obtain
19 the OSSL_LIB_CTX and property query string values respectively that were
20 associated with the EVP_PKEY_CTX when it was constructed.
21
22 =head1 RETURN VALUES
23
24 EVP_PKEY_CTX_get0_libctx() and EVP_PKEY_CTX_get0_propq() functions return the
25 OSSL_LIB_CTX and property query string associated with the EVP_PKEY_CTX or NULL
26 if they are not set. The returned values should not be freed by the caller.
27
28 =head1 SEE ALSO
29
30 L<EVP_PKEY_CTX_new(3)>
31
32 =head1 HISTORY
33
34 All functions were added in OpenSSL 3.0.
35
36 =head1 COPYRIGHT
37
38 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
39
40 Licensed under the Apache License 2.0 (the "License").  You may not use
41 this file except in compliance with the License.  You can obtain a copy
42 in the file LICENSE in the source distribution or at
43 L<https://www.openssl.org/source/license.html>.
44
45 =cut