Ok thanks, atleast I know where I need to go from here... I've contacted SafeNet about it, and all I was able to get from them was the source for cspci.so... I'm not sure what cspci.so is for as there's no documentation for the card.
Now I'll try and find libswift.so somewhere. Richard Levitte wrote: In message <[EMAIL PROTECTED]> on Sat, 25 Aug 2007 16:51:42 -0700 (PDT), Jeff said: dvdrom_box> Ok, so I guess no-shared is the option I should be using. dvdrom_box> dvdrom_box> And I'm entering -engine cswift, the error message says it dvdrom_box> can't find libswift.so. OpenSSL creates a library named dvdrom_box> libcswift.so, but there actually isn't a libswift.so dvdrom_box> anywhere on the system. I tried just renaming it, but the dvdrom_box> errors I get from that make me think that they're not dvdrom_box> interchangeable. Oh, my bad. It's been a long time since I've dealt with this. The CryptoSwift card has a library of its own which is used by the OpenSSL engine. THAT library is correctly called libswift.so, and that's the library that OpenSSL (or more correctly, the cswift engine) can't find. So, in short, with engines as shared libraries, what happens is that OpenSSL loads libcswift.so, which in turn loads libswift.so. The messages you get actually show that libcswift.so WAS correctly loaded, but that libswift.so (which, I repeat, should be distributed by the card maker) isn't. Cheers, Richard dvdrom_box> Richard Levitte wrote: In message <[EMAIL PROTECTED]> on Sat, 25 Aug 2007 16:17:38 -0700 (PDT), Jeff said: dvdrom_box> dvdrom_box> dvdrom_box> Thanks... dvdrom_box> dvdrom_box> My libcswift.so is in /usr/local/ssl/lib/engines dvdrom_box> dvdrom_box> I set LD_LIBRARY_PATH, OPENSSL_ENGINES, and SHLIB_PATH to dvdrom_box> dvdrom_box> that path directory and still get the same error. dvdrom_box> dvdrom_box> I'm noticing that the messages you list talk about libswift.so, not dvdrom_box> libcswift.so. Could it be that you said "-engine swift" rather than dvdrom_box> "-engine cswift"? dvdrom_box> dvdrom_box> dvdrom_box> One more thing, I've tried several running the openssl dvdrom_box> dvdrom_box> config script with different options to get it to work. dvdrom_box> dvdrom_box> Using "shared" builds the libraries like libcswift.so, but dvdrom_box> dvdrom_box> "openssl engine" only lists engines when you compile it dvdrom_box> dvdrom_box> with "no-shared". dvdrom_box> dvdrom_box> That's because in "no-shared", all available engines are built in and dvdrom_box> pre-loaded, while in "shared", they aren't built in, and thus require dvdrom_box> a little more fiddling to get loaded, and thereby listable. I don't dvdrom_box> remember the details for the moment, I'm sure someone else can fill in dvdrom_box> unless I get back to you about it. dvdrom_box> dvdrom_box> dvdrom_box> Marek Marcola wrote: Hello, dvdrom_box> dvdrom_box> > I've been trying to get this card, Rainbow CryptoSwift 200, to work dvdrom_box> dvdrom_box> > with openssl without any success. dvdrom_box> dvdrom_box> > dvdrom_box> dvdrom_box> > When I do "openssl speed -engine cswift" I get: dvdrom_box> dvdrom_box> > dvdrom_box> dvdrom_box> > DSO support routines:DLFCN_LOAD:could not load the shared dvdrom_box> dvdrom_box> > library:dso_dlfcn.c:100:filename(libswift.so): libswift.so: cannot dvdrom_box> dvdrom_box> > open shared object file: No such file or directory dvdrom_box> dvdrom_box> > DSO support routines:DSO_LOAD:could not load the shared dvdrom_box> dvdrom_box> > library:dso_lib.c:244: dvdrom_box> dvdrom_box> > cswift engine:CSWIFT_INIT:not loaded:e_cswift.c:397: dvdrom_box> dvdrom_box> > engine routines:ENGINE_TABLE_REGISTER:init failed:eng_table.c:161: dvdrom_box> dvdrom_box> > dvdrom_box> dvdrom_box> > I typed that manually, so excuse any errors if there are any. I'm dvdrom_box> dvdrom_box> > using today's snapshot of openssl. dvdrom_box> dvdrom_box> You should find in your system library libcswift.so dvdrom_box> dvdrom_box> and set proper environment variable for your system dvdrom_box> dvdrom_box> (LD_LIBRARY_PATH or SHLIB_PATH) to directory where dvdrom_box> dvdrom_box> this library exits. ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.