[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: CPDeriveKey
From:       Josep_Monés_Teixidor <jmt () C3PO ! ES>
Date:       2001-12-12 14:19:29
[Download RAW message or body]


Thanks a lot, I should have searched the archives before asking.

Regards,

Josep Monés

----- Original Message -----
From: "John Banes" <jbanes@WINDOWS.MICROSOFT.COM>
To: <CryptoAPI@DISCUSS.MICROSOFT.COM>
Sent: Monday, December 10, 2001 10:18 PM
Subject: Re: CPDeriveKey


>
http://discuss.microsoft.com/SCRIPTS/WA-MSD.EXE?A2=ind9911C&L=CryptoAPI&P=R2
50
>
> -----Original Message-----
> From: Josep Monés Teixidor [mailto:jmt@C3PO.ES]
> Sent: Monday, December 10, 2001 4:25 AM
> To: CryptoAPI@DISCUSS.MICROSOFT.COM
> Subject: CPDeriveKey
>
>
> Hi,
>
> I'm developping a CSP and i want it to be as compatible to Microsoft
Enhanced Cryptographic Provider as possible; but i found a problem: when
CPDeriveKey is called, then I use the first needed bytes from the hash as
the key material; but i don't know what should I do when deriving a
CALG_3DES key from a CALG_SHA1 or a CALG_MD5; Microsoft's provider doesn't
use a simple algorithm like concatenation, for instance... key material
doesn't look similar to hash data :-)
>
> Does anyone know which expansion algorithm does Microsoft provider use?
>
> And related to this, what should I do with DES padding bits? Should I get
the key material and then simply correct padding bits?
>
>
> TIA,
>
> Josep Monés
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html . To unsubscribe,
mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM
>
>

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic