Listing 1. BIGNUM Data Struct

1 typedef struct bignum_st
2         {
3         BN_ULONG *d;  /* Pointer to an array 
4                          'BN_BITS2' bit chunks. */
5         int top;      /* Index of last used 
6                          d +1. */
7         /* The next are internal book keeping 
8            for bn_expand. */
9         int dmax;     /* Size of the d array. */
10        int neg;      /* one if the number is
11                         negative */
12        int flags;
13        } BIGNUM;