Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-13 | M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly deal | Kenneth R Westerback | |
with m_tag_copy_chain() failures. Use m_defrag() to eliminate hand rolled defragging of mbufs and some uses of M_DUP_PKTHDR(). Original diff from thib@, claudio@'s feedback integrated by me. Tests kevlo@ claudio@, "reads ok" blambert@ ok thib@ claudio@, "m_defrag() bits ok" kettenis@ | |||
2009-06-25 | Change safe_rng_read() from __inline to static __inline like | Jonathan Gray | |
the original FreeBSD code for consistent behaviour between c89/c99 compilers. | |||
2008-10-15 | Second pass of simple timeout_add -> timeout_add_sec conversions | Bret Lambert | |
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@ | |||
2008-06-09 | rename arc4random_bytes => arc4random_buf to match libc's nicer name; | Damien Miller | |
ok deraadt@ | |||
2007-09-18 | arc4random_bytes() is the preferred interface for generating nonces; | Damien Miller | |
"looks ok" markus@ | |||
2007-02-28 | of of | Theo de Raadt | |
2006-06-29 | do not check for master/io/mem enables; ok kettenis | Theo de Raadt | |
2006-03-12 | make SAFE_DEBUG compile clean; ssehic@gmail | Theo de Raadt | |
2006-02-06 | typos from alexey dobriyan; | Jason McIntyre | |
2005-12-17 | Replace 'while (j>=0)' constructs with safer, more KNF friendly for() | Kenneth R Westerback | |
loops because j is unsigned. Comments from Marco Hyman and Andreas Gunnarson fixed my first version. Spotted by lint. 'go for it' deraadt@ for initial version. | |||
2005-11-09 | fix comments, splimp -> splnet | Brad Smith | |
2005-08-09 | do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵ | Michael Shalayeff | |
pcisubmatch(); kettenis@ testing; brad@ ok | |||
2004-05-07 | Replace 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@ | |||
2004-05-04 | Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. | Alexander Yurchenko | |
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt | |||
2004-02-03 | advertise features of our crypto chips better; ok tdeval | Theo de Raadt | |
jason is being a slacker | |||
2004-01-09 | remove uvm_extern.h | Brad Smith | |
tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | |||
2003-08-22 | need to flip the operands wordwise for big endian machines. modexp works | Jason Wright | |
on ppc now. | |||
2003-08-20 | How about we NOT stomp all over memory past the end of the result buffer. | Jason Wright | |
(Now modexp runs for non-1k/2k operations) | |||
2003-08-20 | - The safenet chip really likes it's big nums to be written to different | Jason Wright | |
parts of memory... picky picky ;) - zero the bignum memory after copying out the result (one less copy of sensitive material floating around...)... Why don't vendors provide a bit you can toggle that does this? - Oh, and modexp now works. | |||
2003-08-20 | most of the infrastructure to support public key operation. This is just | Jason Wright | |
a snapshot of work in progress (doesn't work correctly yet). | |||
2003-08-14 | add more delays during init | Jason Wright | |
2003-08-14 | remove magic swapping constants in favor of the #defines I added a few | Jason Wright | |
minutes ago (could have sworn I hit ^X^S). | |||
2003-08-14 | - remove some uneeded junk (mainly leftovers from ubsec cut/paste) | Jason Wright | |
- fix interrupt printing - make shared structure entries volatile to ensure ordering - swap the key, iv, and mackey arguments appropriately - treat particle descriptor as two 32 elements (necessary for swabbing) - set the endian control byte correctly and flip off swabbing on the packet data (now works on macppc) | |||
2003-08-12 | - Don't need the bus_dma callback cruft as we have everything necessary in the | Jason Wright | |
map structure. - pull in some of sam's debugging stuff so that #define SAFE_DEBUG will compile - set the dst <- src when uio && nicealign && uniform | |||
2003-08-12 | cleaning: remove sc_flags and FBSDID junk | Jason Wright | |
also: let safe_uniform() check all of the elements | |||
2003-08-12 | safenet 1141 driver from freebsd (sam at errno): | Jason Wright | |
this is a completely hacked up version, complaints should be to me not sam =) |