Re: OpenSSl 3 statically linking a provider

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2021-09-14 at 21:46 -0700, Kory Hamzeh wrote:
> I have written a custom provider which I need to include (link) with
> my Application at link time rather than load it at run-time. The init
> function is defined like this:
> 
> OSSL_provider_init_fn sck_provider_init;
> 
> int sck_provider_init(const OSSL_CORE_HANDLE *handle,
>                        const OSSL_DISPATCH *in,
>                        const OSSL_DISPATCH **out,
>                        void **provctx)
> 
> But I cannot figure out how to initialize/load it in my app. The man
> page for provider(7) states that it is possible to do this, but does
> not explain how. Is that documented somewhere?
> 
> Thanks,
> Kory

Please see the manual page for the OSSL_PROVIDER_add_builtin function
and the test/provfetchtest.c source code.

-- 
Tomáš Mráz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb
[You'll know whether the road is wrong if you carefully listen to your
conscience.]





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux