aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorMichael Ford <fanquake@gmail.com>2014-10-26 16:33:52 +0800
committerMichael Ford <fanquake@gmail.com>2014-10-28 12:02:25 +0800
commitffd8eddab540a9692bef681f2637f757d84e28a2 (patch)
treeaacdfe4508c2641b3bdf334c66fca1c5d92954da /src/key.cpp
parent068b7f8ee23f4557d356db30b4cbbd98065bd27c (diff)
downloadbitcoin-ffd8eddab540a9692bef681f2637f757d84e28a2.tar.xz
Update comments in key to be doxygen compatible
Diffstat (limited to 'src/key.cpp')
-rw-r--r--src/key.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/key.cpp b/src/key.cpp
index 0f4bc6652c..48431f3dc5 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -1,5 +1,5 @@
// Copyright (c) 2009-2014 The Bitcoin developers
-// Distributed under the MIT/X11 software license, see the accompanying
+// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "key.h"
@@ -13,7 +13,7 @@
#include "ecwrapper.h"
#endif
-// anonymous namespace
+//! anonymous namespace with local implementation code (OpenSSL interaction)
namespace {
#ifdef USE_SECP256K1
@@ -56,7 +56,7 @@ int CompareBigEndian(const unsigned char *c1, size_t c1len, const unsigned char
return 0;
}
-// Order of secp256k1's generator minus 1.
+/** Order of secp256k1's generator minus 1. */
const unsigned char vchMaxModOrder[32] = {
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,
@@ -64,7 +64,7 @@ const unsigned char vchMaxModOrder[32] = {
0xBF,0xD2,0x5E,0x8C,0xD0,0x36,0x41,0x40
};
-// Half of the order of secp256k1's generator minus 1.
+/** Half of the order of secp256k1's generator minus 1. */
const unsigned char vchMaxModHalfOrder[32] = {
0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,