*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> BN_copy (3)              
Title
Content
Arch
Section
 

BN_COPY(3)

Contents


NAME    [Toc]    [Back]

       BN_copy, BN_dup - copy BIGNUMs

SYNOPSIS    [Toc]    [Back]

        #include <openssl/bn.h>

        BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from);

        BIGNUM *BN_dup(const BIGNUM *from);

DESCRIPTION    [Toc]    [Back]

       BN_copy() copies from to to. BN_dup() creates a new BIGNUM
       containing the value from.

RETURN VALUES    [Toc]    [Back]

       BN_copy() returns to on success, NULL on error. BN_dup()
       returns the new BIGNUM, and NULL on error. The error codes
       can be obtained by ERR_get_error(3).

SEE ALSO    [Toc]    [Back]

      
      
       bn(3), ERR_get_error(3)

HISTORY    [Toc]    [Back]

       BN_copy() and BN_dup() are available in all versions of
       SSLeay and OpenSSL.


OpenBSD 3.6                 2000-04-03                          1
[ Back ]
 Similar pages
Name OS Title
scp OpenBSD secure copy (remote file copy program)
scp FreeBSD secure copy (remote file copy program)
BN_mask_bits OpenBSD bit operations on BIGNUMs
BN_lshift1 OpenBSD bit operations on BIGNUMs
BN_rshift1 OpenBSD bit operations on BIGNUMs
BN_rshift OpenBSD bit operations on BIGNUMs
BN_set_bit OpenBSD bit operations on BIGNUMs
BN_swap OpenBSD exchange BIGNUMs
BN_set_bit NetBSD bit operations on BIGNUMs
BN_lshift OpenBSD bit operations on BIGNUMs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service