RSABASE: enough implementation to get Steam to login

Mike McCormack mike at codeweavers.com
Fri Feb 13 14:05:56 CST 2004


Hi Geoff,

Having a look at the documentation for the CP* functions on MSDN would 
be a good start.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cpacquirecontext.asp

The next thing to do would be to write your own test program that works 
in Windows, and uses those functions.   Maybe just start by encrypting a 
few bytes, then check they're encrypted right, then decrypting them 
again, and checking they come out to the right thing.

Once your test program works on Windows, run it in Wine, and start 
implementing FIXMEs.

It looks like the CryptXxxx functions are wrappers for each dll's CPXxxx 
functions... eg. ADVAPI32's CryptGenRandom() calls to the CPGenRandom() 
function in the crypt provider's DLL.

Mike


Geoff Thorpe wrote:
> On February 13, 2004 12:15 pm, Mike McCormack wrote:
> 
>>This patch allows steam to login.  It also provides a framework for
>>implementing the rest of rsabase.dll correctly using libcrypto.so
> 
> 
> Cool, I've been looking for an excuse to do something useful on Wine, and 
> as one of the developers of libcrypto.so (www.openssl.org) perhaps this 
> might be the place? Does anyone have good refs/links to the corresponding 
> win32 side of this?
> 
> Cheers,
> Geoff





More information about the wine-devel mailing list