![]() |
|
#1
|
|||
|
|||
About 'CryptDestroyKey' function!I have some questions about using Cavium CSP, which need your kindness help.
According to the explain in MSDN, the function 'CryptDestroyKey' of CRYPTAPI will not only destory the key handle, but also free the memory that the key occupied. But using Cavium CSP, the function does not free the memory. What is the problem? It is my code below. This circle will only run 64 times around, then it fails because of lack of memory in Card. CPP / C++ / C Code:
Last edited by admin : 04-Sep-2008 at 05:48.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
||||
|
||||
Re: About 'CryptDestroyKey' function!Quote:
Quote:
EDIT: Since we don't have the full picture of the source, check this MSDN example in case it might have any relevance. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: About 'CryptDestroyKey' function!Hi TurboPT, Thank you for your reply! I think if there is only Public Key, the function of 'CryptDestroyKey' can destroy the key handle and free the memory at the same time. On the other hand, if there is Public/Private key pair, the function just destroy only the handle.So I wanna know wheather any other function can free the memory of the accelerater card? I hope can get your advice. Thank you!
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| run script command on ns2.26 | newbie06 | Computer Software Forum - Linux | 65 | 19-Aug-2009 08:50 |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 08:44 |
| Flex and bison coding | lucky88star | C++ Forum | 5 | 24-Dec-2007 12:57 |
| Need Help with input files. | Efferus | C++ Forum | 2 | 24-Nov-2007 17:19 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The