summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/RSA_set_method.3
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2010-11-22 18:29:00 +0000
committersimon <simon@FreeBSD.org>2010-11-22 18:29:00 +0000
commitbaef74520563dff454420fc45cbb65b465668325 (patch)
tree88ab13e2ea03aedb200603bab91fb927acad16c0 /secure/lib/libcrypto/man/RSA_set_method.3
parent7a23485c98b888d229c5e0762dbcfcec293fcef6 (diff)
downloadFreeBSD-src-baef74520563dff454420fc45cbb65b465668325.zip
FreeBSD-src-baef74520563dff454420fc45cbb65b465668325.tar.gz
Regenerate manual pages for OpenSSL 0.9.8p.
Diffstat (limited to 'secure/lib/libcrypto/man/RSA_set_method.3')
-rw-r--r--secure/lib/libcrypto/man/RSA_set_method.3135
1 files changed, 46 insertions, 89 deletions
diff --git a/secure/lib/libcrypto/man/RSA_set_method.3 b/secure/lib/libcrypto/man/RSA_set_method.3
index 1a5fd94..fa5e4a4 100644
--- a/secure/lib/libcrypto/man/RSA_set_method.3
+++ b/secure/lib/libcrypto/man/RSA_set_method.3
@@ -1,15 +1,7 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.37
+.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
-.de Sh \" Subsection heading
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
@@ -25,11 +17,11 @@
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote. | will give a
-.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
-.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
-.\" expand to `' in nroff, nothing in troff, for use with C<>.
-.tr \(*W-|\(bv\*(Tr
+.\" double quote, and \*(R" will give a right double quote. \*(C+ will
+.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
@@ -48,22 +40,25 @@
. ds R" ''
'br\}
.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
-.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
-.if \nF \{\
+.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
-.\"
-.\" For nroff, turn off justification. Always turn off hyphenation; it makes
-.\" way too many mistakes in technical documents.
-.hy 0
-.if n .na
+.el \{\
+. de IX
+..
+.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
@@ -129,7 +124,11 @@
.\" ========================================================================
.\"
.IX Title "RSA_set_method 3"
-.TH RSA_set_method 3 "2010-03-24" "0.9.8n" "OpenSSL"
+.TH RSA_set_method 3 "2010-11-16" "0.9.8p" "OpenSSL"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
.SH "NAME"
RSA_set_default_method, RSA_get_default_method, RSA_set_method,
RSA_get_method, RSA_PKCS1_SSLeay, RSA_null_method, RSA_flags,
@@ -138,37 +137,21 @@ RSA_new_method \- select RSA method
.IX Header "SYNOPSIS"
.Vb 1
\& #include <openssl/rsa.h>
-.Ve
-.PP
-.Vb 1
+\&
\& void RSA_set_default_method(const RSA_METHOD *meth);
-.Ve
-.PP
-.Vb 1
+\&
\& RSA_METHOD *RSA_get_default_method(void);
-.Ve
-.PP
-.Vb 1
+\&
\& int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
-.Ve
-.PP
-.Vb 1
+\&
\& RSA_METHOD *RSA_get_method(const RSA *rsa);
-.Ve
-.PP
-.Vb 1
+\&
\& RSA_METHOD *RSA_PKCS1_SSLeay(void);
-.Ve
-.PP
-.Vb 1
+\&
\& RSA_METHOD *RSA_null_method(void);
-.Ve
-.PP
-.Vb 1
+\&
\& int RSA_flags(const RSA *rsa);
-.Ve
-.PP
-.Vb 1
+\&
\& RSA *RSA_new_method(RSA_METHOD *method);
.Ve
.SH "DESCRIPTION"
@@ -226,85 +209,59 @@ the default method is used.
\& {
\& /* name of the implementation */
\& const char *name;
-.Ve
-.PP
-.Vb 3
+\&
\& /* encrypt */
\& int (*rsa_pub_enc)(int flen, unsigned char *from,
\& unsigned char *to, RSA *rsa, int padding);
-.Ve
-.PP
-.Vb 3
+\&
\& /* verify arbitrary data */
\& int (*rsa_pub_dec)(int flen, unsigned char *from,
\& unsigned char *to, RSA *rsa, int padding);
-.Ve
-.PP
-.Vb 3
+\&
\& /* sign arbitrary data */
\& int (*rsa_priv_enc)(int flen, unsigned char *from,
\& unsigned char *to, RSA *rsa, int padding);
-.Ve
-.PP
-.Vb 3
+\&
\& /* decrypt */
\& int (*rsa_priv_dec)(int flen, unsigned char *from,
\& unsigned char *to, RSA *rsa, int padding);
-.Ve
-.PP
-.Vb 3
-\& /* compute r0 = r0 ^ I mod rsa->n (May be NULL for some
+\&
+\& /* compute r0 = r0 ^ I mod rsa\->n (May be NULL for some
\& implementations) */
\& int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa);
-.Ve
-.PP
-.Vb 3
+\&
\& /* compute r = a ^ p mod m (May be NULL for some implementations) */
\& int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
\& const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
-.Ve
-.PP
-.Vb 2
+\&
\& /* called at RSA_new */
\& int (*init)(RSA *rsa);
-.Ve
-.PP
-.Vb 2
+\&
\& /* called at RSA_free */
\& int (*finish)(RSA *rsa);
-.Ve
-.PP
-.Vb 7
-\& /* RSA_FLAG_EXT_PKEY - rsa_mod_exp is called for private key
+\&
+\& /* RSA_FLAG_EXT_PKEY \- rsa_mod_exp is called for private key
\& * operations, even if p,q,dmp1,dmq1,iqmp
\& * are NULL
-\& * RSA_FLAG_SIGN_VER - enable rsa_sign and rsa_verify
-\& * RSA_METHOD_FLAG_NO_CHECK - don't check pub/private match
+\& * RSA_FLAG_SIGN_VER \- enable rsa_sign and rsa_verify
+\& * RSA_METHOD_FLAG_NO_CHECK \- don\*(Aqt check pub/private match
\& */
\& int flags;
-.Ve
-.PP
-.Vb 1
+\&
\& char *app_data; /* ?? */
-.Ve
-.PP
-.Vb 5
+\&
\& /* sign. For backward compatibility, this is used only
\& * if (flags & RSA_FLAG_SIGN_VER)
\& */
\& int (*rsa_sign)(int type, unsigned char *m, unsigned int m_len,
\& unsigned char *sigret, unsigned int *siglen, RSA *rsa);
-.Ve
-.PP
-.Vb 5
+\&
\& /* verify. For backward compatibility, this is used only
\& * if (flags & RSA_FLAG_SIGN_VER)
\& */
\& int (*rsa_verify)(int type, unsigned char *m, unsigned int m_len,
\& unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
-.Ve
-.PP
-.Vb 1
+\&
\& } RSA_METHOD;
.Ve
.SH "RETURN VALUES"
OpenPOWER on IntegriCloud