From dd8dec69b825c9fdafc26a200961702d850496b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Sun, 23 Jan 2000 22:06:24 +0000 Subject: Document the BN library. --- doc/crypto/BN_copy.pod | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/crypto/BN_copy.pod (limited to 'doc/crypto/BN_copy.pod') diff --git a/doc/crypto/BN_copy.pod b/doc/crypto/BN_copy.pod new file mode 100644 index 0000000000..9766adcc5a --- /dev/null +++ b/doc/crypto/BN_copy.pod @@ -0,0 +1,34 @@ +=pod + +=head1 NAME + +BN_copy, BN_dup - copy BIGNUMs + +=head1 SYNOPSIS + + #include + + BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from); + + BIGNUM *BN_dup(const BIGNUM *from); + +=head1 DESCRIPTION + +BN_copy() copies B to B. BN_dup() creates a new B +containing the value B. + +=head1 RETURN VALUES + +BN_copy() returns B on success, NULL on error. BN_dup() returns +the new B, and NULL on error. The error codes can be obtained +by ERR_get_error(3). + +=head1 SEE ALSO + +bn(3), err(3) + +=head1 HISTORY + +BN_copy() and BN_dup() are available in all versions of SSLeay and OpenSSL. + +=cut -- cgit v1.2.3