BIGNUM: Add a comment on chunk order in struct bignum_st
[openssl.git] / crypto / bn / bn_local.h
index 3c8534e1f7ba3277fb23512f6c545daba866aa88..94f647e67197a06613ee9bc0e1db6e5b4c1b3adc 100644 (file)
@@ -223,8 +223,11 @@ BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
                       int num);
 
 struct bignum_st {
-    BN_ULONG *d;                /* Pointer to an array of 'BN_BITS2' bit
-                                 * chunks. */
+    BN_ULONG *d;                /*
+                                 * Pointer to an array of 'BN_BITS2' bit
+                                 * chunks. These chunks are organised in
+                                 * a least significant chunk first order.
+                                 */
     int top;                    /* Index of last used d +1. */
     /* The next are internal book keeping for bn_expand. */
     int dmax;                   /* Size of the d array. */