History log of /freebsd-10.1-release/tools/tools/crypto/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


253767 29-Jul-2013 ae

Include stdint.h to fix build.

Pointed by: Olivier Cochard-Labbé


253081 09-Jul-2013 ae

Prepare network statistics structures for migration to PCPU counters.
Use uint64_t as type for all fields of structures.

Changed structures: ahstat, arpstat, espstat, icmp6_ifstat, icmp6stat,
in6_ifstat, ip6stat, ipcompstat, ipipstat, ipsecstat, mrt6stat, mrtstat,
pfkeystat, pim6stat, pimstat, rip6stat, udpstat.

Discussed with: arch@


181965 21-Aug-2008 raj

Increase cryptotest tool initialization vector (IV) size.

This fixes potential out-of-bound accesses when testing ciphers with block size
greater than 8 bytes (e.g. AES).

Submitted by: Bartlomiej Sieka tur ! semihalf dot com
Discussed with: pjd, sam


175979 05-Feb-2008 matteo

Add missing includes and correct argument to sysctlbyname

PR: misc/120274
MFC after: 1 week


172240 19-Sep-2007 gnn

Update structure name to follow the new IPsec code.

Reported by: phk
Approved by: re


167755 21-Mar-2007 sam

Overhaul driver/subsystem api's:
o make all crypto drivers have a device_t; pseudo drivers like the s/w
crypto driver synthesize one
o change the api between the crypto subsystem and drivers to use kobj;
cryptodev_if.m defines this api
o use the fact that all crypto drivers now have a device_t to add support
for specifying which of several potential devices to use when doing
crypto operations
o add new ioctls that allow user apps to select a specific crypto device
to use (previous ioctls maintained for compatibility)
o overhaul crypto subsystem code to eliminate lots of cruft and hide
implementation details from drivers
o bring in numerous fixes from Michale Richardson/hifn; mostly for
795x parts
o add an optional mechanism for mmap'ing the hifn 795x public key h/w
to user space for use by openssl (not enabled by default)
o update crypto test tools to use new ioctl's and add cmd line options
to specify a device to use for tests

These changes will also enable much future work on improving the core
crypto subsystem; including proper load balancing and interposing code
between the core and drivers to dispatch small operations to the s/w
driver as appropriate.

These changes were instigated by the work of Michael Richardson.

Reviewed by: pjd
Approved by: re


158886 24-May-2006 mr

make cryptotest compile after the latest changes to cryptodev.h


158719 18-May-2006 pjd

Add missing stats.hst_nodesc statistics.


140407 18-Jan-2005 phk

ioctl(2) commands are u_long not int.
Pass zero for sysctl new argument length, not NULL);


134911 07-Sep-2004 sam

new version of cryptotest (w/ only code from me)

Reviewed by: imp


124826 22-Jan-2004 imp

Remove references to cryptotest


124799 21-Jan-2004 imp

Theo de Raadt has brought to our attention that he wrote at least part
file and that he has not released it under a free license. Until the
matter can be resolved, honor his claim and remove it.

PR: misc/61676


123261 07-Dec-2003 sam

add install rule


117852 21-Jul-2003 sam

add stat dumper for the safenet driver


115749 02-Jun-2003 sam

Merge from private version:

o add hash operations
o make AES operations useful: split into 3 ops based on key length (specify
aes for AES w/ 128 bit keys, aes192 for 192-bit keys, and aes256 for
256-bit keys
o add -c option to force encrypt->decrypt result to be compared against the
original plaintext (need to compare it against a known good implementation
like openssl)
o change multi-threaded test output to be more meaningingful
o fix default block size selection to consider algorithm's blocking needs


112545 24-Mar-2003 sam

add missing %u to show mcr1full count


112394 19-Mar-2003 sam

o add missing copyright notices
o new hifnstats program to dump hifn driver statistics
o new ipsecstats program to dump fast ipsec statistics


112100 11-Mar-2003 sam

use relative pathname to driver-private file (instead of absolute)


112098 11-Mar-2003 sam

add simple program to dump ubsec driver statistics


111417 24-Feb-2003 sam

o add -b option to enable batching
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware


108833 06-Jan-2003 sam

more crypto test stuff:

o cryptotest can now run multiple threads with -t option
o cryptotest can now "profile" time spent doing symmetric ops with -p
o cryptostats dumps the crypto statistics block
o cryptokeystat is an openbsd app that tests public key ops


107852 14-Dec-2002 sam

add program used to exercise/test /dev/crypto symmetric crypto functionality

Obtained from: openbsd (originally)