summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-11-06 15:44:00 +0000
committerschwarze <schwarze@openbsd.org>2016-11-06 15:44:00 +0000
commit62a86564f19fac2f511dbffdbdae2ea559d2275e (patch)
tree28dbee32e622c204006f2bfd75aa7ba1160c7a34 /lib/libcrypto
parentdelete prototypes available in other pages and add two missing .Xr links (diff)
downloadwireguard-openbsd-62a86564f19fac2f511dbffdbdae2ea559d2275e.tar.xz
wireguard-openbsd-62a86564f19fac2f511dbffdbdae2ea559d2275e.zip
delete prototypes available in other pages and add three missing .Xr links
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/dsa.3186
1 files changed, 7 insertions, 179 deletions
diff --git a/lib/libcrypto/man/dsa.3 b/lib/libcrypto/man/dsa.3
index b374f18d27d..102cf6e5e45 100644
--- a/lib/libcrypto/man/dsa.3
+++ b/lib/libcrypto/man/dsa.3
@@ -1,4 +1,4 @@
-.Dd $Mdocdate: November 5 2016 $
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA 3
.Os
.Sh NAME
@@ -6,181 +6,6 @@
.Nd Digital Signature Algorithm
.Sh SYNOPSIS
.In openssl/dsa.h
-.In openssl/engine.h
-.Ft DSA *
-.Fn DSA_new void
-.Ft void
-.Fo DSA_free
-.Fa "DSA *dsa"
-.Fc
-.Ft int
-.Fo DSA_size
-.Fa "const DSA *dsa"
-.Fc
-.Ft DSA *
-.Fo DSA_generate_parameters
-.Fa "int bits"
-.Fa "unsigned char *seed"
-.Fa "int seed_len"
-.Fa "int *counter_ret"
-.Fa "unsigned long *h_ret"
-.Fa "void (*callback)(int, int, void *)"
-.Fa "void *cb_arg"
-.Fc
-.Ft DH *
-.Fo DSA_dup_DH
-.Fa "const DSA *r"
-.Fc
-.Ft int
-.Fo DSA_generate_key
-.Fa "DSA *dsa"
-.Fc
-.Ft int
-.Fo DSA_sign
-.Fa "int dummy"
-.Fa "const unsigned char *dgst"
-.Fa "int len"
-.Fa "unsigned char *sigret"
-.Fa "unsigned int *siglen"
-.Fa "DSA *dsa"
-.Fc
-.Ft int
-.Fo DSA_sign_setup
-.Fa "DSA *dsa"
-.Fa "BN_CTX *ctx"
-.Fa "BIGNUM **kinvp"
-.Fa "BIGNUM **rp"
-.Fc
-.Ft int
-.Fo DSA_verify
-.Fa "int dummy"
-.Fa "const unsigned char *dgst"
-.Fa "int len"
-.Fa "const unsigned char *sigbuf"
-.Fa "int siglen"
-.Fa "DSA *dsa"
-.Fc
-.Ft void
-.Fo DSA_set_default_method
-.Fa "const DSA_METHOD *meth"
-.Fc
-.Ft const DSA_METHOD *
-.Fn DSA_get_default_method void
-.Ft int
-.Fo DSA_set_method
-.Fa "DSA *dsa"
-.Fa "const DSA_METHOD *meth"
-.Fc
-.Ft DSA *
-.Fo DSA_new_method
-.Fa "ENGINE *engine"
-.Fc
-.Ft const DSA_METHOD *
-.Fn DSA_OpenSSL void
-.Ft int
-.Fo DSA_get_ex_new_index
-.Fa "long argl"
-.Fa "char *argp"
-.Fa "int (*new_func)()"
-.Fa "int (*dup_func)()"
-.Fa "void (*free_func)()"
-.Fc
-.Ft int
-.Fo DSA_set_ex_data
-.Fa "DSA *d"
-.Fa "int idx"
-.Fa "char *arg"
-.Fc
-.Ft char *
-.Fo DSA_get_ex_data
-.Fa "DSA *d"
-.Fa "int idx"
-.Fc
-.Ft DSA_SIG *
-.Fn DSA_SIG_new void
-.Ft void
-.Fo DSA_SIG_free
-.Fa "DSA_SIG *a"
-.Fc
-.Ft int
-.Fo i2d_DSA_SIG
-.Fa "const DSA_SIG *a"
-.Fa "unsigned char **pp"
-.Fc
-.Ft DSA_SIG *
-.Fo d2i_DSA_SIG
-.Fa "DSA_SIG **v"
-.Fa "unsigned char **pp"
-.Fa "long length"
-.Fc
-.Ft DSA_SIG *
-.Fo DSA_do_sign
-.Fa "const unsigned char *dgst"
-.Fa "int dlen"
-.Fa "DSA *dsa"
-.Fc
-.Ft int
-.Fo DSA_do_verify
-.Fa "const unsigned char *dgst"
-.Fa "int dgst_len"
-.Fa "DSA_SIG *sig"
-.Fa "DSA *dsa"
-.Fc
-.Ft DSA *
-.Fo d2i_DSAPublicKey
-.Fa "DSA **a"
-.Fa "unsigned char **pp"
-.Fa "long length"
-.Fc
-.Ft DSA *
-.Fo d2i_DSAPrivateKey
-.Fa "DSA **a"
-.Fa "unsigned char **pp"
-.Fa "long length"
-.Fc
-.Ft DSA *
-.Fo d2i_DSAparams
-.Fa "DSA **a"
-.Fa "unsigned char **pp"
-.Fa "long length"
-.Fc
-.Ft int
-.Fo i2d_DSAPublicKey
-.Fa "const DSA *a"
-.Fa "unsigned char **pp"
-.Fc
-.Ft int
-.Fo i2d_DSAPrivateKey
-.Fa "const DSA *a"
-.Fa "unsigned char **pp"
-.Fc
-.Ft int
-.Fo i2d_DSAparams
-.Fa "const DSA *a"
-.Fa "unsigned char **pp"
-.Fc
-.Ft int
-.Fo DSAparams_print
-.Fa "BIO *bp"
-.Fa "const DSA *x"
-.Fc
-.Ft int
-.Fo DSAparams_print_fp
-.Fa "FILE *fp"
-.Fa "const DSA *x"
-.Fc
-.Ft int
-.Fo DSA_print
-.Fa "BIO *bp"
-.Fa "const DSA *x"
-.Fa "int off"
-.Fc
-.Ft int
-.Fo DSA_print_fp
-.Fa "FILE *bp"
-.Fa "const DSA *x"
-.Fa "int off"
-.Fc
.Sh DESCRIPTION
These functions implement the Digital Signature Algorithm (DSA).
The generation of shared DSA parameters is described in
@@ -226,19 +51,22 @@ structure elements directly and instead use API functions to query
or modify keys.
.Sh SEE ALSO
.Xr bn 3 ,
+.Xr d2i_DSAPublicKey 3 ,
.Xr dh 3 ,
+.Xr DSA_do_sign 3 ,
.Xr DSA_dup_DH 3 ,
.Xr DSA_generate_key 3 ,
.Xr DSA_generate_parameters 3 ,
.Xr DSA_get_ex_new_index 3 ,
.Xr DSA_new 3 ,
+.Xr DSA_print 3 ,
.Xr DSA_set_method 3 ,
+.Xr DSA_SIG_new 3 ,
.Xr DSA_sign 3 ,
.Xr DSA_size 3 ,
.Xr engine 3 ,
-.Xr err 3 ,
-.Xr rsa 3 ,
-.Xr RSA_print 3
+.Xr ERR 3 ,
+.Xr rsa 3
.Sh STANDARDS
US Federal Information Processing Standard FIPS 186 (Digital Signature
Standard, DSS), ANSI X9.30