decoder memory-management question

Richard Levitte levitte at openssl.org
Thu Mar 7 05:16:21 UTC 2024


Richard Levitte <levitte at openssl.org> writes:

> For all I know, a provider could just as well choose to place the key in
> an internal cache and pass the cache index in an "data" OSSL_PARAM
> (OSSL_OBJECT_PARAM_DATA), and have the keymgmt "load" function pick up
> that cache index through the reference argument.

Small detail, a cache index like that would still passed with
OSSL_OBJECT_PARAM_REFERENCE, as it's still, well, a reference, just not
a direct address to the key data.

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-users mailing list