Feature #4185

add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R

Added by Sašo Kiselkov over 5 years ago. Updated over 3 years ago.

Status:ClosedStart date:2013-10-06
Priority:NormalDue date:
Assignee:Matthew Ahrens% Done:

100%

Category:zfs - Zettabyte File System
Target version:-
Difficulty:Hard Tags:needs-triage

Description

This feature submission implements new hash algorithms into ZFS with improved performance:
  • SHA-512/256: 50% higher performance than SHA-256 on 64-bit hardware with minimum code changes.
  • Skein: 80% higher performance than SHA-256 with new and highly secure algorithm. Includes a KCF SW provider interface.
  • Edon-R: >350% higher performance than SHA-256. Lower security margin than Skein, but much higher throughput.
    To address the potential security implications of Edon-R, this feature submission also implements salted checksums (aka MACs) in ZFS (both Skein and Edon-R utilize this).
    Webrev at: http://cr.illumos.org/~webrev/skiselkov/new_hashes/

0001-4185-NULL-pointer-constant-not-int-issues.patch Magnifier (3.32 KB) Richard PALO, 2015-09-17 06:34 AM

History

#1 Updated by Matthew Ahrens over 3 years ago

  • Subject changed from New hash algorithm support to add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R
  • Category set to zfs - Zettabyte File System
  • Assignee changed from Sašo Kiselkov to Matthew Ahrens

#2 Updated by Electric Monk over 3 years ago

  • Status changed from Feedback to Closed

git commit 45818ee124adeaaf947698996b4f4c722afc6d1f

commit  45818ee124adeaaf947698996b4f4c722afc6d1f
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2015-09-16T15:01:39.000Z

    4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R
    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>

#3 Updated by Electric Monk over 3 years ago

git commit be32284091554a41d4706e6653adeec1d9127a87

commit  be32284091554a41d4706e6653adeec1d9127a87
Author: Robert Mustacchi <rm@joyent.com>
Date:   2015-09-16T17:40:46.000Z

    4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R (fix studio build)

#4 Updated by Richard PALO over 3 years ago

  • File 0001-update-libreoffice-to-5.0.2.1.patch added

NULL pointer constant is not an int issues detected

#5 Updated by Richard PALO over 3 years ago

wrong file (cannot replace?!!!) so here is the right one.

#6 Updated by Richard PALO over 3 years ago

  • File deleted (0001-update-libreoffice-to-5.0.2.1.patch)

#7 Updated by Matthew Ahrens over 3 years ago

Richard PALO wrote:

wrong file (cannot replace?!!!) so here is the right one.

Thanks, I'll work on getting this integrated.

#8 Updated by Electric Monk over 3 years ago

git commit 0c3cd038dba1c3a4dcfa2ecc9d7da7c44b11730f

commit  0c3cd038dba1c3a4dcfa2ecc9d7da7c44b11730f
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2015-09-18T03:20:37.000Z

    4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R (NULL is not an int)

#9 Updated by Electric Monk over 3 years ago

git commit 785f20175057dbc7e2b71872d169302562aa19c0

commit  785f20175057dbc7e2b71872d169302562aa19c0
Author: Richard Lowe <richlowe@richlowe.net>
Date:   2015-09-28T15:19:28.000Z

    4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R (fix multi-proto)

Also available in: Atom