CryptoSys API Library Manual

Changes in error codes in version 5.1

The error code numbering was changed in version 5.1 as follows:

ErrorOld pre-v5.1New v5.1+
BAD_LENGTH_ERROR 926
SHORT_BUF_ERROR 1730
DECRYPT_ERROR 1815
NULL_ERROR 3914
BAD_KEY_ERROR 4836
BAD_IV_ERROR 5137
BAD_PARAM_ERROR 1066
BAD_FORMAT_ERROR 1077
EOF_ERROR 1099
INVALID_DATA_ERROR 1168
BAD_FLAG_ERROR 11717
WIPE_ERROR 11818
TEST_FAILED_ERROR 12323
TOO_SHORT_ERROR 125-
DUP_ERROR 12612
MEMORY_ERROR 10245
BAD_IV_LEN_ERROR -38
AUTH_FAIL_ERROR -40
MISUSE_ERROR -41
INTERNAL_ERROR -9745

In particular, note that DECRYPT_ERROR has changed in value from 18 to 15, or has been replaced by AUTH_FAIL_ERROR (40) to show an authentication failure in the (now-superseded) GCM functions.

[Contents] [Index]

[PREV: Error Codes...]   [Contents]   [Index]   
   [NEXT: Acknowledgements...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.