Michael Munday
754cb46fa0
chacha20poly1305: update to use new ChaCha20 API
Use the new streaming API introduced in CL 104856. Performance
change is negligible:
name old speed new speed delta
Chacha20Poly1305Open_64 131MB/s ± 2% 135MB/s ± 2% +3.01% (p=0.000 n=18+18)
Chacha20Poly1305Seal_64 137MB/s ± 2% 141MB/s ± 3% +2.89% (p=0.000 n=19+20)
Chacha20Poly1305Open_1350 305MB/s ± 3% 309MB/s ± 2% +1.38% (p=0.001 n=19+20)
Chacha20Poly1305Seal_1350 309MB/s ± 2% 311MB/s ± 2% +0.74% (p=0.032 n=19+18)
Chacha20Poly1305Open_8K 338MB/s ± 3% 340MB/s ± 2% ~ (p=0.108 n=19+20)
Chacha20Poly1305Seal_8K 335MB/s ± 4% 342MB/s ± 2% +1.96% (p=0.000 n=19+19)
Change-Id: I2232c9d8d8431f30fb85b4b371d78a57e633283e
Reviewed-on: https://go-review.googlesource.com/108657
Run-TryBot: Michael Munday <mike.munday@ibm.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-26 23:00:03 +00:00
..
2018-04-26 23:00:03 +00:00
2017-05-03 07:39:20 +00:00
2018-04-26 23:00:03 +00:00
2016-10-31 18:08:06 +00:00
2016-10-11 21:59:08 +00:00
2017-01-26 20:06:16 +00:00
2018-04-26 23:00:03 +00:00