I am just wondering if the HCRYPTPROV returned by CryptAcquireContext can be
shared by multiple threads (particularly for signing/verifying signatures).
I think the thing that confuses me a bit is the name "acquire context" which
somehow implies that there is some mutable state information held in the
returned object (which would mean that the returned handle can't be shared
by multiple threads) - but then "HCRYPTPROV" would sound more like it's just
a handle to a cryptography provider.
So can someone clarify if these objects can be shared by multiple threads
(without locking) or if each thread would need a separate handle.
Christof
--
http://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org
So what you need sounds thread safe.
"Christof Meerwald" wrote:
> .
>