summaryrefslogtreecommitdiff
path: root/crypto/crypto_user.c
diff options
context:
space:
mode:
authorOndrej Mosnáček <omosnacek@gmail.com>2017-04-02 21:19:14 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-04-05 21:58:37 +0800
commit2c138e06f8405bcc74d0b76fa53f4225b8c4fced (patch)
tree5ab521e77b56a079961e1c6c688d385f74109b28 /crypto/crypto_user.c
parent2eefd4ca30d2450a94472b6fd9ffb3dacb893a77 (diff)
downloadlinux-crypto-2c138e06f8405bcc74d0b76fa53f4225b8c4fced.tar.gz
linux-crypto-2c138e06f8405bcc74d0b76fa53f4225b8c4fced.zip
crypto: gf128mul - switch gf128mul_x_ble to le128
Currently, gf128mul_x_ble works with pointers to be128, even though it actually interprets the words as little-endian. Consequently, it uses cpu_to_le64/le64_to_cpu on fields of type __be64, which is incorrect. This patch fixes that by changing the function to accept pointers to le128 and updating all users accordingly. Signed-off-by: Ondrej Mosnacek <omosnacek@gmail.com> Reviewd-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_user.c')
0 files changed, 0 insertions, 0 deletions