diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 b/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 index dbfd9c16f6..c89ceec436 100644 --- a/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 +++ b/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: RSA_pkey_ctx_ctrl.3,v 1.3 2019/11/01 13:53:25 schwarze Exp $ | 1 | .\" $OpenBSD: RSA_pkey_ctx_ctrl.3,v 1.4 2019/11/01 19:37:21 schwarze Exp $ |
2 | .\" full merge up to: | 2 | .\" full merge up to: |
3 | .\" OpenSSL man3/EVP_PKEY_CTX_ctrl.pod 99d63d46 Oct 26 13:56:48 2016 -0400 | 3 | .\" OpenSSL man3/EVP_PKEY_CTX_ctrl.pod 99d63d46 Oct 26 13:56:48 2016 -0400 |
4 | .\" OpenSSL man3/EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod | 4 | .\" OpenSSL man3/EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod |
@@ -303,13 +303,21 @@ The | |||
303 | .Fn EVP_PKEY_CTX_set_rsa_pss_saltlen | 303 | .Fn EVP_PKEY_CTX_set_rsa_pss_saltlen |
304 | macro sets the RSA PSS salt length to | 304 | macro sets the RSA PSS salt length to |
305 | .Fa len . | 305 | .Fa len . |
306 | Two special values are supported: -1 sets the salt length to the digest | 306 | Three special values are supported: |
307 | length. | 307 | .Dv RSA_PSS_SALTLEN_DIGEST |
308 | When signing -2 sets the salt length to the maximum permissible value. | 308 | sets the salt length to the digest length. |
309 | When verifying -2 causes the salt length to be automatically determined | 309 | .Dv RSA_PSS_SALTLEN_MAX |
310 | based on the PSS block structure. | 310 | sets the salt length to the maximum permissible value. |
311 | If this macro is not called a salt length value of -2 is used by | 311 | When signing, |
312 | default. | 312 | .Dv RSA_PSS_SALTLEN_AUTO |
313 | sets the salt length to the maximum permissible value. | ||
314 | When verifying, | ||
315 | .Dv RSA_PSS_SALTLEN_AUTO | ||
316 | causes the salt length to be automatically determined based on the | ||
317 | PSS block structure. | ||
318 | If this macro is not called, a salt length value of | ||
319 | .Dv RSA_PSS_SALTLEN_AUTO | ||
320 | is used by default. | ||
313 | .Pp | 321 | .Pp |
314 | If the key has usage restrictions and an attempt is made to set the | 322 | If the key has usage restrictions and an attempt is made to set the |
315 | salt length below the minimum value, an error occurs. | 323 | salt length below the minimum value, an error occurs. |