Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2015 12:41:46 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>, Alexander Motin <mav@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r289422 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/com...
Message-ID:  <562128CA.9060807@freebsd.org>
In-Reply-To: <562126BA.7050805@FreeBSD.org>
References:  <201510161445.t9GEjMbK059229@repo.freebsd.org> <562126BA.7050805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--eloJvFHEXGCDIIhnUIPSj06bX7Bk2lUe8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2015-10-16 12:32, Andriy Gapon wrote:
> On 16/10/2015 16:45, Alexander Motin wrote:
>> Author: mav
>> Date: Fri Oct 16 14:45:21 2015
>> New Revision: 289422
>> URL: https://svnweb.freebsd.org/changeset/base/289422
>>
>> Log:
>>   MFV r289310:
>>   4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R
>>  =20
>>   Reviewed by: George Wilson <george.wilson@delphix.com>
>>   Reviewed by: Prakash Surya <prakash.surya@delphix.com>
>>   Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
>>   Reviewed by: Richard Lowe <richlowe@richlowe.net>
>>   Approved by: Garrett D'Amore <garrett@damore.org>
>>   Author: Matthew Ahrens <mahrens@delphix.com>
>>  =20
>>   illumos/illumos-gate@45818ee124adeaaf947698996b4f4c722afc6d1f
>>  =20
>>   This is only a partial merge of respective ZFS infrastructure change=
s.
>>   At this moment FreeBSD kernel has no those crypto algorithms, so the=

>>   parts of the code to enable them are commented out.  When they are
>>   implemented, it will be trivial to plug them in.
>=20
> BTW, do we need to add SHA-512 support to the boot code?
> Toomas Soome has already written some code for that:
> https://github.com/tsoome/illumos-gate/blob/loader/usr/src/boot/sys/cdd=
l/boot/zfs/sha256.c
>=20
>> Added:
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/edonr_zfs.c
>>      - copied unchanged from r289310, vendor-sys/illumos/dist/uts/comm=
on/fs/zfs/edonr_zfs.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/skein_zfs.c
>>      - copied unchanged from r289310, vendor-sys/illumos/dist/uts/comm=
on/fs/zfs/skein_zfs.c
>> Modified:
>>   head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
>>   head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
>>   head/sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.c
>>   head/sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.h
>>   head/sys/cddl/contrib/opensolaris/common/zfs/zfs_fletcher.c
>>   head/sys/cddl/contrib/opensolaris/common/zfs/zfs_fletcher.h
>>   head/sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ddt.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sha256.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_impl.h
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_checksum=
=2Eh
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_checksum.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/sys/debug.h
>> Directory Properties:
>>   head/cddl/contrib/opensolaris/   (props changed)
>>   head/cddl/contrib/opensolaris/lib/libzfs/   (props changed)
>>   head/sys/cddl/contrib/opensolaris/   (props changed)
>>
>=20
>=20

I am working on a SHA512/256 implementation for FreeBSD, it is almost
finished. I will get it in ASAP, and I can also handle adding the
support to our gptzfsboot.

--=20
Allan Jude


--eloJvFHEXGCDIIhnUIPSj06bX7Bk2lUe8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWISjNAAoJEBmVNT4SmAt+6xYP/ihp2dhC8xfLtttQjcTTdy3Z
qw2iGsKfJW0ayC+PmScIrlkZGEa8OXu1xQC8ySgrMryV4Ne9RONb9xKToJLUhPI+
GV1e2gbc+uIYNURq6hM2rGmoWQ7SIheHM9JBj622B2zV2g0ily91o1ktWJRhX6rS
vMxOf5TFnTYrhIxsC/U7mxZ6rxAsjkOBnR3F4/LqRFbaT7Nkgjt+0LQ0gYQq5Tc4
N+JSzEbssNlkYRDZR3VPmAkcg3scL1WMOAhljs/yOPfgYWOIG5vRrll9oQDlKLBE
4AvPir81Fo/PN4ZAjytH9Cx3lIl1088PNf6cPjrvLfKbNtd/2gEPRBho7KH2W0OA
K6dcgGXuf3mz6El78CxSbJ8XmtJ7BiSFCZZQvlpcdm3VmoP92qYUSQgefQowb8a0
ifMZ1jo+6+NYvWf8ABteCNGDYgFRL1oSmmNajETVzE7ijYi4Na+tamzbPd5AXXDk
KESTPu9zUfTpaPdpr25NaL3xWJLC4V96hWPvSXjuZAutev23BXIqxwML5Q7AOfjw
5ZtgZGMT4vtESbHXUp34GHr+1QpJHcxfSzl9QebDhPXU8MXsdv3Q4oSi9vzP/aOG
9Bce1y0IxMea547Q2IhCnvE4E5L/GNfufCs69sl0scN+a2xdVGEAeFg447mBeOK3
VvZedMK5o3EhiooudoM8
=9buR
-----END PGP SIGNATURE-----

--eloJvFHEXGCDIIhnUIPSj06bX7Bk2lUe8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562128CA.9060807>