Add more complete support for libctx/propq in the EC code
[openssl.git] / include / openssl / ecerr.h
index 43d41d834013822bf4267994eb99e812a248bbf5..033c94d9a9e223132763d8f8ecec9d8f5a8e18f2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -8,8 +8,9 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_ECERR_H
-# define HEADER_ECERR_H
+#ifndef OPENSSL_ECERR_H
+# define OPENSSL_ECERR_H
+# pragma once
 
 # include <openssl/opensslconf.h>
 # include <openssl/symhacks.h>
@@ -27,7 +28,7 @@ int ERR_load_EC_strings(void);
 /*
  * EC function codes.
  */
-# if !OPENSSL_API_3
+# ifndef OPENSSL_NO_DEPRECATED_3_0
 #   define EC_F_BN_TO_FELEM                                 0
 #   define EC_F_D2I_ECPARAMETERS                            0
 #   define EC_F_D2I_ECPKPARAMETERS                          0
@@ -39,9 +40,14 @@ int ERR_load_EC_strings(void);
 #   define EC_F_ECDH_SIMPLE_COMPUTE_KEY                     0
 #   define EC_F_ECDSA_DO_SIGN_EX                            0
 #   define EC_F_ECDSA_DO_VERIFY                             0
+#   define EC_F_ECDSA_S390X_NISTP_SIGN_SIG                  0
+#   define EC_F_ECDSA_S390X_NISTP_VERIFY_SIG                0
 #   define EC_F_ECDSA_SIGN_EX                               0
 #   define EC_F_ECDSA_SIGN_SETUP                            0
 #   define EC_F_ECDSA_SIG_NEW                               0
+#   define EC_F_ECDSA_SIMPLE_SIGN_SETUP                     0
+#   define EC_F_ECDSA_SIMPLE_SIGN_SIG                       0
+#   define EC_F_ECDSA_SIMPLE_VERIFY_SIG                     0
 #   define EC_F_ECDSA_VERIFY                                0
 #   define EC_F_ECD_ITEM_VERIFY                             0
 #   define EC_F_ECKEY_PARAM2TYPE                            0
@@ -110,6 +116,7 @@ int ERR_load_EC_strings(void);
 #   define EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES    0
 #   define EC_F_EC_GROUP_CHECK                              0
 #   define EC_F_EC_GROUP_CHECK_DISCRIMINANT                 0
+#   define EC_F_EC_GROUP_CHECK_NAMED_CURVE                  0
 #   define EC_F_EC_GROUP_COPY                               0
 #   define EC_F_EC_GROUP_GET_CURVE                          0
 #   define EC_F_EC_GROUP_GET_CURVE_GF2M                     0
@@ -121,6 +128,7 @@ int ERR_load_EC_strings(void);
 #   define EC_F_EC_GROUP_GET_TRINOMIAL_BASIS                0
 #   define EC_F_EC_GROUP_NEW                                0
 #   define EC_F_EC_GROUP_NEW_BY_CURVE_NAME                  0
+#   define EC_F_EC_GROUP_NEW_EX                             0
 #   define EC_F_EC_GROUP_NEW_FROM_DATA                      0
 #   define EC_F_EC_GROUP_NEW_FROM_ECPARAMETERS              0
 #   define EC_F_EC_GROUP_NEW_FROM_ECPKPARAMETERS            0
@@ -134,6 +142,7 @@ int ERR_load_EC_strings(void);
 #   define EC_F_EC_KEY_GENERATE_KEY                         0
 #   define EC_F_EC_KEY_NEW                                  0
 #   define EC_F_EC_KEY_NEW_METHOD                           0
+#   define EC_F_EC_KEY_NEW_METHOD_INT                       0
 #   define EC_F_EC_KEY_OCT2PRIV                             0
 #   define EC_F_EC_KEY_PRINT                                0
 #   define EC_F_EC_KEY_PRINT_FP                             0
@@ -160,6 +169,7 @@ int ERR_load_EC_strings(void);
 #   define EC_F_EC_POINT_IS_AT_INFINITY                     0
 #   define EC_F_EC_POINT_IS_ON_CURVE                        0
 #   define EC_F_EC_POINT_MAKE_AFFINE                        0
+#   define EC_F_EC_POINT_MUL                                0
 #   define EC_F_EC_POINT_NEW                                0
 #   define EC_F_EC_POINT_OCT2POINT                          0
 #   define EC_F_EC_POINT_POINT2BUF                          0
@@ -186,6 +196,7 @@ int ERR_load_EC_strings(void);
 #   define EC_F_O2I_ECPUBLICKEY                             0
 #   define EC_F_OLD_EC_PRIV_DECODE                          0
 #   define EC_F_OSSL_ECDH_COMPUTE_KEY                       0
+#   define EC_F_OSSL_ECDSA_SIGN_SETUP                       0
 #   define EC_F_OSSL_ECDSA_SIGN_SIG                         0
 #   define EC_F_OSSL_ECDSA_VERIFY_SIG                       0
 #   define EC_F_PKEY_ECD_CTRL                               0
@@ -201,6 +212,12 @@ int ERR_load_EC_strings(void);
 #   define EC_F_PKEY_EC_KEYGEN                              0
 #   define EC_F_PKEY_EC_PARAMGEN                            0
 #   define EC_F_PKEY_EC_SIGN                                0
+#   define EC_F_S390X_PKEY_ECD_DIGESTSIGN25519              0
+#   define EC_F_S390X_PKEY_ECD_DIGESTSIGN448                0
+#   define EC_F_S390X_PKEY_ECD_KEYGEN25519                  0
+#   define EC_F_S390X_PKEY_ECD_KEYGEN448                    0
+#   define EC_F_S390X_PKEY_ECX_KEYGEN25519                  0
+#   define EC_F_S390X_PKEY_ECX_KEYGEN448                    0
 #   define EC_F_VALIDATE_ECX_DERIVE                         0
 # endif
 
@@ -220,6 +237,7 @@ int ERR_load_EC_strings(void);
 #  define EC_R_DECODE_ERROR                                142
 #  define EC_R_DISCRIMINANT_IS_ZERO                        118
 #  define EC_R_EC_GROUP_NEW_BY_NAME_FAILURE                119
+#  define EC_R_FAILED_MAKING_PUBLIC_KEY                    166
 #  define EC_R_FIELD_TOO_LARGE                             143
 #  define EC_R_GF2M_NOT_SUPPORTED                          147
 #  define EC_R_GROUP2PKPARAMETERS_FAILURE                  120