mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-09 00:04:26 -04:00
Added OQS_ENABLED and OQS_NOT_SUPPORTED
This commit is contained in:
parent
cc640c7973
commit
f48873ae47
@ -52,6 +52,10 @@ typedef enum {
|
|||||||
OQS_ERROR = -1,
|
OQS_ERROR = -1,
|
||||||
/** Used to indicate successful return from function. */
|
/** Used to indicate successful return from function. */
|
||||||
OQS_SUCCESS = 0,
|
OQS_SUCCESS = 0,
|
||||||
|
/** Used to indicate that algorithm is not enabled */
|
||||||
|
OQS_NOT_ENABLED,
|
||||||
|
/** Used to indicate that algorithm is not supported */
|
||||||
|
OQS_NOT_SUPPORTED, // not sure we'll need this
|
||||||
/** Used to indicate failures in external libraries (e.g., OpenSSL). */
|
/** Used to indicate failures in external libraries (e.g., OpenSSL). */
|
||||||
OQS_EXTERNAL_LIB_ERROR_OPENSSL = 50,
|
OQS_EXTERNAL_LIB_ERROR_OPENSSL = 50,
|
||||||
} OQS_STATUS;
|
} OQS_STATUS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user