diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/d2i_DSAPublicKey.3 | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/d2i_DSAPublicKey.3 b/src/lib/libcrypto/man/d2i_DSAPublicKey.3 index 0c756b3fcb..421a6e5053 100644 --- a/src/lib/libcrypto/man/d2i_DSAPublicKey.3 +++ b/src/lib/libcrypto/man/d2i_DSAPublicKey.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: d2i_DSAPublicKey.3,v 1.5 2016/12/10 22:47:49 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_DSAPublicKey.3,v 1.6 2016/12/12 13:58:46 schwarze Exp $ |
| 2 | .\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 | 2 | .\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
| @@ -49,7 +49,7 @@ | |||
| 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 51 | .\" | 51 | .\" |
| 52 | .Dd $Mdocdate: December 10 2016 $ | 52 | .Dd $Mdocdate: December 12 2016 $ |
| 53 | .Dt D2I_DSAPUBLICKEY 3 | 53 | .Dt D2I_DSAPUBLICKEY 3 |
| 54 | .Os | 54 | .Os |
| 55 | .Sh NAME | 55 | .Sh NAME |
| @@ -65,6 +65,7 @@ | |||
| 65 | .Nm i2d_DSAPrivateKey , | 65 | .Nm i2d_DSAPrivateKey , |
| 66 | .Nm d2i_DSAparams , | 66 | .Nm d2i_DSAparams , |
| 67 | .Nm i2d_DSAparams , | 67 | .Nm i2d_DSAparams , |
| 68 | .Nm DSAparams_dup , | ||
| 68 | .Nm d2i_DSA_SIG , | 69 | .Nm d2i_DSA_SIG , |
| 69 | .Nm i2d_DSA_SIG | 70 | .Nm i2d_DSA_SIG |
| 70 | .Nd DSA key encoding and parsing functions | 71 | .Nd DSA key encoding and parsing functions |
| @@ -136,6 +137,10 @@ | |||
| 136 | .Fa "unsigned char **pp" | 137 | .Fa "unsigned char **pp" |
| 137 | .Fc | 138 | .Fc |
| 138 | .Ft DSA * | 139 | .Ft DSA * |
| 140 | .Fo DSAparams_dup | ||
| 141 | .Fa "DSA *dsa" | ||
| 142 | .Fc | ||
| 143 | .Ft DSA_SIG * | ||
| 139 | .Fo d2i_DSA_SIG | 144 | .Fo d2i_DSA_SIG |
| 140 | .Fa "DSA_SIG **a" | 145 | .Fa "DSA_SIG **a" |
| 141 | .Fa "const unsigned char **pp" | 146 | .Fa "const unsigned char **pp" |
| @@ -184,6 +189,13 @@ and | |||
| 184 | decode and encode the DSA parameters using a | 189 | decode and encode the DSA parameters using a |
| 185 | .Sy Dss-Parms | 190 | .Sy Dss-Parms |
| 186 | structure as defined in RFC 2459. | 191 | structure as defined in RFC 2459. |
| 192 | .Fn DSAparams_dup | ||
| 193 | copies | ||
| 194 | .Fa dsa | ||
| 195 | by calling | ||
| 196 | .Fn i2d_DSAparams | ||
| 197 | and | ||
| 198 | .Fn d2i_DSAparams . | ||
| 187 | .Pp | 199 | .Pp |
| 188 | .Fn d2i_DSA_SIG | 200 | .Fn d2i_DSA_SIG |
| 189 | and | 201 | and |
| @@ -245,6 +257,27 @@ SEQUENCE containing the | |||
| 245 | and | 257 | and |
| 246 | .Fa a->priv_key | 258 | .Fa a->priv_key |
| 247 | fields. | 259 | fields. |
| 260 | .Sh RETURN VALUES | ||
| 261 | .Fn d2i_DSAPublicKey , | ||
| 262 | .Fn d2i_DSA_PUBKEY , | ||
| 263 | .Fn d2i_DSA_PUBKEY_bio , | ||
| 264 | .Fn d2i_DSA_PUBKEY_fp , | ||
| 265 | .Fn d2i_DSAPrivateKey , | ||
| 266 | .Fn d2i_DSAparams , | ||
| 267 | and | ||
| 268 | .Fn DSAparams_dup | ||
| 269 | return a valid | ||
| 270 | .Vt DSA | ||
| 271 | structure or | ||
| 272 | .Dv NULL | ||
| 273 | if an error occurs. | ||
| 274 | .Pp | ||
| 275 | .Fn d2i_DSA_SIG | ||
| 276 | returns a valid | ||
| 277 | .Vt DSA_SIG | ||
| 278 | structure or | ||
| 279 | .Dv NULL | ||
| 280 | if an error occurs. | ||
| 248 | .Sh SEE ALSO | 281 | .Sh SEE ALSO |
| 249 | .Xr d2i_X509 3 , | 282 | .Xr d2i_X509 3 , |
| 250 | .Xr DSA_new 3 | 283 | .Xr DSA_new 3 |
