Cryptographic functions

Alexander Yaworsky yaworsky at migusoft.ru
Wed Sep 15 07:16:25 CDT 2004


Hello

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
itself. Just in case here is a patch. IMHO it worths to be submitted but i'm not sure.

Index: dlls/advapi32/advapi32.spec
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/advapi32.spec,v
retrieving revision 1.55
diff -u -r1.55 advapi32.spec
--- dlls/advapi32/advapi32.spec 14 Sep 2004 19:25:35 -0000 1.55
+++ dlls/advapi32/advapi32.spec 15 Sep 2004 11:56:04 -0000
@@ -1,3 +1,6 @@
+@ stub A_SHAInit
+@ stub A_SHAUpdate
+@ stub A_SHAFinal
 @ stdcall AbortSystemShutdownA(ptr)
 @ stdcall AbortSystemShutdownW(ptr)
 @ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr)
@@ -169,6 +172,9 @@
 @ stdcall MakeAbsoluteSD(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
 @ stdcall MakeSelfRelativeSD(ptr ptr ptr)
 @ stub MapGenericMask
+@ stub MD5Init
+@ stub MD5Update
+@ stub MD5Final
 @ stdcall NotifyBootConfigStatus(long)
 @ stdcall NotifyChangeEventLog (long long)
 @ stub ObjectCloseAuditAlarmA




More information about the wine-devel mailing list