CryptoSys API Library Manual

Error Codes

0 = OK, success, no error (SUCCESS_NO_ERROR)
1 = Cannot open input file (OPEN_ERROR)
2 = Cannot create output file (CREATE_ERROR)
3 = File read error (READ_ERROR)
4 = File write error (WRITE_ERROR)
9 = Input not multiple of block size (BAD_LENGTH_ERROR)
17 = Not enough room in output buffer (SHORT_BUF_ERROR)
18 = Decryption error (DECRYPT_ERROR)
33 = Invalid key length (BAD_KEY_LEN_ERROR)
34 = Invalid block length (BAD_BLK_LEN_ERROR)
35 = Invalid mode (BAD_MODE_ERROR)
39 = Unexpected NULL value (NULL_ERROR)
48 = Invalid key (BAD_KEY_ERROR)
51 = Invalid initialization vector (BAD_IV_ERROR)
52 = Weak key (WEAK_KEY_ERROR)
64 = Invalid context handle (INVALID_HANDLE_ERROR)
106 = Parameter is wrong or missing (BAD_PARAM_ERROR)
107 = Data is in wrong format (BAD_FORMAT_ERROR)
109 = Unexpected end of file found (EOF_ERROR)
116 = The data is invalid (INVALID_DATA_ERROR)
117 = Invalid option (BAD_FLAG_ERROR)
118 = Failed to wipe data (WIPE_ERROR)
123 = Failed a test e.g. known answer test (TEST_FAILED_ERROR)
125 = Input data too short (TOO_SHORT_ERROR)
126 = Duplicate data or filename (DUP_ERROR)
201 = PRNG: Cannot open input file (PRNG_ERR_FILE_OPEN)
202 = PRNG: Cannot create output file (PRNG_ERR_FILE_CREATE)
203 = PRNG: File read error (PRNG_ERR_FILE_READ)
204 = PRNG: File write error (PRNG_ERR_FILE_WRITE)
205 = PRNG: File locking error (PRNG_ERR_FILE_LOCK)
210 = PRNG: Uninstantiation failed (PRNG_ERR_UNINST)
211 = PRNG: Requested length is too large (PRNG_ERR_TOOBIG)
212 = PRNG: Function failed (PRNG_ERR_FAILURE)
213 = PRNG: Invalid input parameter (PRNG_ERR_BADPARAM)
214 = PRNG: Function is not available (PRNG_ERR_NOTAVAIL)
299 = PRNG: Catastrophic failure (PRNG_ERR_CATASTROPHIC)
1024 = Not enough memory (MEMORY_ERROR)
9999 = Miscellaneous error (MISC_ERROR)

To find the error message corresponding to a numerical error code use the API_ErrorLookup function or the General.ErrorLookup Method.

[Contents] [Index]

[HOME]   [NEXT: Acknowledgements...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.