The checksum code is currently only used in libzpool, which means ztest
and zdb depends on it.

There is an open bug where userland code that reads labels (namely
import) should also checksum the values.  These are always written using
ZIO_CHECKSUM_LABEL (currently SHA256).  However, this would not leverage
the same ZFS checksum code so it's probably not an issue.

- Eric

On Wed, Jul 25, 2007 at 05:53:23PM +0100, Darren J Moffat wrote:
> Other than when using ztest when does the ZFS checksum code get run in 
> userland ?
> 
> The reason I ask is I'm trying to determine if we need to have HMAC 
> variants of SHA256 in libmd or if using libpkcs11 will be sufficient. 
> Or in other words can we assume that svc:/system/cryptosvc will be 
> available (which it needs to be to call APIs in libpkcs11 just now).
> 
> -- 
> Darren J Moffat
> _______________________________________________
> zfs-code mailing list
> zfs-code at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-code

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock

Reply via email to