diff options
author | Eric Biggers <ebiggers@google.com> | 2019-01-10 12:17:52 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-01-18 18:43:42 +0800 |
commit | b7962ebcb3936e3ae5282504af5f3f0abb2cd4d7 (patch) | |
tree | 693ee06d86db7c15da37ba974968f4f8ab7a86ed /crypto/xts.c | |
parent | 2927bfa2b531dec77b9dea2e1cc20ac6fed36613 (diff) | |
download | linux-crypto-b7962ebcb3936e3ae5282504af5f3f0abb2cd4d7.tar.gz linux-crypto-b7962ebcb3936e3ae5282504af5f3f0abb2cd4d7.zip |
crypto: gcm - use correct endianness type in gcm_hash_len()
In gcm_hash_len(), use be128 rather than u128. This fixes the following
sparse warnings:
crypto/gcm.c:252:19: warning: incorrect type in assignment (different base types)
crypto/gcm.c:252:19: expected unsigned long long [usertype] a
crypto/gcm.c:252:19: got restricted __be64 [usertype]
crypto/gcm.c:253:19: warning: incorrect type in assignment (different base types)
crypto/gcm.c:253:19: expected unsigned long long [usertype] b
crypto/gcm.c:253:19: got restricted __be64 [usertype]
No actual change in behavior.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions