diff options
Diffstat (limited to 'src/lib/libcrypto/man/bn.3')
-rw-r--r-- | src/lib/libcrypto/man/bn.3 | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/src/lib/libcrypto/man/bn.3 b/src/lib/libcrypto/man/bn.3 deleted file mode 100644 index 61ea3ee6fe..0000000000 --- a/src/lib/libcrypto/man/bn.3 +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | .\" $OpenBSD: bn.3,v 1.4 2016/11/06 15:52:50 jmc Exp $ | ||
2 | .\" | ||
3 | .Dd $Mdocdate: November 6 2016 $ | ||
4 | .Dt BN 3 | ||
5 | .Os | ||
6 | .Sh NAME | ||
7 | .Nm bn | ||
8 | .Nd multiprecision integer arithmetics | ||
9 | .Sh SYNOPSIS | ||
10 | .In openssl/bn.h | ||
11 | .Sh DESCRIPTION | ||
12 | This library performs arithmetic operations on integers of arbitrary size. | ||
13 | It was written for use in public key cryptography, such as RSA and | ||
14 | Diffie-Hellman. | ||
15 | .Pp | ||
16 | It uses dynamic memory allocation for storing its data structures. | ||
17 | That means that there is no limit on the size of the numbers manipulated | ||
18 | by these functions, but return values must always be checked in case a | ||
19 | memory allocation error has occurred. | ||
20 | .Pp | ||
21 | The basic object in this library is a | ||
22 | .Vt BIGNUM . | ||
23 | It is used to hold a single large integer. | ||
24 | This type should be considered opaque and fields should not be modified | ||
25 | or accessed directly. | ||
26 | .Pp | ||
27 | The creation of | ||
28 | .Vt BIGNUM | ||
29 | objects is described in | ||
30 | .Xr BN_new 3 ; | ||
31 | .Xr BN_add 3 | ||
32 | describes most of the arithmetic operations. | ||
33 | Comparison is described in | ||
34 | .Xr BN_cmp 3 ; | ||
35 | .Xr BN_zero 3 | ||
36 | describes certain assignments, | ||
37 | .Xr BN_rand 3 | ||
38 | the generation of random numbers, | ||
39 | .Xr BN_generate_prime 3 | ||
40 | deals with prime numbers and | ||
41 | .Xr BN_set_bit 3 | ||
42 | with bit operations. | ||
43 | The conversion of | ||
44 | .Vt BIGNUM Ns s | ||
45 | to external formats is described in | ||
46 | .Xr BN_bn2bin 3 . | ||
47 | .Sh SEE ALSO | ||
48 | .Xr BN_add 3 , | ||
49 | .Xr BN_add_word 3 , | ||
50 | .Xr BN_BLINDING_new 3 , | ||
51 | .Xr BN_bn2bin 3 , | ||
52 | .Xr BN_cmp 3 , | ||
53 | .Xr BN_copy 3 , | ||
54 | .Xr BN_CTX_new 3 , | ||
55 | .Xr BN_CTX_start 3 , | ||
56 | .Xr bn_dump 3 , | ||
57 | .Xr BN_generate_prime 3 , | ||
58 | .Xr BN_mod_inverse 3 , | ||
59 | .Xr BN_mod_mul_montgomery 3 , | ||
60 | .Xr BN_mod_mul_reciprocal 3 , | ||
61 | .Xr BN_new 3 , | ||
62 | .Xr BN_num_bytes 3 , | ||
63 | .Xr BN_rand 3 , | ||
64 | .Xr BN_set_bit 3 , | ||
65 | .Xr BN_set_negative 3 , | ||
66 | .Xr BN_swap 3 , | ||
67 | .Xr BN_zero 3 , | ||
68 | .Xr dh 3 , | ||
69 | .Xr ERR 3 , | ||
70 | .Xr rsa 3 | ||