summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptosoft.c
AgeCommit message (Expand)Author
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
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.Todd C. Miller
2004-04-14leak; vgirish at tenet.res.in; via angelos; ok hshoexer, henning, deraadtMarkus Friedl
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-02-21There's no cleaning necessary for deflate compression, so remove it fromJason Wright
2002-11-21From Angelos:Jason Wright
2002-11-12Add a CRYPTO_NULL xform (it's a do nothing, but nice for measuring theJason Wright
2002-04-26minor tweaksTheo de Raadt
2002-04-22KNFTheo de Raadt
2002-04-03fix possible alignment problem; with markus@, angelos@ deraadt@ ok.Federico G. Schwindt
2002-03-19Don't keep the last blocksize-bytes of ciphertext for use as the nextAngelos D. Keromytis
2002-03-05export MD5/SHA1 via /dev/crypto; ok provos@, beck@Markus Friedl
2002-03-01remove CRYPTO_BUF_CONTIG and convert to handle iovs. okay deraadt@Niels Provos
2001-11-09be way more sure that software cannot be usedTheo de Raadt
2001-08-08remove IPCOMP. derradt@ ok.Jean-Jacques Bernard-Gundol
2001-07-05#ifdef IPCOMP stuff properlyTheo de Raadt
2001-07-05Support for compression. angelos@ ok.Jean-Jacques Bernard-Gundol
2001-06-25Update copyright; you can use this with or without fee (unless yourAngelos D. Keromytis
2001-06-23New prototype for crypto_register(), to take into account maximum keyAngelos D. Keromytis
2001-06-23merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts in...Theo de Raadt
2001-06-16KNFTheo de Raadt
2001-06-06Don't bother migrating software sessions, as this might lead toAngelos D. Keromytis
2001-05-15fix $OpenBSD$ headerTheo de Raadt