BN_cmp man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

BN_cmp(3)			    OpenSSL			     BN_cmp(3)

       BN_cmp, BN_ucmp, BN_is_zero, BN_is_one, BN_is_word, BN_is_odd - BIGNUM
       comparison and test functions

	#include <openssl/bn.h>

	int BN_cmp(BIGNUM *a, BIGNUM *b);
	int BN_ucmp(BIGNUM *a, BIGNUM *b);

	int BN_is_zero(BIGNUM *a);
	int BN_is_one(BIGNUM *a);
	int BN_is_word(BIGNUM *a, BN_ULONG w);
	int BN_is_odd(BIGNUM *a);

       BN_cmp() compares the numbers a and b. BN_ucmp() compares their
       absolute values.

       BN_is_zero(), BN_is_one() and BN_is_word() test if a equals 0, 1, or w
       respectively. BN_is_odd() tests if a is odd.

       BN_is_zero(), BN_is_one(), BN_is_word() and BN_is_odd() are macros.

       BN_cmp() returns -1 if a < b, 0 if a == b and 1 if a > b. BN_ucmp() is
       the same using the absolute values of a and b.

       BN_is_zero(), BN_is_one() BN_is_word() and BN_is_odd() return 1 if the
       condition is true, 0 otherwise.


       BN_cmp(), BN_ucmp(), BN_is_zero(), BN_is_one() and BN_is_word() are
       available in all versions of SSLeay and OpenSSL.	 BN_is_odd() was added
       in SSLeay 0.8.

3rd Berkeley Distribution	    0.9.6m			     BN_cmp(3)

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net