Re: Invalid crypto defines in SDK

From: John Banes (jabanes_at_comcast.remove.net)
Date: 09/08/05


Date: Thu, 8 Sep 2005 09:44:04 -0700

I'm not actually familiar with this mode. Is there some reason why you're
interested in using that mode, rather than using the vanilla CBC mode?
Perhaps you overlooked this #define in the wincrypt.h header file?

#define CRYPT_MODE_CBC 1 // Cipher block chaining

Regards,
John

"Dean Macinskas" <dm@junk.com> wrote in message
news:eeCmOjItFHA.1172@TK2MSFTNGP11.phx.gbl...
> John,
>
> Can you point me in a direction to finding a precise description of how
> mode
> 10 (apparently the only functional one) works? I can find no ANSI
> description, and a MSDN and Google search for "ANSI CBC + OF Masking"
> returns nothing of value. This mode does not appear to be compatible with
> any ANSI X9.52 mode; I'd just like to know exactly what it does.
>
> Thanks for your help.
>
> Regards,
> Dean
>
> "John Banes" <jabanes@comcast.remove.net> wrote in message
> news:uGcr7jCtFHA.2624@TK2MSFTNGP12.phx.gbl...
>> Not all #defines in wincrypt.h are supported by the Microsoft CSPs.
>> Sometimes #defines are added to the header file at the request of a
>> non-Microsoft CSP vendor, and sometimes they're added just for the sake
>> of
>> completeness. I'm not certain that that's the case wrt these algorithms,
> but
>> I suspect that it is, and that the Microsoft CSP simply doesn't support
>> these modes.
>>
>> Regards,
>> John
>>
>> "Dean Macinskas" <dm@junk.com> wrote in message
>> news:%23TFeoF%23sFHA.2860@TK2MSFTNGP10.phx.gbl...
>> > #define CRYPT_MODE_CBCI 6 // ANSI CBC Interleaved
>> > #define CRYPT_MODE_CBCOFM 9 // ANSI CBC + OF
>> > Masking
>> > #define CRYPT_MODE_CBCOFMI 10 // ANSI CBC + OFM
>> > Interleaved
>> >
>> > The above are the CBC algorithms defined in wincrypt.h. Only
>> > CRYPT_MODE_CBCOFM seems to be available using advapi32.dll, but I
>> > cannot
>> > find any information (either within MSDN or Google) on how this mode
>> > works.
>> > I'd like to use CRYPT_MODE_CBCI, but a call specifying it is rejected.
>> >
>> > Can anyone supply insight or suggestions?
>> > --
>> > Regards,
>> > Dean
>> >
>> >
>>
>>
>
>



Relevant Pages

  • Re: Upgrading to SBS2003
    ... "John" wrote in message ... >> SBS 2003 doesn't support TS in application mode, ... >> Regards, ... >> Microsoft SBS-MVP ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Upgrading to SBS2003
    ... "John" wrote in message ... >> SBS 2003 doesn't support TS in application mode, ... >> Regards, ... >> Microsoft SBS-MVP ...
    (microsoft.public.windows.server.sbs)
  • Re: Picture & Fax Veiwer does not work anymore. Need Help
    ... John, you won't believe it, I have just loaded XP SP2 and it fixed my ... stressful problem. ... Many thanks for your support. ... Regards ...
    (microsoft.public.windowsxp.photos)
  • Re: Invalid crypto defines in SDK
    ... Not all #defines in wincrypt.h are supported by the Microsoft CSPs. ... and that the Microsoft CSP simply doesn't support ... Regards, ... > The above are the CBC algorithms defined in wincrypt.h. ...
    (microsoft.public.platformsdk.security)
  • RE: Back tracing links
    ... \par Best Regards, ... \par Microsoft Product Support Services ...
    (microsoft.public.sharepoint.portalserver.development)

Quantcast