commit | 2698bce1f05f0a13e2df1db7364df2b50a47e08d | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Mon Oct 14 18:16:44 2019 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Oct 26 02:06:05 2019 +1100 |
tree | 1b5a0592b1e8db804610d7e5c715a9cf4176209f | |
parent | be867f987a4e1222114dd07a01838a17c26f3fff [diff] |
crypto: aegis128 - avoid function pointers for parameterization Instead of passing around an ops structure with function pointers, which forces indirect calls to be used, refactor the code slightly so we can use ordinary function calls. At the same time, switch to a static key to decide whether or not the SIMD code path may be used. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>