X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbignum.h;h=c7c2ff173046d4b2ce06a4165cd8d0b80de9b866;hb=6b8de05d0a6696dff4b7dccec5b74889f3cdc486;hp=a750025f3d16c83949fe52e30b529f824c2a8d60;hpb=01a196e08db49d83cf6c5abd8a799c56dcfef503;p=novacoin.git diff --git a/src/bignum.h b/src/bignum.h index a750025..c7c2ff1 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -11,6 +11,7 @@ #include "util.h" +/** Errors thrown by the bignum class */ class bignum_error : public std::runtime_error { public: @@ -18,7 +19,7 @@ public: }; - +/** RAII encapsulated BN_CTX (OpenSSL bignum context) */ class CAutoBN_CTX { protected: @@ -46,7 +47,7 @@ public: }; - +/** C++ wrapper for BIGNUM (OpenSSl bignum) */ class CBigNum : public BIGNUM { public: