From db85a111941c3301f3ce04b9ac12eb6625412286 Mon Sep 17 00:00:00 2001 From: fifteenthcommotion Date: Sun, 12 May 2019 02:18:03 -0700 Subject: [PATCH] unlicense and spacing perfectionism --- contrib/yggdrasil-brute-simple/LICENSE | 25 ++++++++++++++++++- .../yggdrasil-brute-multi-curve25519.c | 2 -- .../yggdrasil-brute-multi-ed25519.c | 3 --- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/contrib/yggdrasil-brute-simple/LICENSE b/contrib/yggdrasil-brute-simple/LICENSE index 2549ece..68a49da 100644 --- a/contrib/yggdrasil-brute-simple/LICENSE +++ b/contrib/yggdrasil-brute-simple/LICENSE @@ -1 +1,24 @@ -As public domain as possible. Don't blame me if your computer explodes. +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-curve25519.c b/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-curve25519.c index f0b6f55..a592f38 100644 --- a/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-curve25519.c +++ b/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-curve25519.c @@ -42,7 +42,6 @@ int main(int argc, char **argv) { unsigned int runs = 0; int where; - if (argc != 2) { fprintf(stderr, "usage: ./yggdrasil-brute-multi-curve25519 \n"); return 1; @@ -104,4 +103,3 @@ int main(int argc, char **argv) { return 0; } - diff --git a/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-ed25519.c b/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-ed25519.c index 51e9aef..02218e5 100644 --- a/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-ed25519.c +++ b/contrib/yggdrasil-brute-simple/yggdrasil-brute-multi-ed25519.c @@ -40,7 +40,6 @@ int main(int argc, char **argv) { unsigned int runs = 0; int where; - if (argc != 2) { fprintf(stderr, "usage: ./yggdrasil-brute-multi-curve25519 \n"); return 1; @@ -88,7 +87,6 @@ int main(int argc, char **argv) { } } while (time(NULL) - starttime < requestedtime || runs < NUMKEYS); - fprintf(stderr, "!! Secret key is seed concatenated with public !!\n"); fprintf(stderr, "---hash--- ------------------------------seed------------------------------ -----------------------------public-----------------------------\n"); for (i = 0; i < NUMKEYS; ++i) { @@ -106,4 +104,3 @@ int main(int argc, char **argv) { return 0; } -