commit | db8e15a24957904d10f784a9adc4ea4824ee996c | [log] [tgz] |
---|---|---|
author | Martin Willi <martin@strongswan.org> | Sun Nov 11 10:36:26 2018 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Nov 16 14:11:04 2018 +0800 |
tree | 09bdff5ed5ce78b01444625411c9a3b6083f2368 | |
parent | e4e72063d3c0ee9ba10faeb5645dcdaae2d733e9 [diff] |
crypto: x86/chacha20 - Support partial lengths in 4-block SSSE3 variant Add a length argument to the quad block function for SSSE3, so the block function may XOR only a partial length of four blocks. As we already have the stack set up, the partial XORing does not need to. This gives a slightly different function trailer, so we keep that separate from the 1-block function. Signed-off-by: Martin Willi <martin@strongswan.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>