/* Copyright 2020-2021, 2023 NXP

NXP Confidential. This software is owned or controlled by NXP and may only be
used strictly in accordance with the applicable license terms. By expressly
accepting such terms or by downloading, installing, activating and/or otherwise
using the software, you are agreeing that you have read, and that you agree to
comply with and are bound by, such license terms. If you do not agree to be
bound by the applicable license terms, then you may not retain, install,
activate or otherwise use the software.*/

#pragma once

/* error codes */
#define VOLKANO_OK							0
#define VOLKANO_DB_ERROR					1
#define VOLKANO_KEYSIZE_ERROR				2
#define VOLKANO_UNSUPPORTED_KEY_TYPE		3
#define VOLKANO_INCORRECT_UID_SIZE			4
#define VOLKANO_INCORRECT_CHALLENGE_SIZE	5
#define VOLKANO_GENERIC_OPENSSL_ERROR       6
#define VOLKANO_ADKP_NOT_REGISTERED         7
#define VOLKANO_INCORRECT_USER_PASSWORD     9
#define VOLKANO_UNABLE_TO_LOAD_LIBRARY      10
#define VOLKANO_MISSING_ACTIVATION_CODE     11
#define VOLKANO_MISSING_WRAPPING_KEYS       12
#define VOLKANO_GENERIC_CC_ERROR            13
#define VOLKANO_KEY_ALREADY_EXISTS          14
#define VOLKANO_UNSUPPORTED_OS				15
#define VOLKANO_BUFFER_TOO_SMALL			16
#define VOLKANO_UNWRAP_ERROR				17
#define VOLKANO_PASSWORD_TOO_LONG			18
#define VOLKANO_SMARTCARD_ERROR				19
#define VOLKANO_MISSING_UID					20
#define VOLKANO_UNSUPPORTED_OPERATION		21
#define VOLKANO_CONFIG_FILE_MISSING			23
#define VOLKANO_SMART_CARD_DISCONNECTED		24
#define VOLKANO_INVALID_WORKING_MODE		25
#define VOLKANO_CONNECTION_ERROR			26
#define VOLKANO_MISSING_KEY					27
#define VOLKANO_INVALID_SCHEME				28
#define VOLKANO_INVALID_PARAMETER			29