Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorBill Cox <waywardgeek@google.com>2016-02-29 07:42:23 +0300
committerBill Cox <waywardgeek@google.com>2016-02-29 07:42:23 +0300
commit58eab9690e7c8dba0886c69de79d5343c338ec6a (patch)
treec3b6ed77fff1f163a47352c139c834b8fd0084d3 /bench
parent90cf5d00c312235c2297d0d582eed0efc01e5c31 (diff)
Changed copyright of Samuel's code to 3-license version suggested by Zooko
Diffstat (limited to 'bench')
-rw-r--r--bench/amd64cpuinfo.c20
-rw-r--r--bench/bench.c20
-rw-r--r--bench/md5.c20
-rw-r--r--bench/x86cpuinfo.c22
4 files changed, 45 insertions, 37 deletions
diff --git a/bench/amd64cpuinfo.c b/bench/amd64cpuinfo.c
index 479ec4b..70ed361 100644
--- a/bench/amd64cpuinfo.c
+++ b/bench/amd64cpuinfo.c
@@ -1,14 +1,16 @@
/*
BLAKE2 reference source code package - benchmark tool
-
- Written in 2012 by Samuel Neves <sneves@dei.uc.pt>
-
- To the extent possible under law, the author(s) have dedicated all copyright
- and related and neighboring rights to this software to the public domain
- worldwide. This software is distributed without any warranty.
-
- You should have received a copy of the CC0 Public Domain Dedication along with
- this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+ Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
+ terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
+ your option. The terms of these licenses can be found at:
+
+ - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
+ - OpenSSL license : https://www.openssl.org/source/license.html
+ - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
+
+ More information about the BLAKE2 hash function can be found at
+ https://blake2.net.
*/
unsigned long long cpucycles( void )
diff --git a/bench/bench.c b/bench/bench.c
index 3e86fa1..bc30703 100644
--- a/bench/bench.c
+++ b/bench/bench.c
@@ -1,14 +1,16 @@
/*
BLAKE2 reference source code package - benchmark tool
-
- Written in 2012 by Samuel Neves <sneves@dei.uc.pt>
-
- To the extent possible under law, the author(s) have dedicated all copyright
- and related and neighboring rights to this software to the public domain
- worldwide. This software is distributed without any warranty.
-
- You should have received a copy of the CC0 Public Domain Dedication along with
- this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+ Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
+ terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
+ your option. The terms of these licenses can be found at:
+
+ - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
+ - OpenSSL license : https://www.openssl.org/source/license.html
+ - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
+
+ More information about the BLAKE2 hash function can be found at
+ https://blake2.net.
*/
#include <stdint.h>
#include <stdio.h>
diff --git a/bench/md5.c b/bench/md5.c
index c787117..1f6164e 100644
--- a/bench/md5.c
+++ b/bench/md5.c
@@ -1,14 +1,16 @@
/*
BLAKE2 reference source code package - benchmark tool
-
- Written in 2012 by Samuel Neves <sneves@dei.uc.pt>
-
- To the extent possible under law, the author(s) have dedicated all copyright
- and related and neighboring rights to this software to the public domain
- worldwide. This software is distributed without any warranty.
-
- You should have received a copy of the CC0 Public Domain Dedication along with
- this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+ Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
+ terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
+ your option. The terms of these licenses can be found at:
+
+ - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
+ - OpenSSL license : https://www.openssl.org/source/license.html
+ - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
+
+ More information about the BLAKE2 hash function can be found at
+ https://blake2.net.
*/
#include <stddef.h>
#include <openssl/md5.h>
diff --git a/bench/x86cpuinfo.c b/bench/x86cpuinfo.c
index b549a11..ccc55cc 100644
--- a/bench/x86cpuinfo.c
+++ b/bench/x86cpuinfo.c
@@ -1,14 +1,16 @@
/*
BLAKE2 reference source code package - benchmark tool
-
- Written in 2012 by Samuel Neves <sneves@dei.uc.pt>
-
- To the extent possible under law, the author(s) have dedicated all copyright
- and related and neighboring rights to this software to the public domain
- worldwide. This software is distributed without any warranty.
-
- You should have received a copy of the CC0 Public Domain Dedication along with
- this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+ Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
+ terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
+ your option. The terms of these licenses can be found at:
+
+ - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
+ - OpenSSL license : https://www.openssl.org/source/license.html
+ - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
+
+ More information about the BLAKE2 hash function can be found at
+ https://blake2.net.
*/
unsigned long long cpucycles( void )
@@ -16,4 +18,4 @@ unsigned long long cpucycles( void )
unsigned long long result;
asm volatile( ".byte 15;.byte 49" : "=A" ( result ) );
return result;
-} \ No newline at end of file
+}