VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/include/crypto/sm2err.h@ 97984

Last change on this file since 97984 was 97984, checked in by vboxsync, 2 years ago

libs/openssl-3.0.7: Shut up pragma once warnings for internal headers. Added sed script for doing that. bugref:10317

File size: 1.8 KB
Line 
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#ifndef OSSL_CRYPTO_SM2ERR_H
12# define OSSL_CRYPTO_SM2ERR_H
13# ifndef RT_WITHOUT_PRAGMA_ONCE /* VBOX */
14# pragma once
15# endif /* VBOX */
16
17# include <openssl/opensslconf.h>
18# include <openssl/symhacks.h>
19
20# ifdef __cplusplus
21extern "C" {
22# endif
23
24# ifndef OPENSSL_NO_SM2
25
26int ossl_err_load_SM2_strings(void);
27
28/*
29 * SM2 reason codes.
30 */
31# define SM2_R_ASN1_ERROR 100
32# define SM2_R_BAD_SIGNATURE 101
33# define SM2_R_BUFFER_TOO_SMALL 107
34# define SM2_R_DIST_ID_TOO_LARGE 110
35# define SM2_R_ID_NOT_SET 112
36# define SM2_R_ID_TOO_LARGE 111
37# define SM2_R_INVALID_CURVE 108
38# define SM2_R_INVALID_DIGEST 102
39# define SM2_R_INVALID_DIGEST_TYPE 103
40# define SM2_R_INVALID_ENCODING 104
41# define SM2_R_INVALID_FIELD 105
42# define SM2_R_INVALID_PRIVATE_KEY 113
43# define SM2_R_NO_PARAMETERS_SET 109
44# define SM2_R_USER_ID_TOO_LARGE 106
45
46# endif
47
48# ifdef __cplusplus
49}
50# endif
51#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette