[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-cryptoapi
Subject: CryptDecrypt error NTE_BAD_DATA
From: Majid Shahabzi <mshahbazi () YAHOO ! COM>
Date: 1999-06-28 15:00:10
[Download RAW message or body]
I am decrypting a file with 16 bytes of data in it and
the buffer size is 1000, the falg is set to TRUE to
indciate it is the last time.
if (RCRYPT_FAILED(CryptDecrypt(hFileKey, 0, TRUE, 0,
pDecryptBuf, &dwDecryptDataLen))) {
// it fails here
}
I get the NTE_BAD_DATA error. Any ideas why?
I have looked at MSDN, have not got any clues, yet.
Thanks
Mike
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe. Save time, search
the archives at http://discuss.microsoft.com/archives/index.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic