[hackers] [sbase] Licensing fix in util/sha256.c || David Galos

From: <git_AT_suckless.org>
Date: Sat, 20 Jul 2013 19:22:53 +0200

commit 50d93057523bfd3b459e2003f6fef8712c2634ec
Author: David Galos <galosd83_AT_students.rowan.edu>
Date: Sat Jul 20 13:23:13 2013 -0400

    Licensing fix in util/sha256.c

diff --git a/util/sha256.c b/util/sha256.c
index 94db29b..3284048 100644
--- a/util/sha256.c
+++ b/util/sha256.c
_AT_@ -1,12 +1,4 @@
-/*
- * public domain sha256 crypt implementation
- *
- * original sha crypt design: http://people.redhat.com/drepper/SHA-crypt.txt
- * in this implementation at least 32bit int is assumed,
- * key length is limited, the $5$ prefix is mandatory, '
' and ':' is rejected
- * in the salt and rounds= setting must contain a valid iteration count,
- * on error "*" is returned.
- */
+/* public domain sha256 implementation based on fips180-3 */
 #include <ctype.h>
 #include <stdlib.h>
 #include <stdio.h>
_AT_@ -14,8 +6,6 @@
 #include <stdint.h>
 #include "../sha256.h"
 
-/* public domain sha256 implementation based on fips180-3 */
-
 static uint32_t ror(uint32_t n, int k) { return (n >> k) | (n << (32-k)); }
 #define Ch(x,y,z) (z ^ (x & (y ^ z)))
 #define Maj(x,y,z) ((x & y) | (z & (x | y)))
Received on Sat Jul 20 2013 - 19:22:53 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 20 2013 - 19:24:16 CEST