freebsd-skq/sys
cem e2ca0f334d OCF: Add plain hash modes
In part, to support OpenSSL's use of cryptodev, which puts the HMAC pieces
in software and only offloads the raw hash primitive.

The following cryptodev identifiers are added:

 * CRYPTO_RIPEMD160 (not hooked up)
 * CRYPTO_SHA2_224
 * CRYPTO_SHA2_256
 * CRYPTO_SHA2_384
 * CRYPTO_SHA2_512

The plain SHA1 and 2 hashes are plumbed through cryptodev (feels like there
is a lot of redundancy here...) and cryptosoft.

This adds new auth_hash implementations for the plain hashes, as well as
SHA1 (which had a cryptodev.h identifier, but no implementation).

Add plain SHA 1 and 2 hash tests to the cryptocheck tool.

Motivation stems from John Baldwin's earlier OCF email,
https://lists.freebsd.org/pipermail/freebsd-arch/2018-January/018835.html .
2018-07-09 07:28:13 +00:00
..
amd64 Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE. 2018-07-06 19:50:44 +00:00
arm Oops, fix a typo: imx_snvs should be imx6_snvs. 2018-07-08 21:14:43 +00:00
arm64 Reuse the PV entry when updating a mapping in pmap_enter(). 2018-07-08 20:38:46 +00:00
bsm
cam remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
cddl This exposes ZFS user and group quotas via the normal 2018-07-05 22:56:13 +00:00
compat Create PCI_MATCH and pci_match_device 2018-07-07 15:25:11 +00:00
conf Make ZSTD a real option via ZSTDIO. 2018-07-05 17:07:23 +00:00
contrib MFV: r335802 2018-06-29 23:48:30 +00:00
crypto Implement SHA2-224 submode of SHA2-256 2018-07-09 07:24:05 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev Remove "HMAC" from <HASH>_HMAC_BLOCK_LEN macro names 2018-07-09 07:21:37 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied. 2018-07-08 18:15:55 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom gpart: add EFI alias for MBR partition scheme 2018-06-17 20:10:48 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 Invalidate the mapping before updating its physical address. 2018-07-08 16:51:54 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Change prison_add_vfs() to the more generic prison_add_allow(), which 2018-07-06 18:50:22 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips Remove duplicate configuration values as they are already defined in 2018-07-06 13:31:06 +00:00
modules Make the imx6_snvs driver usable as a module, add pnp info. Add a manpage. 2018-07-08 19:35:41 +00:00
net struct ifmediareq *ifmrp is only used in the COMPAT_FREEBSD32 parts of 2018-07-07 13:35:06 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet Allow alternate TCP stack to populate the TCP FO client cookie 2018-07-07 12:28:16 +00:00
netinet6 fix 335919 - check "last" not "inp" where appropriate 2018-07-04 16:34:07 +00:00
netipsec fix locking within tcp_ipsec_pcbctl() to match ipsec4_pcbctl(), ipsec4_pcbctl() 2018-07-04 17:10:07 +00:00
netpfil Create a new macro for static DPCPU data. 2018-07-05 17:13:37 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Revert r335094 and properly fix OFED build after r335053. 2018-06-14 07:55:10 +00:00
opencrypto OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00
powerpc Let ofw_iicbus work its magic on OPAL i2c buses. 2018-07-07 01:58:40 +00:00
riscv Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
rpc Fix the server side krpc so that the kernel nfsd threads terminate. 2018-07-02 17:50:46 +00:00
security Fix build breakage in veriexec for 32-bit architectures. 2018-06-20 06:54:38 +00:00
sparc64 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
sys critical_{enter, exit}: add missing compiler barrier 2018-07-08 19:35:29 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Import commit from NetBSD with checkin message: 2018-07-07 19:11:43 +00:00
vm Wrap the declaration and assignment of "stripe" with #ifdef NUMA declarations 2018-07-07 13:37:44 +00:00
x86 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile