Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Successive calls to CryptGenKey()

3 views
Skip to first unread message

apeksha...@gmail.com

unread,
Feb 19, 2007, 7:55:14 AM2/19/07
to
Hi,

Successive calls to CryptGenKey() with same parameters creates
different keys?
After 1st call to CryptGenKey() the next call to CryptGetUserKey
should retrieve the handle to key already formed right?

What im observing is: on a fresh installation of windows,
CryptGetUserKey fails (with NTE_BAD_KEY) few times after a key has
been generated using CryptGenKey. This stops happening after some
calls (2-5 calls) to CryptGetUserKey.

0 new messages