summaryrefslogtreecommitdiff
path: root/sys/dev/pci/safe.c
AgeCommit message (Collapse)Author
2003-08-22need to flip the operands wordwise for big endian machines. modexp worksJason Wright
on ppc now.
2003-08-20How 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 differentJason 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-20most of the infrastructure to support public key operation. This is justJason Wright
a snapshot of work in progress (doesn't work correctly yet).
2003-08-14add more delays during initJason Wright
2003-08-14remove magic swapping constants in favor of the #defines I added a fewJason 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 theJason 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-12cleaning: remove sc_flags and FBSDID junkJason Wright
also: let safe_uniform() check all of the elements
2003-08-12safenet 1141 driver from freebsd (sam at errno):Jason Wright
this is a completely hacked up version, complaints should be to me not sam =)