crypto: streebog - use correct endianness type
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:17:54 +0000 (12:17 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jan 2019 10:43:43 +0000 (18:43 +0800)
commit73381da5f9ec333b1fbe38a156e7764a90e36a74
tree4b257ce2e45f0ee0bf18ac3eb4db8ebe40b16871
parenta1180cffea6a8c54161eb8e9ca8b2aeaa933a910
crypto: streebog - use correct endianness type

streebog_uint512::qword needs to be __le64, not u64.  This fixes a large
number of sparse warnings:

    crypto/streebog_generic.c:25:9: warning: incorrect type in initializer (different base types)
    crypto/streebog_generic.c:25:9:    expected unsigned long long
    crypto/streebog_generic.c:25:9:    got restricted __le64 [usertype]
    [omitted many similar warnings]

No actual change in behavior.

Cc: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/streebog_generic.c
include/crypto/streebog.h