summaryrefslogtreecommitdiffstats
path: root/sys/crypto
AgeCommit message (Expand)AuthorFilesLines
2013-08-25Allocate and deallocate memory for encryption contexts within cryptosoft,jsing3-172/+79
2013-06-11Replace more ovbcopy with memmove; swap the src and dst arguments tooderaadt1-3/+3
2013-06-05fix a bug that caused time-based rekeys to happen too frequently.djm2-32/+32
2013-03-27institute a hard cap on crypto devs instead of a useless wraparound checktedu2-4/+4
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:mikeb2-6/+6
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt8-23/+8
2012-10-28We need to allocate memory for crp_buf in the DMA accessiblemikeb1-3/+3
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 definedmikeb2-9/+36
2012-04-25Use explicit_bzero() for clearing key material.matthew1-4/+5
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inguenther1-2/+2
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,guenther1-1/+4
2011-07-07empty files should be deletedtedu2-0/+0
2011-07-07Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzderaadt4-233/+183
2011-01-12cleanup aes-ctr keystream after use; ok deraadtmikeb1-1/+2
2011-01-11fix encryption for uio_iovcnt > 1 by passing the absolute offset 'count'markus1-3/+16
2011-01-11key lengths are counted in bitsderaadt1-3/+3
2011-01-11add explicit_bzero() calls before free()ing key materialderaadt2-10/+17
2011-01-11in SHA1Final(), explicitly clear the local bufferderaadt1-2/+2
2011-01-11accidental commit of a pending diff relating to something elsederaadt1-21/+8
2011-01-11in AES_GMAC_Final(), explicitly clear the local bufferderaadt1-1/+2
2011-01-11for key material that is being being discarded, convert bzero() toderaadt9-39/+52
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-12-16move CRYPTO_VIAC3_MAX out of cryptodev.h and into the onlyjsg1-3/+1
2010-12-16The VIA ciphers are added to an array of CRYPTO_ALGORITHM_MAX lengthjsg1-1/+3
2010-12-14disable access to the crypto(4) device from userland; ok deraadtmikeb1-3/+3
2010-11-08use a well established define instead of rolling our own; no binary changemikeb1-7/+5
2010-10-06Retire Skipjackmikeb7-349/+5
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 asmikeb7-16/+506
2010-09-08Reintroduce most crypto/crypto.c r1.55:jsing1-12/+8
2010-08-08Backout r1.55 since this breaks anything which does crypto ops prior tojsing1-6/+11
2010-07-21No need for read/write functions, just use enodev like all the otherderaadt1-19/+1
2010-07-20Switch some obvious network stack MAC comparisons from bcmp() tomatthew1-2/+2
2010-07-20Mark a DMA accessible malloc for later correction. This ismatthew1-2/+2
2010-07-08Revert part of previous.thib1-4/+6
2010-07-08Move pool initialization to init_crypto and zap the crypto_pool_initializedthib1-16/+9
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsblambert1-3/+3
2010-06-23Zap a dead prototype, crypto_thread(); Leftover since crypto wasthib1-2/+1
2010-06-09Remove the CRYPTO_ALGORITHM_ALL define, fixup accordinglythib2-14/+12
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, astedu3-6/+3
2010-01-10Fix two bugs in IPsec/HMAC-SHA2:markus5-31/+54
2009-09-03crypto hardware (eg, hifn) establishes its interrupt handler atdlg2-8/+18
2009-08-17sizeof(ptr) -> sizeof(*ptr) as intended; ok djm@ millert@miod1-1/+1
2009-07-05Buffer in RMD160_CTX is length RMD160_BLOCK_LENGTH not RMD160_DIGEST_LENGTH.millert1-2/+2
2009-02-17variable no longer usedderaadt1-2/+2
2009-02-17The loop here preparing the uio always added the length of the firstoga1-4/+2