Re: [PATCH v3 11/13] btrfs: directly call into crypto framework for checsumming

2019-05-30 Thread David Gstir
> On 30.05.2019, at 12:14, David Sterba wrote: > > On Wed, May 29, 2019 at 09:32:59PM +0200, David Gstir wrote: >> If you aim for using as many of the hardware drivers as possible, >> it might be better to use the ahash API, since some drivers >> (eg. CAAM on NXP&

Re: [PATCH v3 11/13] btrfs: directly call into crypto framework for checsumming

2019-05-29 Thread David Gstir
Hi Johannes! > On 22.05.2019, at 10:19, Johannes Thumshirn wrote: > > Currently btrfs_csum_data() relied on the crc32c() wrapper around the crypto > framework for calculating the CRCs. > > As we have our own crypto_shash structure in the fs_info now, we can > directly call into the crypto frame