]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update doc on CRYPTO_MEM_SEC(_MINSIZE)
authorNorbert Pocs <norbertp@openssl.org>
Mon, 14 Jul 2025 13:59:07 +0000 (15:59 +0200)
committerNeil Horman <nhorman@openssl.org>
Wed, 16 Jul 2025 12:23:38 +0000 (08:23 -0400)
Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28036)

doc/man7/openssl-env.pod

index 78043d5bd68a73bdc2da9eeeb7b6d7076a793040..51c0741846a5e3ab9bc877369c1a1c83f252173a 100644 (file)
@@ -51,6 +51,20 @@ See L<OPENSSL_malloc(3)>.
 Specifies the directory from which cryptographic providers are loaded.
 Equivalently, the generic B<-provider-path> command-line option may be used.
 
+=item B<OPENSSL_SEC_MEM>
+
+Initializes the secure memory at the beginning of the application which makes
+the secure memory calls not to fall back to regular memory calls. The value
+indicates the B<size> parameter in bytes. The value can be expressed in
+binary, octal, decimal and hexadecimal. For formatting see B<strtol(3)>.
+For further restrictions see L<CRYPTO_secure_malloc_init(3)>.
+
+=item B<OPENSSL_SEC_MEM_MINSIZE>
+
+An optional variable used with B<OPENSSL_SEC_MEM>. The value indicates
+B<minsize> parameter in bytes. The same formatting applies as above.
+Default is 0. For more info see L<CRYPTO_secure_malloc_init(3)>.
+
 =item B<OPENSSL_TRACE>
 
 By default the OpenSSL trace feature is disabled statically.