crypto/weakcryptospi/inc/spi/cryptokeypairgeneratorapi.h
changeset 33 cf642210ecb7
parent 8 35751d3474b7
--- a/crypto/weakcryptospi/inc/spi/cryptokeypairgeneratorapi.h	Tue Nov 24 09:06:03 2009 +0200
+++ b/crypto/weakcryptospi/inc/spi/cryptokeypairgeneratorapi.h	Thu Dec 17 09:28:34 2009 +0200
@@ -53,6 +53,8 @@
 		@param aKeySize 	The algorithm-specific metric in number of bits
 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
 		@param aKeyPair	The generated key pair
+		@leave ...	Any of the crypto error codes defined in 
+  					cryptospi_errs.h or any of the system-wide error codes.
 		*/
 		IMPORT_C void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair);
 
@@ -95,6 +97,8 @@
 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
 		@param aKeyPair	The generated key pair
 		@param aRequestStatus
+		@leave ...	Any of the crypto error codes defined in 
+  					cryptospi_errs.h or any of the system-wide error codes.
 		*/
 		IMPORT_C void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair, TRequestStatus& aRequestStatus);