freebsd-nq/sys
Allan Jude 1780e40715 Implement SHA-512 truncated (224 and 256 bits)
This implements SHA-512/256, which generates a 256 bit hash by
calculating the SHA-512 then truncating the result. A different initial
value is used, making the result different from the first 256 bits of
the SHA-512 of the same input. SHA-512 is ~50% faster than SHA-256 on
64bit platforms, so the result is a faster 256 bit hash.

The main goal of this implementation is to enable support for this
faster hashing algorithm in ZFS. The feature was introduced into ZFS
in r289422, but is disconnected because SHA-512/256 support was missing.
A further commit will enable it in ZFS.

This is the follow on to r292782

Reviewed by:	cem
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D6061
2016-05-28 16:06:07 +00:00
..
amd64 In pmap_advise(), avoid leaking DI start for EPT pmaps which needs A/D 2016-05-27 18:45:11 +00:00
arm Add support for triggering interrupts on both rising and falling edges. 2016-05-26 22:34:25 +00:00
arm64 Extract the correct bits from the GICD_TYPER register. The interrupt count 2016-05-20 15:43:51 +00:00
boot If the I/O offset and length is multiple of the media size then 2016-05-27 19:23:15 +00:00
bsm
cam Strip leading spaces off of a SCSI disk's serial number 2016-05-27 22:26:43 +00:00
cddl Fix up r300870 2016-05-27 22:56:00 +00:00
compat The SCHEDULER_STOPPED() macro already contains a predict false statement. 2016-05-27 07:33:49 +00:00
conf When building modules, define make variable OPT_FDT if the kernel config 2016-05-27 17:40:29 +00:00
contrib Merge ACPICA 20160527. 2016-05-27 22:16:46 +00:00
crypto Implement SHA-512 truncated (224 and 256 bits) 2016-05-28 16:06:07 +00:00
ddb Add a small set of logical operators to DDB command language. 2016-05-16 19:42:38 +00:00
dev Don't panic in hwpmc when stopping sampling. 2016-05-28 13:05:39 +00:00
fs Remove drop/reacquire of Giant around geom calls for cd9660 and udf. 2016-05-22 18:16:25 +00:00
gdb
geom Avoid issuing spa config updates for physical path when not necessary 2016-05-27 22:32:44 +00:00
gnu Revert changes for local testing, inadvertantly commited in r300811. 2016-05-26 23:59:42 +00:00
i386 Add macro to convert errno and use it when appropriate. 2016-05-22 12:46:34 +00:00
isa sys/isa: minor spelling fixes. 2016-05-03 21:51:52 +00:00
kern fd: provide a common exit point for unlock in kern_dup 2016-05-27 17:00:15 +00:00
kgssapi kgssapi: insignificant spelling fix. 2016-05-03 22:05:03 +00:00
libkern sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
mips Build etherswitch support for appropriate Ralink/Mediatek SoCs 2016-05-25 06:47:28 +00:00
modules Add gpiokeys to the list of GPIO modules built only if FDT is enabled 2016-05-28 00:22:39 +00:00
net In if_attachdomain1() there does not seem to be any reason 2016-05-28 08:32:15 +00:00
net80211 ifconfig: set by default FCC regulatory domain for wireless interfaces. 2016-05-26 13:14:08 +00:00
netgraph Fix style(9). 2016-05-26 19:17:51 +00:00
netinet Plug route reference underleak that happens with FLOWTABLE after r297225. 2016-05-27 17:31:02 +00:00
netinet6 Plug route reference underleak that happens with FLOWTABLE after r297225. 2016-05-27 17:31:02 +00:00
netipsec netipsec: Fix minor style nit 2016-05-10 20:14:11 +00:00
netnatm
netpfil Correct a typo in a comment. 2016-05-26 22:03:28 +00:00
netsmb sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
nfs NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nfsclient
nfsserver
nlm
ofed Prepare for activation of LinuxKPI module parameters as read-only 2016-05-25 12:03:21 +00:00
opencrypto sys/opencrypto: minor spelling fixes. 2016-05-06 23:37:19 +00:00
pc98 Move 'device pci' for the PCI bus driver to the MI NOTES file. 2016-04-29 23:53:55 +00:00
powerpc Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
riscv Increase the size and alignment of the setjmp buffer. 2016-05-26 10:03:30 +00:00
rpc Quell false positives in svc_vc_create and svc_vc_create_conn with cd and xprt 2016-05-27 08:48:33 +00:00
security sys/security: minor spelling fixes. 2016-05-06 16:59:04 +00:00
sparc64 Add macro to convert errno and use it when appropriate. 2016-05-22 12:46:34 +00:00
sys Fix taskqueue groups to work with EARLY_AP_STARTUP. 2016-05-27 23:49:16 +00:00
teken
tests
tools
ufs arc4random() returns 0 to (2**32)−1, use an alternative to initialize 2016-05-22 14:31:20 +00:00
vm The flag "vm_pages_needed" has long served two distinct purposes: (1) to 2016-05-27 19:15:45 +00:00
x86 Only calibrate ICR read loop when not in x2APIC mode. Run-time 2016-05-26 09:09:11 +00:00
xdr
xen Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
Makefile