Re: Cryptographic functions

2004-09-16 Thread Ryan Underwood
On Thu, Sep 16, 2004 at 06:39:42AM +0200, Filip Navara wrote: > >> > >This code needs a proper LGPL or other permissive license on it to be > >usable. Being based on public domain code and then copyrighted by > >yourself grants no permissions to anyone else. > > > > > Damn legal stuff. What do I

Re: Cryptographic functions

2004-09-16 Thread Filip Navara
Alexander Yaworsky wrote: I've found alike functions (may be MD4 or MD5) in w2k advapi.dll by magic numbers but they are used internally. No exports even by ordinals. XP's cryptdll exports MD5, MD4 and SHA functions but redirects them to advapi32.dll. There is no decription of SHA and MD4 functions

Re: Cryptographic functions

2004-09-15 Thread Alexander Yaworsky
Hello > My Advapi32.dll Ver 5.0.2195.6876 from W2K SP4 does not export these > functions at all. Not even as delayed exports or forwards, at least by > name. Not sure about ordinals. > > Rolf Kalbermatter I've found alike functions (may be MD4 or MD5) in w2k advapi.dll by magic numbers but they

Re: Cryptographic functions

2004-09-15 Thread Filip Navara
Ryan Underwood wrote: /* * ADVAPI32 Secure Hash Algorithm Test * Copyright 2003 Filip Navara * Based on public domain SHA code by Steve Reid <[EMAIL PROTECTED]> */ This code needs a proper LGPL or other permissive license on it to be usable. Being based on public domain code and then copyrigh

Re: Cryptographic functions

2004-09-15 Thread Steven Edwards
--- Ryan Underwood <[EMAIL PROTECTED]> wrote: > This code needs a proper LGPL or other permissive license on it to be > usable. Being based on public domain code and then copyrighted by > yourself grants no permissions to anyone else. Oh sorry you just mean the license header needs to be added.

Re: Cryptographic functions

2004-09-15 Thread Steven Edwards
Hi Ryan, --- Ryan Underwood <[EMAIL PROTECTED]> wrote: > This code needs a proper LGPL or other permissive license on it to be > usable. Being based on public domain code and then copyrighted by > yourself grants no permissions to anyone else. Sure it does. Thats the idea behind Public Domain. W

RE: Cryptographic functions

2004-09-15 Thread Uwe Bonnes
> "Juan" == Juan Lang <[EMAIL PROTECTED]> writes: Juan> Rolf wrote: >> My Advapi32.dll Ver 5.0.2195.6876 from W2K SP4 does not export these >> functions at all. Juan> Yeah, I didn't remember them showing up in advapi32 until XP. Juan> MSDN mentions them as part of cryptdll

Re: Cryptographic functions

2004-09-15 Thread Ryan Underwood
On Wed, Sep 15, 2004 at 08:06:43PM +0200, Filip Navara wrote: > Juan Lang wrote: > > >Patching advapi32.spec to add the stubs looks correct. > >Go ahead and submit to wine-patches. > > > > > Just for the record... If anyone wants to implement the SHA functions > (s)he can make use of the attach

RE: Cryptographic functions

2004-09-15 Thread Rolf Kalbermatter
Juan Lang wrote: >Yeah, I didn't remember them showing up in advapi32 >until XP. MSDN mentions them as part of cryptdll.dll: >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devnotes/winprog/md5init.asp > >This also exists in XP. Perhaps XP's advapi32.dll >forwards these to cryp

RE: Cryptographic functions

2004-09-15 Thread Juan Lang
Rolf wrote: > My Advapi32.dll Ver 5.0.2195.6876 from W2K SP4 does > not export these functions at all. Yeah, I didn't remember them showing up in advapi32 until XP. MSDN mentions them as part of cryptdll.dll: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devnotes/winprog/md5ini

Re: Cryptographic functions

2004-09-15 Thread Filip Navara
Juan Lang wrote: Patching advapi32.spec to add the stubs looks correct. Go ahead and submit to wine-patches. Just for the record... If anyone wants to implement the SHA functions (s)he can make use of the attached code. Regards, Filip /* * ADVAPI32 Secure Hash Algorithm Test * Copyright 2003

RE: Cryptographic functions

2004-09-15 Thread Rolf Kalbermatter
Alexander Yaworsky wrote: >there is some secret crypto API in 2k and xp. Not so long ago i played >with native rsaenh.dll under wine and found that it requires >md5 and sha functions exported by advapi32.dll. I don't know where >this API really should be. Latest platform SDK is very cryptic >itsel

Re: Cryptographic functions

2004-09-15 Thread Juan Lang
Patching advapi32.spec to add the stubs looks correct. Go ahead and submit to wine-patches. --Juan ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com