commit | df91f56adce1fc131e05368a0ad0ea72afd9a79a | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Mon Jan 08 11:45:04 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 26 15:09:38 2018 +0200 |
tree | 2406ccfaa0fb50877c45d2cdca364a1f3c2f48c0 | |
parent | 3e72ee8874f42ddbe72a090044f7c03740158183 [diff] |
libcrc32c: Add crc32c_impl function This function returns a string with the currently in-use implementation of the crc32c algorithm, i.e crc32c-generic (for unoptimised, generic implementation) or crc32c-intel for the sse optimised version. This will be used by btrfs. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> [ use crypto_shash_driver_name as suggested by Herbert ] Signed-off-by: David Sterba <dsterba@suse.com>