Re: Converting Diffie-Hellman Session keys to CALG_AES_128



Hey Joe thansk for the help.
I tryed your change but I get the following
error code: 0x80090008

//what I used
ALG_ID Algid = CALG_AES_128;

CryptSetKeyParam(hSessionKey, KP_ALGID, (PBYTE)&Algid,
(128<<16)|CRYPT_EXPORTABLE);
//

let me know what you think...

.