From: Alon Bar-L. <alo...@gm...> - 2011-07-06 05:48:36
|
Oh... I can provide the exact syntax from wincrypt.h: #if (NTDDI_VERSION >= NTDDI_WINXP) #define MS_ENH_RSA_AES_PROV_A "Microsoft Enhanced RSA and AES Cryptographic Provider" #define MS_ENH_RSA_AES_PROV_W L"Microsoft Enhanced RSA and AES Cryptographic Provider" #define MS_ENH_RSA_AES_PROV_XP_A "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" #define MS_ENH_RSA_AES_PROV_XP_W L"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" #ifdef UNICODE #define MS_ENH_RSA_AES_PROV_XP MS_ENH_RSA_AES_PROV_XP_W #define MS_ENH_RSA_AES_PROV MS_ENH_RSA_AES_PROV_W #else #define MS_ENH_RSA_AES_PROV_XP MS_ENH_RSA_AES_PROV_XP_A #define MS_ENH_RSA_AES_PROV MS_ENH_RSA_AES_PROV_A #endif #endif //(NTDDI_VERSION >= NTDDI_WINXP) On Wed, Jul 6, 2011 at 12:03 AM, Ozkan Sezer <se...@gm...> wrote: > On Tue, Jul 5, 2011 at 11:41 PM, Alon Bar-Lev <alo...@gm...> wrote: >> Hello, >> >> XP have different name for the AES provider. >> --- >> #define MS_ENH_RSA_AES_PROV_XP_A \ >> "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" >> #define MS_ENH_RSA_AES_PROV_XP_W \ >> L"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" >> --- >> >> This definition is missing from mingw includes. >> I verified this, the XP (prototype) provides works on XP and the none >> prototype is not found. >> >> Please consider to add. >> Alon. > > There are few hits on a google search for MS_ENH_RSA_AES_PROV_XP > and this one: > http://www.genmaint.com/invalid-algorithm-specified-on-windows-2003-server-only.html > ... shows the same string as Alon types. So, I guess the suggested macro > is correct. If added, should be done so for both the trunk as well as > the release > versions of wincrypt.h. > > -- > O.S. > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > |