[#OSSL_SELF_TEST_new] = OSSL_SELF_TEST_new :mrdocs: Allocate an OSSL_SELF_TEST handle that invokes `cb` during self‐test phases. == Synopsis Declared in `<openssl/self_test.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OSSL_SELF_TEST.adoc[OSSL_SELF_TEST]* OSSL_SELF_TEST_new( xref:OSSL_CALLBACK.adoc[OSSL_CALLBACK]* cb, void* cbarg); ---- == Return Value New self‐test object, or NULL on allocation failure; free with OSSL_SELF_TEST_free(). == Parameters [cols="1,4"] |=== | Name| Description | *cb* | Self‐test event callback receiving phase/type/desc params. | *cbarg* | Opaque argument passed to `cb.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#