summaryrefslogtreecommitdiff
path: root/sys/crypto
AgeCommit message (Expand)Author
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-02Remove variables 'm' and 'uio' that are only ever assigned toTom Cosgrove
2016-04-18Add a mechanism for dispatching mpsafe crypto operations. This adds a newMark Kettenis
2015-12-10Remove plain DES from the kernel crypto framework, including the cryptoChristian Weisgerber
2015-11-18Cleanup gotos as suggested by jsing@ along with spaces and label namesMike Belopuhov
2015-11-13remove unused ARC4 support; ok mikeb@Christian Weisgerber
2015-11-13Remove unused non HMAC versions of MD5 and SHA1; ok mpi, deraadt, naddyMike Belopuhov
2015-11-12remove a few unused definesMike Belopuhov
2015-11-12another define from the dsa eraMike Belopuhov
2015-11-12spacingMike Belopuhov
2015-11-07Update copyright informationMike Belopuhov
2015-11-07Pass AES_GMAC context as a void pointer to cut down on casts in xform.cMike Belopuhov
2015-11-07Allow overriding ghash_update() with an optimized MD function. UseChristian Weisgerber
2015-11-06Instead of multiplying with 0..1, extend the bit into a mask and do an AND.Christian Weisgerber
2015-11-04Pass context as a void pointer to cut down on casts in xform.cMike Belopuhov
2015-11-03Remove two unused definesMike Belopuhov
2015-11-03Enable Chacha20-Poly1305 in the software crypto driverMike Belopuhov
2015-11-03Hook up Chacha20-Poly1305 to the OpenBSD Cryptographic FrameworkMike Belopuhov
2015-11-03Chacha20-Poly1305 AEAD construction as described in RFC7634 and RFC7539Mike Belopuhov
2015-10-29Import Poly1305 Message Authentication CodeMike Belopuhov
2015-10-27Use verbose defines instead of hardcoded values for clarity whenMike Belopuhov
2015-10-27Sync chacha_ivsetup to the version in ssh so that we couldMike Belopuhov
2015-10-26Use axf's hashsize as a block size in the authenticated encryption routine.Mike Belopuhov
2015-08-31two fairly simple sizes for free()Theo de Raadt
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-03-16Include <sys/param.h> rather than <sys/types.h> when also includingMiod Vallat
2015-03-14Remove wrong reference to zlib.Loganaden Velvindron
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-20Use standard spelling for types, and rename local variable from "free".Ted Unangst
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-02-07keep this in sync a bit with userland by putting static on functionsDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2015-01-16Less code, more better. No longer need to worry about what mysteriousTed Unangst
2015-01-15remove static version stringTed Unangst
2015-01-15simplify des headers by stripping out all the unnecessary userland bitsTed Unangst
2015-01-04Use __buffer__ instead of __string__ as the __bounded type. The former causesMiod Vallat
2014-12-31recent changes broke alignment requirements on arm.Ted Unangst
2014-12-30add __bounded as appropriate.David Gwynne
2014-12-28convert bcopy to memcpy in md5 and sha1. also be consistent about clearingTed Unangst
2014-12-28remove KPDK. not really used, and a bad choice anyway. ok naddyTed Unangst
2014-12-23as in libc, always assume digest is passed to Final. no null allowed.Ted Unangst
2014-12-23as in libc, there's no need to check for calling Init on null contextTed Unangst
2014-12-23use endian.h swap macros instead of home grown versionsTed Unangst
2014-12-20openbsd rcisdTed Unangst
2014-12-19make the code look more like libc by changing Transform to take the stateTed Unangst
2014-12-19convert bcopy/zero to memcpy. ok deraadt djmTed Unangst
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
2014-12-17unroll loops for sha2. quite a bit faster for amd64.Ted Unangst
2014-11-17Sync our kernel AES code to the one shipped in OpenSSL/LibreSSL.Mike Belopuhov
2014-11-16Defining the interface in terms of char * means most callers areTed Unangst