summaryrefslogtreecommitdiff
path: root/sys/crypto
AgeCommit message (Expand)Author
2010-12-22use the do {} while construct in the copying macrosTheo de Raadt
2010-12-21remove dead code (ivp did always point to iv in the decrypt path).Markus Friedl
2010-12-16move CRYPTO_VIAC3_MAX out of cryptodev.h and into the onlyJonathan Gray
2010-12-16The VIA ciphers are added to an array of CRYPTO_ALGORITHM_MAX lengthJonathan Gray
2010-12-14disable access to the crypto(4) device from userland; ok deraadtMike Belopuhov
2010-11-08use a well established define instead of rolling our own; no binary changeMike Belopuhov
2010-10-06Retire SkipjackMike Belopuhov
2010-10-06zero out auth hash context before freeing it; ok matthew millertMike Belopuhov
2010-09-22OCF support for the Galois/Counter Mode (GCM) for AES asMike Belopuhov
2010-09-08Reintroduce most crypto/crypto.c r1.55:Joel Sing
2010-08-08Backout r1.55 since this breaks anything which does crypto ops prior toJoel Sing
2010-07-21No need for read/write functions, just use enodev like all the otherTheo de Raadt
2010-07-20Switch some obvious network stack MAC comparisons from bcmp() toMatthew Dempsky
2010-07-20Mark a DMA accessible malloc for later correction. This isMatthew Dempsky
2010-07-08Revert part of previous.Thordur I. Bjornsson
2010-07-08Move pool initialization to init_crypto and zap the crypto_pool_initializedThordur I. Bjornsson
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2010-06-23Zap a dead prototype, crypto_thread(); Leftover since crypto wasThordur I. Bjornsson
2010-06-09Remove the CRYPTO_ALGORITHM_ALL define, fixup accordinglyThordur I. Bjornsson
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
2010-01-10Fix two bugs in IPsec/HMAC-SHA2:Markus Friedl
2009-09-03crypto hardware (eg, hifn) establishes its interrupt handler atDavid Gwynne
2009-08-17sizeof(ptr) -> sizeof(*ptr) as intended; ok djm@ millert@Miod Vallat
2009-07-05Buffer in RMD160_CTX is length RMD160_BLOCK_LENGTH not RMD160_DIGEST_LENGTH.Todd C. Miller
2009-02-17variable no longer usedTheo de Raadt
2009-02-17The loop here preparing the uio always added the length of the firstOwain Ainsworth
2008-11-04Use defines for constants. Use __attribute__ bounded.Hans-Joerg Hoexer
2008-10-30reintroduce mutexes to workqs for locking.David Gwynne
2008-09-06match libc sha2(3) API changes for kernel; ok millert@Damien Miller
2008-08-12Implementation of the HMAC-MD5, HMAC-SHA1, HMAC-SHA256, AES-128-CMACDamien Bergamini
2008-07-21gives this a chance to work on architectures with strict alignmentDamien Bergamini
2008-06-25implement automatic time-based rekeying (every 10 minutes); ok deraadt@Damien Miller
2008-06-09Introduce a facility to generate unpredictable 32 bit numbers withDamien Miller
2008-06-09add myself to copyrightDamien Miller
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.Damien Miller
2008-06-09constify arguments in wrapper functions; the lower level functionsDamien Miller
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2007-11-28finish conversion to workq. remove list remnants, and put spl in the rightTed Unangst
2007-11-26typos; ok jmc@Martynas Venckus
2007-11-25convert crypto thread to workq. add WQ_DIRECTOK flag to workq.Ted Unangst
2007-11-14do not call crypto_done() on errors, since the drivers already do this.Markus Friedl
2007-09-15fix error introduced by my previous commit:Hans-Joerg Hoexer
2007-09-13Here too: Convert MALLOC/FREE to malloc/free and use M_ZERO where applicable.Hans-Joerg Hoexer
2007-09-11Add __bounded__ attributes to prototypes.Damien Miller
2007-09-10Make the hmac ipad/opad globals "const" and fixup the crypto functionsHenric Jungheim
2007-07-24add rc4_skip() function that can be used to discard bytes fromDamien Bergamini
2007-07-20unbreak landisk kernel sha1 by working around a compiler bug;Otto Moerbeek
2007-05-27make the #defines in rijndael.h a bit more meaningfulTed Unangst
2007-05-27make crp_buf a void *. caddr_t implies bufferness, it's not.Ted Unangst
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat