On Mon, 2008-08-04 at 11:45 +0100, David Woodhouse wrote:
Long term I'd like to switch btrfs to the crypto api, but right now I'm
using libcrc32c.
code wrong, but it looks like my choices are to either have a long
standing context and use locking around the digest/hash calls to protect
internal crypto state, or create a new context every time and take a
perf hit while crypto looks up the right module.
Either way it looks slower than just calling good old libcrc32c.
-chris
--