Add license header for Minio modifications, improvements for sha1,sha256,sha512 implementations

Also bring in SSE3 optimized public domain implementation of SHA1 from Intel ``FIPS PUB 180-1``
This commit is contained in:
Harshavardhana
2015-02-21 13:40:54 -08:00
parent cfb1fe7f9d
commit 49a714d1a4
27 changed files with 1369 additions and 3 deletions

View File

@@ -46,6 +46,9 @@
########################################################################
# This code schedules 1 block at a time, with 4 lanes per block
########################################################################
# Using this part of Minio codebase under the license
# Apache License Version 2.0 with modifications
##
#ifdef HAS_AVX
#ifndef ENTRY
@@ -451,7 +454,7 @@ a = TMP_
or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
add y0, h # h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
mov e, y0 # y0 = e
mov e, y0 # y0 = e
mov a, y1 # y1 = a
MY_ROR (25-11), y0 # y0 = e >> (25-11)
xor e, y0 # y0 = e ^ (e >> (25-11))