Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-03 | But when denormalizing we need the normalized length, too as well as the ↵ | Jason Wright | |
destination length. | |||
2002-05-15 | Rework MODEXP: | Jason Wright | |
5805 (and 5601) require the modulus and base to be normalized to the right of one of several different register lengths. The result is also normalized to the same length. Provide functions for shifting the bits back and forth as appropriate. Note: for consistencies sake the exponent is NOT normalized. | |||
2002-05-13 | add and use three more flags: | Jason Wright | |
RNG: chip has usable rng (5805/5820/5821) HWNORM: chip will automagically normalize bignums (5820/5821) BIGKEY: chip supports "large keys" (5820/5821) | |||
2002-05-06 | basic infrastructure for handling RSA with CRT parameters. Just need to | Jason Wright | |
figure out how p, q, dp, dq, and pinv fit into the context. | |||
2002-05-06 | - Only copy the significant bits of the result out (and make sure the buffer | Jason Wright | |
is long enough to handle it) and bzero the rest. - Increase key buffer sizes to 2048 bits. | |||
2002-05-02 | Don't refer to the parameters directly by number, use macro's so it can be | Jason Wright | |
changed later if necessary. Also, don't bother bzero'n the mcr, all of the fields are initialized anyway | |||
2002-04-26 | 1024 bit max | Jason Wright | |
2002-04-26 | register as supporting modular exponentiation | Jason Wright | |
still contains much debugging code and isn't quite done, but its a start | |||
2002-04-08 | Credit DARPA/USAF appropriately. | Jason Wright | |
2002-01-28 | First round of post-bus_dma cleanups: | Jason Wright | |
- remove the packl/packp arrays and rework handling appropriately - destination map may or may not exist, cope. - remove a redundant bus_dmamap_sync() in _process (real sync is in _feed) - remove long deprecated q_{src,dst}pkt stuff from queue structure | |||
2002-01-28 | Quick (and a little dirty) conversion to bus_dma(9). | Jason Wright | |
2002-01-19 | From Patrik Lindergren (patrik@ipunplugged.com): | Jason Wright | |
* make the driver big-endian aware * handling for DMA errors * move some allocations to attach From me: whitespace clean up and vtophys removal (almost works on sparc64) | |||
2001-07-02 | - More vtophys death: packet buffer lists are is bus_dma(9) memory as is | Jason Wright | |
the mac buffer - also, reenable aggregation code (accidentally removed) | |||
2001-06-29 | move definitions around a bit and define a few more constants | Jason Wright | |
2001-06-29 | allocate contexts during attach since we can't mess with them during | Jason Wright | |
interrupts (the space allocation is wasteful, but more data will be moved into the allocation soon). | |||
2001-06-08 | Put back bus_dmaification of context's (seems to have been fixed by | Jason Wright | |
recent changes to cryptosoft.c). So, mcr and pktbuf handling to go... | |||
2001-05-30 | Un-bus_dma(9) mcr1 context and mcr operations (causes problems under load). | Jason Wright | |
Reimplement mcr2 bus_dma handling. | |||
2001-05-23 | bus_dmaify mcr handling (just leaves buffer lists and mac buffer to go...) | Jason Wright | |
2001-05-22 | - Don't poll the rng more than 100 times a second | Jason Wright | |
- bus_dmaify mcr2 operations (rng) - start bus_dma of mcr1 operations (context; mcr and pktbufs to go) ... more to come ... | |||
2001-05-14 | use real uio | Theo de Raadt | |
2001-05-13 | initial cut at /dev/crypto support. takes original mbuf "try, and discard | Theo de Raadt | |
if we fail" semantics and extends to two varients of data movement: mbuf, or an iovec style block. | |||
2001-05-13 | Initial support for Broadcom 5820, which is very much like the 5805 except | Jason Wright | |
that the packet context structure for ipsec has changed (added two fields and, annoyingly, rearranged several of them). The MCR2 operations (only RNG is used at this point) are supported, too. | |||
2001-01-29 | - add infrastructure for dealing with the key generator (MCR2) | Jason Wright | |
- add support for the onboard rng using that structure - add a interrupt status mask (differs for 5501 and 5601) - reorganize slightly to take into account that MCR1 isn't the only reason for interrupts. | |||
2001-01-11 | oops | Theo de Raadt | |
2001-01-11 | move ich to auich at mickey's request | Theo de Raadt | |
2000-08-13 | fix session code | Theo de Raadt | |
2000-08-13 | not completely working session code from jason | Theo de Raadt | |
2000-08-11 | move mcr out of q; and write prelim mcr aggregation code, which does not yet | Theo de Raadt | |
work for some reason or another, so it is currently disabled. | |||
2000-07-29 | remove the (unused) sc_intrmask, and be more careful about initializing | Jason Wright | |
the BS_CTRL register... The BE32 & BE64 bits do NOT do what they imply, so leave the bits set, and add the ones we want. This allows ubsec to interop with our software implementation (at least for encryption). More work to be done in this driver though... Many thanks to Jimmy Ruane at Broadcom for the pointer about BE32 & BE64! | |||
2000-06-19 | oops, add macbuf to the queue structure | Jason Wright | |
2000-06-13 | put an upperbound on queue length | Jason Wright | |
2000-06-12 | ESP 3des now works, after squishing 4 bugs | Theo de Raadt | |
2000-06-03 | Move everything to where is supposed to be (reg definitions, etc). | Jason Wright | |
Add some of the skip logic. | |||
2000-05-18 | work in progress: driver for BlueSteel (Broadcom) 5[56]01 crypto accelerator | Jason Wright | |