summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptosoft.c
AgeCommit message (Expand)Author
2021-10-24Stop setting etype in the MD crypto code. So far we have set the etypePatrick Wildt
2021-10-23Retire asynchronous crypto API as it is no longer required by any driver andTobias Heider
2021-10-13The kernel crypto framework sometimes returned an error, sometimesAlexander Bluhm
2021-07-09Use SLIST macro for cryptosoft sessions instead of hand rolled list.Alexander Bluhm
2021-07-08The properties of the crypto algorithms never change. Declare themAlexander Bluhm
2020-05-29rndvar.h not needed hereTheo de Raadt
2019-01-09free(9) sizes.Martin Pieuchot
2018-05-31Add sizes for free().Frederic Cambus
2017-05-02Switch OCF and IPsec over to the new AESMike Belopuhov
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)Patrick Wildt
2016-09-02Remove variables 'm' and 'uio' that are only ever assigned toTom Cosgrove
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 non HMAC versions of MD5 and SHA1; ok mpi, deraadt, naddyMike Belopuhov
2015-11-12remove a few unused definesMike Belopuhov
2015-11-03Enable Chacha20-Poly1305 in the software crypto driverMike 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-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-28remove KPDK. not really used, and a bad choice anyway. ok naddyTed Unangst
2014-07-13use mallocarray()Theo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-08-25Allocate and deallocate memory for encryption contexts within cryptosoft,Joel Sing
2012-12-11Bring back a small copy optimization in the aes-gcm handling:Mike Belopuhov
2012-12-07RFC 4106, Section 5 states that the SPI and a 64-bit SequenceMike Belopuhov
2012-12-07Fix one of the two issues with ESN support in the GCM case:Mike Belopuhov
2012-10-04Clean up uninitialized warnings from cryptosoft and aesni.Christiano F. Haesbaert
2012-06-29Add support for the Extended (64-bit) Sequence Number as definedMike Belopuhov
2011-01-11fix encryption for uio_iovcnt > 1 by passing the absolute offset 'count'Markus Friedl
2011-01-11add explicit_bzero() calls before free()ing key materialTheo de Raadt
2011-01-11accidental commit of a pending diff relating to something elseTheo de Raadt
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
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-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-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
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
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.Damien Miller
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
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-10Make the hmac ipad/opad globals "const" and fixup the crypto functionsHenric Jungheim
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2005-05-25AESCTR support for ESP (RFC 3686); ok hshoexerMarkus Friedl
2005-05-10support NULL encryption for ESP; ok hshoexer, hoMarkus Friedl
2005-05-02simplify by using arc4random_bytes(), ok djm, hshoexerMarkus Friedl
2004-12-20Allow the setkey function of a transform to fail, eg. when an insufficientHans-Joerg Hoexer