Chao Yu 233b197757 f2fs: clean up hash codes
f2fs_chksum and f2fs_crc32 use the same 'crc32' crypto engine, also
their implementation are almost the same, except with different
shash description context.

Introduce __f2fs_crc32 to wrap the common codes, and reuse it in
f2fs_chksum and f2fs_crc32.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2018-01-27 13:29:30 -08:00
..
2016-09-14 16:52:36 -07:00
2018-01-27 13:29:24 -08:00
2018-01-27 13:29:24 -08:00
2018-01-27 13:29:30 -08:00
2018-01-27 13:29:26 -08:00
2017-12-18 17:21:48 -08:00
2018-01-27 13:29:24 -08:00
2018-01-27 13:29:26 -08:00
2017-12-18 19:28:15 -08:00
2018-01-27 13:29:06 -08:00
2018-01-27 13:29:27 -08:00
2017-12-18 17:21:45 -08:00
2018-01-27 13:29:29 -08:00
2018-01-27 13:29:24 -08:00