Alexander Neumann
|
47219a790f
|
crypto tests: remove dependency on /dev/urandom
|
2015-08-18 21:40:40 +02:00 |
|
Florian Weingarten
|
36a62cf77d
|
Extract chunker
|
2015-07-08 16:58:23 -04:00 |
|
Alexander Neumann
|
26e4d2e019
|
tests: Remove more flags
|
2015-06-28 13:52:22 +02:00 |
|
Alexander Neumann
|
861e1b9910
|
Add doc stubs to all the packages
|
2015-05-09 13:00:01 +02:00 |
|
Alexander Neumann
|
bdbb3ab329
|
Remove pools.go
|
2015-05-05 00:14:07 +02:00 |
|
Alexander Neumann
|
1f33e29ce2
|
crypto: Fix buffer extension in Decrypt()
|
2015-05-05 00:12:05 +02:00 |
|
Alexander Neumann
|
08fac28e73
|
crypto: Remove polynomial from key
|
2015-05-03 18:56:20 +02:00 |
|
Alexander Neumann
|
9010d7bb3a
|
Add test for invalid (=zero) crypto keys
|
2015-05-01 17:32:42 +02:00 |
|
Alexander Neumann
|
98dc811536
|
Add nil-receiver awareness to all Reader/Writer
|
2015-05-01 17:32:42 +02:00 |
|
Florian Weingarten
|
90e6a8eb86
|
consistently rename signature to mac
|
2015-04-30 13:41:50 -04:00 |
|
Florian Weingarten
|
c500b94216
|
crypto.go nitpicks
|
2015-04-29 22:28:34 -04:00 |
|
Alexander Neumann
|
5ab900acac
|
Fix data race, remember when signing key has been masked
|
2015-04-26 13:07:26 +02:00 |
|
Florian Weingarten
|
ebae478631
|
Prefer mixedCaps over underscore
|
2015-04-24 19:39:32 -04:00 |
|
Alexander Neumann
|
1eb6172c40
|
crypto: Use bytes.Reader for crypto reader
|
2015-04-25 00:54:33 +02:00 |
|
Alexander Neumann
|
9c43688d1a
|
crypto: Add buffer management to writer
benchmarks:
benchmark old ns/op new ns/op delta
BenchmarkEncryptWriter 37032949 37754353 +1.95%
BenchmarkEncrypt 35989611 36344593 +0.99%
BenchmarkDecryptReader 38274466 38282979 +0.02%
BenchmarkEncryptDecryptReader 77506506 77088612 -0.54%
BenchmarkDecrypt 36219298 36128875 -0.25%
benchmark old MB/s new MB/s speedup
BenchmarkEncryptWriter 226.52 222.19 0.98x
BenchmarkEncrypt 233.08 230.81 0.99x
BenchmarkDecryptReader 219.17 219.12 1.00x
BenchmarkEncryptDecryptReader 108.23 108.82 1.01x
BenchmarkDecrypt 231.61 232.19 1.00x
benchmark old allocs new allocs delta
BenchmarkEncryptWriter 20 16 -20.00%
BenchmarkEncrypt 12 12 +0.00%
BenchmarkDecryptReader 13 13 +0.00%
BenchmarkEncryptDecryptReader 32 27 -15.62%
BenchmarkDecrypt 10 10 +0.00%
benchmark old bytes new bytes delta
BenchmarkEncryptWriter 1020064 170331 -83.30%
BenchmarkEncrypt 1600 1600 +0.00%
BenchmarkDecryptReader 841070 842094 +0.12%
BenchmarkEncryptDecryptReader 3027433 845129 -72.08%
BenchmarkDecrypt 1573 1573 +0.00%
|
2015-04-25 00:54:33 +02:00 |
|
Alexander Neumann
|
61d1f6ad18
|
crypto: Return error when same slice is used
|
2015-04-19 14:57:35 +02:00 |
|
Alexander Neumann
|
8e867817a5
|
crypto: Clarify slice usage for Encrypt/Decrypt
|
2015-04-19 14:57:35 +02:00 |
|
Alexander Neumann
|
63e79539e9
|
crypto: Remove type iv
|
2015-04-19 14:57:35 +02:00 |
|
Alexander Neumann
|
7b6bd98c9e
|
crypto: Rename internal functions
|
2015-04-19 14:57:35 +02:00 |
|
Alexander Neumann
|
7a7cc5b39f
|
crypto: Test length
|
2015-04-12 21:48:17 +02:00 |
|
Alexander Neumann
|
f8e1043ad3
|
crypto: Match signature of Encrypt() to Decrypt()
|
2015-04-12 20:58:41 +02:00 |
|
Alexander Neumann
|
7e6acfe44d
|
crypto: move reader and writer to its own file
|
2015-04-12 10:57:41 +02:00 |
|
Alexander Neumann
|
64f7d4d611
|
crypto: Rename exported funcs and structs, cleanup
|
2015-04-12 10:55:56 +02:00 |
|
Alexander Neumann
|
21dc6dd3db
|
Rename crypto functions and constants
|
2015-04-12 09:41:47 +02:00 |
|
Alexander Neumann
|
3a2525809c
|
Reorganize crypto code
Move all crypto functions to package "crypto", move random generators
for tests into helper package.
|
2015-04-12 09:36:14 +02:00 |
|