diff options
author | Richard Levitte <levitte@openssl.org> | 2017-02-27 14:30:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-06-29 19:19:40 +0200 |
commit | 7852f588a651ee30256678a23a6162a3b2fb822f (patch) | |
tree | f4afd24821b5eddf1b9d86f4335482e1d6a8f000 /doc | |
parent | 8530039a307f7aa8acb0516fdd38191baa91d434 (diff) |
Make it possible to tell the file loader to use secure memory
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3483)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/OSSL_STORE_open.pod | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/man3/OSSL_STORE_open.pod b/doc/man3/OSSL_STORE_open.pod index 9a054436d4..14ce9d2867 100644 --- a/doc/man3/OSSL_STORE_open.pod +++ b/doc/man3/OSSL_STORE_open.pod @@ -58,8 +58,23 @@ OSSL_STORE_load() to manipulate or drop the value to be returned. OSSL_STORE_ctrl() takes a B<OSSL_STORE_CTX>, and command number B<cmd> and more arguments not specified here. -The available command numbers and arguments they each take depends on -the loader that's used and is documented together with that loader. +The available loader specific command numbers and arguments they each +take depends on the loader that's used and is documented together with +that loader. + +There are also global controls available: + +=over 4 + +=item B<OSSL_STORE_C_USE_SECMEM> + +Controls if the loader should attempt to use secure memory for any +allocated B<OSSL_STORE_INFO> and its contents. +This control expects one argument, a pointer to an B<int> that is expected to +have the value 1 (yes) or 0 (no). +Any other value is an error. + +=back OSSL_STORE_load() takes a B<OSSL_STORE_CTX>, tries to load the next available object and return it wrapped with B<OSSL_STORE_INFO>. |