1RSA-PSS(7) OpenSSL RSA-PSS(7)
2
3
4
6 RSA-PSS - EVP_PKEY RSA-PSS algorithm support
7
9 The RSA-PSS EVP_PKEY implementation is a restricted version of the RSA
10 algorithm which only supports signing, verification and key generation
11 using PSS padding modes with optional parameter restrictions.
12
13 It has associated private key and public key formats.
14
15 This algorithm shares several control operations with the RSA algorithm
16 but with some restrictions described below.
17
18 Signing and Verification
19 Signing and verification is similar to the RSA algorithm except the
20 padding mode is always PSS. If the key in use has parameter
21 restrictions then the corresponding signature parameters are set to the
22 restrictions: for example, if the key can only be used with digest
23 SHA256, MGF1 SHA256 and minimum salt length 32 then the digest, MGF1
24 digest and salt length will be set to SHA256, SHA256 and 32
25 respectively.
26
27 Key Generation
28 By default no parameter restrictions are placed on the generated key.
29
31 The public key format is documented in RFC4055.
32
33 The PKCS#8 private key format used for RSA-PSS keys is similar to the
34 RSA format except it uses the id-RSASSA-PSS OID and the parameters
35 field, if present, restricts the key parameters in the same way as the
36 public key.
37
39 RFC 4055
40
42 EVP_PKEY_CTX_set_rsa_pss_keygen_md(3),
43 EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(3),
44 EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(3), EVP_PKEY_CTX_new(3),
45 EVP_PKEY_CTX_ctrl_str(3), EVP_PKEY_derive(3)
46
48 Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
49
50 Licensed under the OpenSSL license (the "License"). You may not use
51 this file except in compliance with the License. You can obtain a copy
52 in the file LICENSE in the source distribution or at
53 <https://www.openssl.org/source/license.html>.
54
55
56
571.1.1d 2019-10-03 RSA-PSS(7)