Path: blob/main/crypto/openssl/engines/e_capi_err.h
34883 views
/*1* Generated by util/mkerr.pl DO NOT EDIT2* Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.3*4* Licensed under the Apache License 2.0 (the "License"). You may not use5* this file except in compliance with the License. You can obtain a copy6* in the file LICENSE in the source distribution or at7* https://www.openssl.org/source/license.html8*/910#ifndef OSSL_E_CAPI_ERR_H11# define OSSL_E_CAPI_ERR_H12# pragma once1314# include <openssl/opensslconf.h>15# include <openssl/symhacks.h>161718# define CAPIerr(f, r) ERR_CAPI_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)19# define ERR_R_CAPI_LIB ERR_CAPI_lib()202122/*23* CAPI reason codes.24*/25# define CAPI_R_CANT_CREATE_HASH_OBJECT 10026# define CAPI_R_CANT_FIND_CAPI_CONTEXT 10127# define CAPI_R_CANT_GET_KEY 10228# define CAPI_R_CANT_SET_HASH_VALUE 10329# define CAPI_R_CRYPTACQUIRECONTEXT_ERROR 10430# define CAPI_R_CRYPTENUMPROVIDERS_ERROR 10531# define CAPI_R_DECRYPT_ERROR 10632# define CAPI_R_ENGINE_NOT_INITIALIZED 10733# define CAPI_R_ENUMCONTAINERS_ERROR 10834# define CAPI_R_ERROR_ADDING_CERT 10935# define CAPI_R_ERROR_CREATING_STORE 11036# define CAPI_R_ERROR_GETTING_FRIENDLY_NAME 11137# define CAPI_R_ERROR_GETTING_KEY_PROVIDER_INFO 11238# define CAPI_R_ERROR_OPENING_STORE 11339# define CAPI_R_ERROR_SIGNING_HASH 11440# define CAPI_R_FILE_OPEN_ERROR 11541# define CAPI_R_FUNCTION_NOT_SUPPORTED 11642# define CAPI_R_GETUSERKEY_ERROR 11743# define CAPI_R_INVALID_DIGEST_LENGTH 11844# define CAPI_R_INVALID_DSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER 11945# define CAPI_R_INVALID_LOOKUP_METHOD 12046# define CAPI_R_INVALID_PUBLIC_KEY_BLOB 12147# define CAPI_R_INVALID_RSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER 12248# define CAPI_R_PUBKEY_EXPORT_ERROR 12349# define CAPI_R_PUBKEY_EXPORT_LENGTH_ERROR 12450# define CAPI_R_UNKNOWN_COMMAND 12551# define CAPI_R_UNSUPPORTED_ALGORITHM_NID 12652# define CAPI_R_UNSUPPORTED_PADDING 12753# define CAPI_R_UNSUPPORTED_PUBLIC_KEY_ALGORITHM 12854# define CAPI_R_WIN32_ERROR 1295556#endif575859