No cookie for @aead :)

This commit is contained in:
Frank Denis 2018-05-04 00:36:20 +02:00
parent 8d20cd7550
commit e6ccf7f3c0
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ func hChaCha20(out *[32]byte, nonce *[16]byte, key *[32]byte) {
}
func xorKeyStream(dst, src []byte, block, state *[64]byte, rounds int) int {
if useSSE2 {
switch {
case useSSE2:
return xorKeyStreamSSE2(dst, src, block, state, rounds)
default:
return xorKeyStreamGeneric(dst, src, block, state, rounds)