Mike Gerdts wrote: > On Tue, Aug 26, 2008 at 10:58 AM, Darren J Moffat <[EMAIL PROTECTED]> wrote: >> In the interest of "full disclosure" I have changed the sha256.c in the >> ZFS source to use the default kernel one via the crypto framework rather >> than a private copy. I wouldn't expect that to have too big an impact (I >> will be verifying it I just didn't have the data to hand quickly). > > Would this also make it so that it would use hardware assisted sha256 > on capable (e.g N2) platforms?
Yes. > Is that the same as this change from > long ago? > http://mail.opensolaris.org/pipermail/zfs-code/2007-March/000448.html Slightly different implementation - in particular it doesn't use PKCS#11 in userland only libmd. It also falls back to direct sha256 if the crypto framework call crypto_mech2id() call fails - this is needed to support ZFS boot. -- Darren J Moffat _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss