AES key derivation function

From: Mark_Pryor (marks.pryorCHENEY_at_SHRUBverizon.net)
Date: 03/02/04


Date: Mon, 1 Mar 2004 17:50:51 -0800

Now that Win2k3 has the AES provider, I'd be
interested to see if the key derivation function
differs from the kdf used for the 3DES cipher
found in the Enhanced provider (Win2k sp3, IE6).

I'm refering to the method used to derive keys
from a passphrase in calls to CryptDeriveKey()

For example (24 bytes in hex):

3DES_kdf("1134-kelp","SHA1")->
    D16EDF877A5085A147BC5CFF041045F9375E62EC3970F8AA

and for MD5 ->
    5ad8caaf9fe21c8da124092b81fd0f2f3e20985bced4d456

If anyone would be so kind as to try and export such
a derived key using this AES provider ( in order to
compare) I would be in your debt.

Please post your answer in if they disagree with mine
so that I can hack out any new logic. I have tools
for this using any of C, VB, Python, and Perl.

tia,
msp


Loading