CryptGenKey fails with CALG_3DES

From: JohnB (johnbr0983_at_aol.com)
Date: 09/30/03


Date: Tue, 30 Sep 2003 17:26:10 +0200


Hi,

when calling CryptGenKey with CALG_3DES it fails.
When using base provider constants like CALG_DES there is no problem.

CryptAcquireContext has been called with MS_ENHANCED_PROV and also the high
encryption pack is installed.
Does anyone know why CryptGenKey fails with CALG_3DES?

thx

JB



Relevant Pages

  • Re: CryptAcquireContext fails with error (8009000F)
    ... If you are using CryptAcquireContext in side a service and impersonating a ... CRYPT_NEWKEYSET but that fails as well. ... > authentication worked when the user had already logged in ... > RSA *ms2opensslRSANoPrivateKey(PCRYPT_KEY_PROV_INFO pinfo, int flags) ...
    (microsoft.public.platformsdk.security)
  • Re: CryptAcquireContext fails with error (8009000F)
    ... why dont you specify pinfo->pwszProvName in the CryptAcquireContext call? ... "Yasir Ali" wrote in message ... CRYPT_NEWKEYSET but that fails as well. ... > RSA *ms2opensslRSANoPrivateKey(PCRYPT_KEY_PROV_INFO pinfo, int flags) ...
    (microsoft.public.platformsdk.security)
  • Re: CryptAcquireContext why it FAILS!?
    ... fReturn = CryptAcquireContext( ... &hProvParty1, ... I don't understand why it fails! ... -- Alex Fedotov ...
    (microsoft.public.platformsdk.security)