Wincrypt Header Update

Robert Shearman rob at codeweavers.com
Wed Jul 28 04:32:14 CDT 2004


Changelog:
Include declarations needed for developing cryptographic service providers.

-------------- next part --------------
Index: wine/include/wincrypt.h
===================================================================
RCS file: /cvstrees/crossover/office/wine/include/wincrypt.h,v
retrieving revision 1.1.1.14
diff -u -r1.1.1.14 wincrypt.h
--- wine/include/wincrypt.h	17 Jul 2004 02:53:21 -0000	1.1.1.14
+++ wine/include/wincrypt.h	25 Jul 2004 14:07:14 -0000
@@ -93,6 +93,12 @@
     ALG_ID aiKeyAlg;
 } BLOBHEADER, PUBLICKEYSTRUC;
 
+typedef struct _RSAPUBKEY {
+    DWORD   magic;
+    DWORD   bitlen;
+    DWORD   pubexp;
+} RSAPUBKEY;
+
 typedef struct _CRYPT_BIT_BLOB {
     DWORD cbData;
     BYTE  *pbData;
@@ -658,6 +664,14 @@
 #define CRYPT_TYPE2_FORMAT      0x00000002
 #define CRYPT_X931_FORMAT       0x00000004
 
+/* Crypt{Get,Set}HashParam */
+#define HP_ALGID                0x0001
+#define HP_HASHVAL              0x0002
+#define HP_HASHSIZE             0x0004
+#define HP_HMAC_INFO            0x0005
+#define HP_TLS1PRF_LABEL        0x0006
+#define HP_TLS1PRF_SEED         0x0007
+
 /* Crypt*Key */
 #define CRYPT_EXPORTABLE        0x00000001
 #define CRYPT_USER_PROTECTED    0x00000002


More information about the wine-patches mailing list