
ISARA Radiate™ Quantum-safe Library Version 3.1
Quantum-safe cryptographic primitives and algorithms.
iqr_retval.h File Reference
ISARA Radiate Quantum-Safe Library's return values. More...
Enumerations | |
enum | iqr_retval { IQR_OK = 0, IQR_ENULLPTR = -1001, IQR_ENOMEM = -1002, IQR_ENOTINIT = -1003, IQR_EINVBUFSIZE = -1004, IQR_EBADVALUE = -1005, IQR_EOUTOFRANGE = -1006, IQR_EVALUENOTSUPP = -1007, IQR_EINVOBJECT = -1008, IQR_EINVCALLBACKS = -1009, IQR_ENOTREGISTERED = -1010, IQR_EINVDATA = -1011, IQR_EINVPTR = -1012, IQR_EPTROVERLAP = -1013, IQR_ELIBRARYMISMATCH = -1014, IQR_EINVSTRATEGY = -1015, IQR_EVERSIONMISMATCH = -1016, IQR_EINVALGOSTATE = -2001, IQR_EINVHASHALGO = -2002, IQR_EINVPUBLICKEY = -3001, IQR_EINVPRIVATEKEY = -3002, IQR_EINVSYMKEY = -3003, IQR_EKEYPAIRMISMATCH = -3004, IQR_EINVSIGNATURE = -3006, IQR_ESTATEDEPLETED = -3007, IQR_ENOTSEEDED = -4001, IQR_ERESEED = -4002, IQR_EDECRYPTIONFAILED = -5001 } |
Functions | |
const IQR_API char * | iqr_StrError (iqr_retval ret) |
Enumeration Type Documentation
◆ iqr_retval
enum iqr_retval |
Function Documentation
◆ iqr_StrError()
const IQR_API char* iqr_StrError | ( | iqr_retval | ret | ) |
Convert an iqr_retval
error code into an English string.
- Note
- Not suitable for use in programs that need internationalization.
- Parameters
-
[in] ret An IQR_*
error value.
- Returns
- A pointer to a string describing the error value, or a pointer to a string indicating an unknown error value.
Detailed Description
ISARA Radiate Quantum-Safe Library's return values.
Every toolkit function that returns an iqr_retval
value will return an appropriate value from this list. IQR_OK
is always used to indicate success.
- Copyright
- Copyright (C) 2015-2023, ISARA Corporation, All Rights Reserved.
- License
- The code and other content set out herein is not in the public domain, is considered a trade secret and is confidential to ISARA Corporation. Use, reproduction or distribution, in whole or in part, of such code or other content is strictly prohibited except by express written permission of ISARA Corporation. Please contact ISARA Corporation at info@ for more information. isar a.com