Age | Commit message (Collapse) | Author |
|
- don't bother with the master/mmio enable stuff (it's done in pci.c for us)
based on suggestion from mickey
|
|
|
|
- add defines for compression
- add bit/structure defintions for the result structures
|
|
|
|
save for the copyright message).
|
|
(currently unused) pk engine
|
|
- TRDY and RETRY register definitions were backwards
- move TRDY/RETRY setup into its own function
|
|
|
|
burst writes (bridges may coalesce sequential writes into a burst) by
inserting a read (I know, icky!) in between sequential writes. Thanks
to sam@errno.com, GTGI, and Hifn for helping track this one down.
|
|
|
|
|
|
o enable illegal read/write interrupts on 7811 (mainly for debugging)
|
|
While here, avoid resetting the card so often during the ram probe [speeds up autoconf and simplifies the driver a bit].
Also, add a missing argument to a debugging printf() (no longer ever called because the abort timers are disabled =)
|
|
TRDY_TIMEOUT). These registers must be initialized to zero to disable
these timers or 7751 will get PCI aborts on its descriptor rings on
certain chipsets. These timers were removed because they were unneeded
in the 7951. I'm not sure how I missed this in the datasheet, but there
it is plain as day on page 24. Thanks go to Hifn for pointing this out.
Upshot: PCI abort problem on 7751 appears to be solved.
|
|
|
|
the caller of *_process() doesn't seem to initialize crd_klen correctly;
it has a zero value... still debugging...).
|
|
the tree. Hi/fn, Hi/Fn and HiFn -> Hifn.
--
Ok'd by deraadt@
|
|
|
|
|
|
makers -read- their docs?
|
|
require reworking interrupt enable and status checking as well as
a bit of initialization
|
|
|
|
- clean up pub/rng initialization call
- attempt to remove more intertex vestiges
|
|
- Hi/Fn length fields in command structures are 18 bits (feature!), but
descriptor lengths are 16 bits.
- define dmamap maximum lengths correctly (2^18 for total length, 2^16
for segments).
- Make the defines more consistent, and add other modes
- split source_count in command descriptors into a 16 bit length, and 16bit reserved part
upshot: blocks as large as 2^18 - 8 work now for userland crypto
|
|
<soren@soekris.com> for donating the cards.
|
|
- vtophys is dead
- now builds on alpha
|
|
|
|
|
|
if mastering isn't enabled, scream
document netsec rev A workaround
|
|
kill hifn_command_buf_data_t (unnecessary for a long time now)
|
|
|
|
enabling interrupts when the command queue has more than one entry.
- fix comment on hifn_newsession to reflect reality
- allocate session structure in softc
- compute a random IV when a session is created and try to chain from a
software kept IV for subsequent packets
- add handling of CRD_F_EXPLICIT
|
|
300 clock penalty on key upload)
XXX hifn_freesession should probably zot the keys from context ram but
XXX does not yet.
|
|
define HIFN_MAC_CMD_RESULT bit (append MAC to result buffer)
|
|
- remove all ability to block (no more tsleep/wakeup)
|
|
o register the hifn as handling DES and 3DES (no md5 or sha1 yet) depending
on whether the board is unlocked (none, half, or full)
o Fix many KNF nits
o print the amount of memory correctly and don't print the number of sessions
o set command and result buffer sizes correctly
o reclaim the descriptor rings so new commands and buffers can be added
o remove some bogus checks on the command buffer
o add new variables mac_process_len and crypt_process_len to hifn_command_t
o fix calculation in hifn_mbuf to generate the pa/len array for src/dst
o simplify the code for setting up the jump descriptor
o rework the hifn_intr routine to interrupt at IPL_IMP and simplify it's
results processing
o more to come...
|
|
Attempt to figure out how much context ram is on the board (known to work
with sram boards).
From the amount of ram & other configuration, figure out how many sessions
are available for storage.
|
|
|
|
|
|
reverse engineering of an unlock binary provided by Invertex, for their AEON card, which uses the chip
|
|
|
|
|
|
|
|
|