diff options
| author | Eric Biggers <[email protected]> | 2019-01-10 12:17:55 -0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-01-18 18:43:43 +0800 |
| commit | cb9dde8801292e31e3964236a72f04926cf500b7 (patch) | |
| tree | 89fb81c6f85ad61d82f72fed0c33439ace6c394e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 73381da5f9ec333b1fbe38a156e7764a90e36a74 (diff) | |
crypto: testmgr - handle endianness correctly in alg_test_crc32c()
The crc32c context is in CPU endianness, whereas the final digest is
little endian. alg_test_crc32c() got this mixed up. Fix it.
The test passes both before and after, but this patch fixes the
following sparse warning:
crypto/testmgr.c:1912:24: warning: cast to restricted __le32
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions