xref: /netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/man/OSSL_SELF_TEST_set_callback.3 (revision 7d9ffdb3e9da593a05c5e2169f72fc7bada08bc9)
$NetBSD: OSSL_SELF_TEST_set_callback.3,v 1.5 2024/09/08 13:08:27 christos Exp $

-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "OSSL_SELF_TEST_set_callback 3"
OSSL_SELF_TEST_set_callback 3 2024-09-03 3.0.15 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
OSSL_SELF_TEST_set_callback, OSSL_SELF_TEST_get_callback - specify a callback for processing self tests
SYNOPSIS
Header "SYNOPSIS" .Vb 1 #include <openssl/self_test.h> \& void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *ctx, OSSL_CALLBACK *cb, void *cbarg); void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *ctx, OSSL_CALLBACK **cb, void **cbarg); .Ve
DESCRIPTION
Header "DESCRIPTION" Set or gets the optional application callback (and the callback argument) that is called during self testing. The application callback OSSL_CALLBACK\|(3) is associated with a OSSL_LIB_CTX. The application callback function receives information about a running self test, and may return a result to the calling self test. See openssl-core.h\|(7) for further information on the callback.
"RETURN VALUES"
Header "RETURN VALUES" \fBOSSL_SELF_TEST_get_callback() returns the callback and callback argument that has been set via OSSL_SELF_TEST_set_callback() for the given library context \fIctx. These returned parameters will be NULL if OSSL_SELF_TEST_set_callback() has not been called.
"SEE ALSO"
Header "SEE ALSO" \fBopenssl-core.h\|(7), \fBOSSL_PROVIDER-FIPS\|(7) \fBOSSL_SELF_TEST_new\|(3) \fBOSSL_LIB_CTX\|(3)
HISTORY
Header "HISTORY" The functions described here were added in OpenSSL 3.0.
COPYRIGHT
Header "COPYRIGHT" Copyright 2019-2021 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>.