summaryrefslogtreecommitdiff
path: root/node/SHA512.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/SHA512.cpp')
-rw-r--r--node/SHA512.cpp35
1 files changed, 7 insertions, 28 deletions
diff --git a/node/SHA512.cpp b/node/SHA512.cpp
index 76737d37..c8d81dd1 100644
--- a/node/SHA512.cpp
+++ b/node/SHA512.cpp
@@ -1,20 +1,11 @@
+// Code taken from NaCl by D. J. Bernstein and others
+// Public domain
+
/*
- * ZeroTier One - Network Virtualization Everywhere
- * Copyright (C) 2011-2016 ZeroTier, Inc. https://www.zerotier.com/
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+20080913
+D. J. Bernstein
+Public domain.
+*/
#include <stdint.h>
#include <stdlib.h>
@@ -25,18 +16,6 @@
namespace ZeroTier {
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-// Code taken from NaCl by D. J. Bernstein and others
-// Public domain
-
-/*
-20080913
-D. J. Bernstein
-Public domain.
-*/
-
#define uint64 uint64_t
#ifdef ZT_NO_TYPE_PUNNING