Add file which includes new ASN1 NETSCAPE format for certificates.
[openssl.git] / crypto / bn / bn.h
index 6d5273520747c3182eeee20fb8fc377ed7be96e0..670584ad74a7cbe683c0df7d8045dad624ae0722 100644 (file)
@@ -167,7 +167,7 @@ extern "C" {
 #ifdef THIRTY_TWO_BIT
 #ifdef BN_LLONG
 # if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
-#  define BN_ULLONG    unsigned _int64
+#  define BN_ULLONG    unsigned __int64
 # else
 #  define BN_ULLONG    unsigned long long
 # endif
@@ -253,6 +253,8 @@ extern "C" {
 #define BN_set_flags(b,n)      ((b)->flags|=(n))
 #define BN_get_flags(b,n)      ((b)->flags&(n))
 
+/* get a clone of a BIGNUM with changed flags, for *temporary* use only
+ * (the two BIGNUMs cannot not be used in parallel!) */
 #define BN_with_flags(dest,b,n)  ((dest)->d=(b)->d, \
                                   (dest)->top=(b)->top, \
                                   (dest)->dmax=(b)->dmax, \