summaryrefslogtreecommitdiffstats
path: root/sys/dev/ubsec
Commit message (Collapse)AuthorAgeFilesLines
* add 5823 device id's; this allows 5823 parts to function but you cannotsam2003-02-072-2/+7
| | | | | | | use the AES functionality Submitted by: Jonathan Stone <jonathan@DSG.Stanford.EDU> MFC after: 1 day
* shield kernel data structures so user apps can include this filesam2003-02-071-0/+3
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-6/+6
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* move sysctl's under hw.ubsecsam2003-01-201-9/+10
|
* correct printf formatsam2003-01-111-1/+1
| | | | Noticed by: alpha tinderbox
* fix memory allocation problems and collateral damage:sam2003-01-062-71/+112
| | | | | | | | | | | | o create a separate tag for each object allocated with bus_dmamem_alloc so the tag's maxsize is setup appropriately; this reduces memory allocation for the queue descriptors from 16M to what it should be and also fixes memory allocation for public key operands o release bus dma resources on detach so module usage doesn't leak o remove public key op disable now that bus dma memory allocation is fixed o collect attach error handling in one place Sponsored by: Vernier Networks
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* MFS 1.6.2.3: fixup statistics; turn off batching by default; add maxsam2002-12-302-12/+63
| | | | | | aggregation tunable and set it to 1 to minimize latency Sponsored by: Vernier Networks
* Correct mbuf packet header propagation. Previously, packet headerssam2002-12-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | were sometimes propagated using M_COPY_PKTHDR which actually did something between a "move" and a "copy" operation. This is replaced by M_MOVE_PKTHDR (which copies the pkthdr contents and "removes" it from the source mbuf) and m_dup_pkthdr which copies the packet header contents including any m_tag chain. This corrects numerous problems whereby mbuf tags could be lost during packet manipulations. These changes also introduce arguments to m_tag_copy and m_tag_copy_chain to specify if the tag copy work should potentially block. This introduces an incompatibility with openbsd which we may want to revisit. Note that move/dup of packet headers does not handle target mbufs that have a cluster bound to them. We may want to support this; for now we watch for it with an assert. Finally, M_COPYFLAGS was updated to include M_FIRSTFRAG|M_LASTFRAG. Supported by: Vernier Networks Reviewed by: Robert Watson <rwatson@FreeBSD.org>
* Quiet some DIAGNOSTIC printf warnings with band-aid casts.jhb2002-11-071-4/+5
|
* Module-ize the 'core' crypto stuff. This may still need to be compiledmarkm2002-10-161-0/+1
| | | | | | | | | into the kernel by default (if required), but other modules can now depend() on this. Fix inter-module dependancy. Earlier version OK'ed by: sam
* Be consistent about functions being static.phk2002-10-161-2/+2
| | | | Spotted by: FlexeLint.
* No need to hold Giant will harvesting RNG data; change callout_init sosam2002-10-111-1/+2
| | | | this no longer happens for callbacks.
* Track openbsd changes that don't affect us yet (PK supoprt issam2002-10-073-28/+258
| | | | | | | | | | | | | | | | | | | | currently disabled): o Don't use constants for the output parameter, use the iparam count as a pointer to the first result location. o Fix bits vs bytes counting problems. o Split out the hardware and software normalization versions of modexp. o Enable hardware normalization for chips that support it. o On reset, disable hardware normalization for 582x and make sure the chip is in little endian mode. o Since sw normalization is now the only option, simplify normalization handling. Also fix RNG harvesting: disabling PK support (for the moment) had disabled the MCR2 interrupt; consider both KEY support and RNG support when deciding whether or not to enable it. Obtained from: openbsd
* Crypto device driver for Broadcom-based cards. Known to work with 582x-basedsam2002-10-043-0/+2984
cards. Supposed to work with several others. Obtained from: openbsd
OpenPOWER on IntegriCloud