summaryrefslogtreecommitdiff
path: root/sys/crypto/xform.c
AgeCommit message (Collapse)Author
2008-09-06match libc sha2(3) API changes for kernel; ok millert@Damien Miller
2008-06-09add myself to copyrightDamien Miller
2008-06-09Implement the AES XTS mode of operation for the crypto(9) framework.Damien Miller
XTS is a "tweaked" AES mode that has properties that are desirable for block device encryption and it is specified in the IEEE P1619-2007 standard for this purpose. prodded by & ok hshoexer@
2007-09-13Here too: Convert MALLOC/FREE to malloc/free and use M_ZERO where applicable.Hans-Joerg Hoexer
error spotting and ok krw@
2007-09-10Make the hmac ipad/opad globals "const" and fixup the crypto functionsHenric Jungheim
to match. ok deraadt@
2007-05-27make the #defines in rijndael.h a bit more meaningfulTed Unangst
ok djm and with a hint from henning
2007-02-19minimum blocksize for ESP is 32 bit, so adjust blocksize of NULLHans-Joerg Hoexer
encryption accordingly. Makes NULL encryption useable with ESP. Noticed by Martin Hedenfalk <martin.hedenfalk at gmail.com>. ok markus@
2005-05-25AESCTR support for ESP (RFC 3686); ok hshoexerMarkus Friedl
2004-12-20Allow the setkey function of a transform to fail, eg. when an insufficientHans-Joerg Hoexer
number of key bits is supplied. Only AES and DES/3DES might fail. ok and help markus@
2004-12-15minimum key length of aes is 128 bit, not 64.Hans-Joerg Hoexer
ok markus
2004-06-26Ansification of defalte-/lsz-stubs.Hans-Joerg Hoexer
ok jfb@
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.Todd C. Miller
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
2003-12-26- use 1/2 space for rijndael context in ipsecMarkus Friedl
- rijndael_set_key_enc_only() sets up context for encryption only - rijndael_set_key() always sets up full context - rijndaelKeySetupDec() gets back original protoype - uvm: use _enc_only() interface with hshoexer@, ok deraadt@
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-02-19lzs is lzs, lzs is not deflateJason Wright
2003-02-15skeleton support for LZS compressionJason Wright
2002-11-12Add a CRYPTO_NULL xform (it's a do nothing, but nice for measuring theJason Wright
bandwidth of the kernel API). It's only available from userland and then only if kern.cryptodevallowsoft=1.
2002-08-16fix size in MALLOC/bzero call, from sam@errno.com, ok deraadt@Daniel Hartmeier
2002-04-22KNFTheo de Raadt
2002-03-05export MD5/SHA1 via /dev/crypto; ok provos@, beck@Markus Friedl
tested with cryptosoft and kern.cryptodevallowsoft=1
2001-08-28Getting closer to working userland MAC.ben
2001-08-24switch to the optimised AES reference code fromMarkus Friedl
http://www.esat.kuleuven.ac.be/~rijmen/rijndael/rijndael-fst-3.0.zip the same code is used by ssh, so please make sure to update usr.sbin/ssh/rijndael.c if you change this code. tested on sparc (jason) and with swap encryption (me); ok deraadt@, provos@
2001-08-17Add RC4 support.ben
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-27Indentation.Angelos D. Keromytis
2001-06-25Update copyright; you can use this with or without fee (unless yourAngelos D. Keromytis
name is Theo Deraadt)
2001-06-23merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts ↵Theo de Raadt
inside OpenSSL codebase
2001-06-16KNFTheo de Raadt
2001-06-13ivmask has been deprecated.Angelos D. Keromytis
2001-05-05Use the M_CRYPTO_DATA and M_CRYPTO_OPS malloc types.Angelos D. Keromytis
2000-11-17*HMAC96->*HMACAngelos D. Keromytis
2000-10-09AES alias for Rijndael, also adjust the name.Angelos D. Keromytis
2000-06-18Add Rijndael (128-bit blocksize) in the software crypto driver.Angelos D. Keromytis
Hacking at OpenBSD Crypto 2000 :-)
2000-03-17Cryptographic services framework, and software "device driver". TheAngelos D. Keromytis
idea is to support various cryptographic hardware accelerators (which may be (detachable) cards, secondary/tertiary/etc processors, software crypto, etc). Supports session migration between crypto devices. What it doesn't (yet) support: - multiple instances of the same algorithm used in the same session - use of multiple crypto drivers in the same session - asymmetric crypto No support for a userland device yet. IPsec code path modified to allow for asynchronous cryptography (callbacks used in both input and output processing). Some unrelated code simplification done in the process (especially for AH). Development of this code kindly supported by Network Security Technologies (NSTI). The code was writen mostly in Greece, and is being committed from Montreal.