1 .\" $OpenBSD: RSA_PSS_PARAMS_new.3,v 1.2 2016/12/25 22:15:10 schwarze Exp $
3 .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: December 25 2016 $
18 .Dt RSA_PSS_PARAMS_NEW 3
21 .Nm RSA_PSS_PARAMS_new ,
22 .Nm RSA_PSS_PARAMS_free
23 .Nd probabilistic signature scheme with RSA hashing
27 .Fn RSA_PSS_PARAMS_new void
29 .Fn RSA_PSS_PARAMS_free "RSA_PSS_PARAMS *params"
31 .Fn RSA_PSS_PARAMS_new
32 allocates and initializes an empty
34 object, representing an ASN.1
36 structure defined in RFC 8017 appendix A.2.3.
37 It references the hash function and the mask generation function
38 and stores the length of the salt and the trailer field number.
39 .Fn RSA_PSS_PARAMS_free
43 .Fn RSA_PSS_PARAMS_new
50 .Xr RSA_padding_add_PKCS1_type_1 3 ,
53 RFC 8017: PKCS#1: RSA Cryptography Specifications Version 2.2