freebsd-skq/share
jmg c3ff54cc39 Add some new modes to OpenCrypto. These modes are AES-ICM (can be used
for counter mode), and AES-GCM.  Both of these modes have been added to
the aesni module.

Included is a set of tests to validate that the software and aesni
module calculate the correct values.  These use the NIST KAT test
vectors.  To run the test, you will need to install a soon to be
committed port, nist-kat that will install the vectors.  Using a port
is necessary as the test vectors are around 25MB.

All the man pages were updated.  I have added a new man page, crypto.7,
which includes a description of how to use each mode.  All the new modes
and some other AES modes are present.  It would be good for someone
else to go through and document the other modes.

A new ioctl was added to support AEAD modes which AES-GCM is one of them.
Without this ioctl, it is not possible to test AEAD modes from userland.

Add a timing safe bcmp for use to compare MACs.  Previously we were using
bcmp which could leak timing info and result in the ability to forge
messages.

Add a minor optimization to the aesni module so that single segment
mbufs don't get copied and instead are updated in place.  The aesni
module needs to be updated to support blocked IO so segmented mbufs
don't have to be copied.

We require that the IV be specified for all calls for both GCM and ICM.
This is to ensure proper use of these functions.

Obtained from:	p4: //depot/projects/opencrypto
Relnotes:	yes
Sponsored by:	FreeBSD Foundation
Sponsored by:	NetGate
2014-12-12 19:56:36 +00:00
..
colldef
dict Remove ia64. 2014-07-07 00:27:09 +00:00
doc Integrate pjdfstest test suite execution into kyua 2014-11-03 07:18:42 +00:00
dtrace add my scripts to measure io latency per disk... 2014-08-09 20:40:03 +00:00
examples This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
i18n Revert r258254: Alias WCHAR_T to UCS-4-INTERNAL. 2014-01-03 23:35:01 +00:00
info Install the template info directory with mode 644 instead of 444 to 2013-01-21 22:54:43 +00:00
keys Remove scary comment about this being a test key. 2014-01-13 20:55:15 +00:00
man Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
me multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
misc Add myself. 2014-12-11 18:58:22 +00:00
mk Fix typo in comments. 2014-12-12 18:54:31 +00:00
mklocale
monetdef Do not overwrite the new UTF-8 files with the old ISO one 2013-07-17 14:00:51 +00:00
msgdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
numericdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
security
sendmail
skel Prefer /etc/login.conf for some of these environment values. 2014-04-14 18:07:00 +00:00
snmp
syscons Fix minor problems found while converting to NEWCONS format. 2014-08-18 20:58:17 +00:00
tabset
termcap Fix building termcap.db when make obj is run beforehand from a clean tree by 2014-12-10 23:18:11 +00:00
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
timedef
vt Add forgotten keymap files fr.kbd and fr.acc.kbd to the FILES list. 2014-09-12 06:23:57 +00:00
zoneinfo Avoid ./ in zoneinfo entries in METALOG 2014-09-03 18:51:33 +00:00
Makefile Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT 2014-06-30 00:20:12 +00:00
Makefile.inc