1
0
mirror of https://github.com/fumiama/blake2b-simd.git synced 2026-06-07 03:00:27 +08:00

13 Commits

Author SHA1 Message Date
Frank
b899a74a3a Added performance comparison to other hashing techniques (#12) 2016-07-05 10:48:44 -07:00
Harshavardhana
cf4f8e0c34 Fix benchmarks to report proper values. (#7)
```
$ go test -run=NONE -bench .
PASS
BenchmarkHash64-4  	 1000000	      1036 ns/op	  61.77 MB/s
BenchmarkHash128-4 	 2000000	       801 ns/op	 159.67 MB/s
BenchmarkHash1K-4  	  500000	      2464 ns/op	 415.53 MB/s
BenchmarkHash8K-4  	  200000	     11212 ns/op	 730.60 MB/s
BenchmarkHash32K-4 	   30000	     40766 ns/op	 803.80 MB/s
BenchmarkHash128K-4	   10000	    163170 ns/op	 803.28 MB/s
ok  	github.com/minio/blake2b-simd	10.298s
```
2016-07-03 21:58:02 +02:00
Harshavardhana
3a46db1cb4 Detect SSE automatically and enable corresponding optimized code path.
With this change, following happens.

```
if sse {
   compressSSE()
   return
}
compressGeneric()
```

compressGeneric is used as a fallback when SSE is not detected.
2016-06-28 02:51:14 -07:00
frankw
83ff4cf5f4 Full test cases 2016-06-28 10:55:07 +02:00
frankw
c82983850e Update license header 2016-06-28 10:43:31 +02:00
frankw
1953a0fe1e Removed functionality/code for comparing (during dev) to reference code 2016-06-28 10:01:56 +02:00
frankw
0cb28af64e Added initial test vectors 2016-06-28 09:39:20 +02:00
frankw
4d9461fef6 Round 1 completed 2016-06-25 09:57:20 +02:00
frankw
d71b79de75 G1 macro after DIAGONALIZE added 2016-06-25 09:51:53 +02:00
frankw
53bb6668a3 UNDIAGONALIZE macro 2016-06-25 09:04:36 +02:00
frankw
b0e1a3d003 DIAGONALIZE macro 2016-06-25 08:57:01 +02:00
frankw
8bc3dcee2c Skeleton for assembly and test function 2016-06-24 21:48:51 +02:00
frankw
b47a44b57d Added LICENSE and initial test case 2016-06-24 20:09:36 +02:00