summaryrefslogtreecommitdiffstats
path: root/sys/crypto/cryptosoft.c
AgeCommit message (Expand)AuthorFilesLines
2020-05-29rndvar.h not needed herederaadt1-2/+1
2019-01-09free(9) sizes.mpi1-3/+3
2018-05-31Add sizes for free().fcambus1-6/+7
2017-05-02Switch OCF and IPsec over to the new AESmikeb1-5/+5
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)patrick1-4/+7
2016-09-02Remove variables 'm' and 'uio' that are only ever assigned totom1-5/+1
2015-12-10Remove plain DES from the kernel crypto framework, including the cryptonaddy1-7/+1
2015-11-18Cleanup gotos as suggested by jsing@ along with spaces and label namesmikeb1-8/+7
2015-11-13Remove unused non HMAC versions of MD5 and SHA1; ok mpi, deraadt, naddymikeb1-30/+1
2015-11-12remove a few unused definesmikeb1-3/+2
2015-11-03Enable Chacha20-Poly1305 in the software crypto drivermikeb1-1/+25
2015-10-26Use axf's hashsize as a block size in the authenticated encryption routine.mikeb1-7/+7
2015-08-31two fairly simple sizes for free()deraadt1-3/+4
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-28remove KPDK. not really used, and a bad choice anyway. ok naddytedu1-59/+1
2014-07-13use mallocarray()deraadt1-2/+2
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-12/+12
2013-08-25Allocate and deallocate memory for encryption contexts within cryptosoft,jsing1-4/+14
2012-12-11Bring back a small copy optimization in the aes-gcm handling:mikeb1-2/+3
2012-12-07RFC 4106, Section 5 states that the SPI and a 64-bit Sequencemikeb1-17/+25
2012-12-07Fix one of the two issues with ESN support in the GCM case:mikeb1-4/+4
2012-10-04Clean up uninitialized warnings from cryptosoft and aesni.haesbaert1-2/+4
2012-06-29Add support for the Extended (64-bit) Sequence Number as definedmikeb1-6/+25
2011-01-11fix encryption for uio_iovcnt > 1 by passing the absolute offset 'count'markus1-3/+16
2011-01-11add explicit_bzero() calls before free()ing key materialderaadt1-6/+6
2011-01-11accidental commit of a pending diff relating to something elsederaadt1-21/+8
2011-01-11for key material that is being being discarded, convert bzero() toderaadt1-8/+21
2010-12-22use the do {} while construct in the copying macrosderaadt1-9/+15
2010-12-21remove dead code (ivp did always point to iv in the decrypt path).markus1-38/+14
2010-10-06Retire Skipjackmikeb1-8/+1
2010-10-06zero out auth hash context before freeing it; ok matthew millertmikeb1-2/+4
2010-09-22OCF support for the Galois/Counter Mode (GCM) for AES asmikeb1-1/+192
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsblambert1-3/+3
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, astedu1-2/+1
2010-01-10Fix two bugs in IPsec/HMAC-SHA2:markus1-8/+24
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.djm1-5/+39
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;djm1-2/+2
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.hshoexer1-12/+9
2007-09-10Make the hmac ipad/opad globals "const" and fixup the crypto functionshenric1-3/+3
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@pedro1-2/+2
2005-05-25AESCTR support for ESP (RFC 3686); ok hshoexermarkus1-16/+31
2005-05-10support NULL encryption for ESP; ok hshoexer, homarkus1-1/+4
2005-05-02simplify by using arc4random_bytes(), ok djm, hshoexermarkus1-22/+3
2004-12-20Allow the setkey function of a transform to fail, eg. when an insufficienthshoexer1-3/+6
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.millert1-2/+2
2004-04-14leak; vgirish at tenet.res.in; via angelos; ok hshoexer, henning, deraadtmarkus1-1/+4
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okitojun1-1/+19
2003-02-21There's no cleaning necessary for deflate compression, so remove it fromjason1-6/+1
2002-11-21From Angelos:jason1-31/+25