summaryrefslogtreecommitdiffstats
path: root/sys/crypto
AgeCommit message (Expand)AuthorFilesLines
2008-11-04Use defines for constants. Use __attribute__ bounded.hshoexer1-7/+16
2008-10-30reintroduce mutexes to workqs for locking.dlg1-2/+2
2008-09-06match libc sha2(3) API changes for kernel; ok millert@djm6-172/+172
2008-08-12Implementation of the HMAC-MD5, HMAC-SHA1, HMAC-SHA256, AES-128-CMACdamien6-0/+572
2008-07-21gives this a chance to work on architectures with strict alignmentdamien1-17/+28
2008-06-25implement automatic time-based rekeying (every 10 minutes); ok deraadt@djm2-19/+24
2008-06-09Introduce a facility to generate unpredictable 32 bit numbers withdjm2-0/+167
2008-06-09add myself to copyrightdjm1-3/+8
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.djm5-15/+177
2008-06-09constify arguments in wrapper functions; the lower level functionsdjm2-10/+10
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;djm1-2/+2
2007-11-28finish conversion to workq. remove list remnants, and put spl in the righttedu2-13/+24
2007-11-26typos; ok jmc@martynas1-2/+2
2007-11-25convert crypto thread to workq. add WQ_DIRECTOK flag to workq.tedu1-55/+14
2007-11-14do not call crypto_done() on errors, since the drivers already do this.markus1-2/+1
2007-09-15fix error introduced by my previous commit:hshoexer1-2/+2
2007-09-13Here too: Convert MALLOC/FREE to malloc/free and use M_ZERO where applicable.hshoexer4-68/+51
2007-09-11Add __bounded__ attributes to prototypes.djm2-10/+29
2007-09-10Make the hmac ipad/opad globals "const" and fixup the crypto functionshenric6-27/+27
2007-07-24add rc4_skip() function that can be used to discard bytes fromdamien2-2/+13
2007-07-20unbreak landisk kernel sha1 by working around a compiler bug;otto1-2/+2
2007-05-27make the #defines in rijndael.h a bit more meaningfultedu2-8/+9
2007-05-27make crp_buf a void *. caddr_t implies bufferness, it's not.tedu1-2/+2
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.miod1-2/+2
2007-02-21Don't use arbitrary 128 bytes as size of the blf key array if we know exactlygrunk1-1/+2
2007-02-19minimum blocksize for ESP is 32 bit, so adjust blocksize of NULLhshoexer1-2/+2
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@pedro2-5/+7
2006-11-19typo; from bret lambertjmc1-3/+3
2006-10-25pr5274 fix localhost dos with oversized valuestedu1-2/+7
2006-05-31remove some silly casts. put spl calls after all declarations.tedu3-35/+41
2006-03-23kill evil \r; from cedricmickey2-4/+4
2006-03-21Implementation of the Michael MIC as defined in IEEE 802.11i for TKIP.reyk2-0/+134
2006-03-04splimp -> splvmbrad1-12/+12
2005-08-18do not allow 0-length transforms; from freebsdderaadt1-3/+4
2005-06-13get rid of ifdef MSDOS, no binary changehshoexer3-34/+4
2005-05-25AESCTR support for ESP (RFC 3686); ok hshoexermarkus7-37/+153
2005-05-10support NULL encryption for ESP; ok hshoexer, homarkus1-1/+4
2005-05-02simplify by using arc4random_bytes(), ok djm, hshoexermarkus1-22/+3
2005-03-24major knfhshoexer1-55/+89
2005-03-24ansi and tiny knfhshoexer2-26/+12
2004-12-21Don't use crypto thread for callbacks.mpf1-67/+7
2004-12-20Allow the setkey function of a transform to fail, eg. when an insufficienthshoexer5-35/+80
2004-12-15minimum key length of aes is 128 bit, not 64.hshoexer1-2/+2
2004-12-14indentation and some knf, no binary changehshoexer1-10/+17
2004-06-26Ansification of defalte-/lsz-stubs.hshoexer1-13/+4
2004-06-20In crypto_thread(), always save return value from splimp(). We were onlyaaron1-2/+2
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.millert6-8/+287
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.millert1-83/+61
2004-05-03some minor KNFmillert1-33/+42
2004-04-29The data pointer passed to the transform function may not be properlymillert1-8/+6