[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    multiple operations on a key
From:       "Ferrell Moultrie (Home)" <ferrell () MOULTRIE ! ORG>
Date:       2001-08-27 15:21:37
[Download RAW message or body]


Folks:
  I'm trying to figure out what the proper response is for mixed
CryptEncrypt()/CryptDecrypt() calls using the same key but without final
set, i.e.,
        CryptEncrypt(hKey, 0, FALSE, ...
        CryptDecrypt(hKey, 0, FALSE, ...
        ... etc ...
Should/must/can a CSP maintain seperate encryption and decryption states
such that it can support this? Or, should it really use the state after the
first encryption call as the initial state for the decryption call? Issues
like initialization vectors and key state both are at issue here.
Thanks!!
  Ferrell

----------------------------------------------------------------
Ferrell Moultrie
  Home-      (770)552-0486   Fax- (770)552-0489  ferrell@moultrie.org
  Work[ISS]- (404)236-2849   Fax- (404)236-2609  FMoultrie@iss.net

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic