aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBob Beck <[email protected]>2026-08-08 01:53:57 +0200
committerTomas Mraz <[email protected]>2026-09-01 16:01:38 +0200
commit7a3fa58d9da7a7b60d5a685a6eb96a13c80f5256 (patch)
treee1bc7f757c07e705c8c67fb4eb567725b6e1b524 /include
parentGenerate the committed generator-output headers at build time (diff)
downloadopenssl-7a3fa58d9da7a7b60d5a685a6eb96a13c80f5256.tar.gz
openssl-7a3fa58d9da7a7b60d5a685a6eb96a13c80f5256.zip
Generate the error headers and tables at build time
Teach util/mkerr.pl two new modes. -emit FILE writes one generated error file to standard output as a pure function of openssl.ec and openssl.txt, with no source scan and no state update; every file in the openssl.ec L table becomes a GENERATE rule driven by it, and the generated error headers join the mandatory generated headers. -state scans the sources and maintains openssl.txt but writes no other files; "make errors" now uses it, so the developer flow only curates the state and the build emits everything else. Reason-code assignment moves out of the header emission into its own pass, the three emitters become subroutines writing to a filehandle, and the up-to-date stamp moves from the statefile's own timestamp to a separate gitignored stamp file, since the statefile is now a build input whose timestamp must track its content. Removing the committed copies also retires 15 that had silently drifted from the generator's output, among them crypto/bio/bio_err.c, which was missing the reason strings for three BIO error codes that exist in the state file. Reviewed-by: Neil Horman <[email protected]> Reviewed-by: Andrew Dinh <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Merge-date: Tue Sep 1 14:03:03 2026 Merged-from: https://github.com/openssl/openssl/pull/32243
Diffstat (limited to 'include')
-rw-r--r--include/crypto/asn1err.h27
-rw-r--r--include/crypto/asyncerr.h27
-rw-r--r--include/crypto/bioerr.h27
-rw-r--r--include/crypto/bnerr.h27
-rw-r--r--include/crypto/buffererr.h27
-rw-r--r--include/crypto/cmperr.h30
-rw-r--r--include/crypto/cmserr.h30
-rw-r--r--include/crypto/comperr.h30
-rw-r--r--include/crypto/conferr.h27
-rw-r--r--include/crypto/crmferr.h30
-rw-r--r--include/crypto/cryptoerr.h27
-rw-r--r--include/crypto/cterr.h30
-rw-r--r--include/crypto/decodererr.h27
-rw-r--r--include/crypto/dherr.h30
-rw-r--r--include/crypto/dsaerr.h30
-rw-r--r--include/crypto/ecerr.h30
-rw-r--r--include/crypto/encodererr.h27
-rw-r--r--include/crypto/esserr.h27
-rw-r--r--include/crypto/evperr.h27
-rw-r--r--include/crypto/httperr.h30
-rw-r--r--include/crypto/objectserr.h27
-rw-r--r--include/crypto/ocsperr.h30
-rw-r--r--include/crypto/pemerr.h27
-rw-r--r--include/crypto/pkcs12err.h27
-rw-r--r--include/crypto/pkcs7err.h27
-rw-r--r--include/crypto/randerr.h27
-rw-r--r--include/crypto/rsaerr.h27
-rw-r--r--include/crypto/sm2err.h49
-rw-r--r--include/crypto/storeerr.h27
-rw-r--r--include/crypto/tserr.h30
-rw-r--r--include/crypto/uierr.h27
-rw-r--r--include/crypto/x509err.h27
-rw-r--r--include/crypto/x509v3err.h27
-rw-r--r--include/internal/dsoerr.h47
-rw-r--r--include/internal/propertyerr.h42
-rw-r--r--include/openssl/asn1err.h140
-rw-r--r--include/openssl/asyncerr.h27
-rw-r--r--include/openssl/bioerr.h70
-rw-r--r--include/openssl/bnerr.h45
-rw-r--r--include/openssl/buffererr.h23
-rw-r--r--include/openssl/cmperr.h132
-rw-r--r--include/openssl/cmserr.h128
-rw-r--r--include/openssl/comperr.h36
-rw-r--r--include/openssl/conferr.h50
-rw-r--r--include/openssl/crmferr.h56
-rw-r--r--include/openssl/cryptoerr.h54
-rw-r--r--include/openssl/cterr.h43
-rw-r--r--include/openssl/decodererr.h26
-rw-r--r--include/openssl/dherr.h57
-rw-r--r--include/openssl/dsaerr.h42
-rw-r--r--include/openssl/ecerr.h102
-rw-r--r--include/openssl/encodererr.h28
-rw-r--r--include/openssl/esserr.h32
-rw-r--r--include/openssl/evperr.h148
-rw-r--r--include/openssl/httperr.h55
-rw-r--r--include/openssl/objectserr.h26
-rw-r--r--include/openssl/ocsperr.h51
-rw-r--r--include/openssl/pemerr.h57
-rw-r--r--include/openssl/pkcs12err.h45
-rw-r--r--include/openssl/pkcs7err.h61
-rw-r--r--include/openssl/proverr.h183
-rw-r--r--include/openssl/randerr.h68
-rw-r--r--include/openssl/rsaerr.h104
-rw-r--r--include/openssl/sslerr.h381
-rw-r--r--include/openssl/storeerr.h48
-rw-r--r--include/openssl/tserr.h65
-rw-r--r--include/openssl/uierr.h36
-rw-r--r--include/openssl/x509err.h70
-rw-r--r--include/openssl/x509v3err.h96
69 files changed, 0 insertions, 3620 deletions
diff --git a/include/crypto/asn1err.h b/include/crypto/asn1err.h
deleted file mode 100644
index 62fdfd5e9bf..00000000000
--- a/include/crypto/asn1err.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_ASN1ERR_H
-#define OSSL_CRYPTO_ASN1ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_ASN1_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/asyncerr.h b/include/crypto/asyncerr.h
deleted file mode 100644
index 6a653247abf..00000000000
--- a/include/crypto/asyncerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_ASYNCERR_H
-#define OSSL_CRYPTO_ASYNCERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_ASYNC_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/bioerr.h b/include/crypto/bioerr.h
deleted file mode 100644
index f30975213ef..00000000000
--- a/include/crypto/bioerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2022 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_BIOERR_H
-#define OSSL_CRYPTO_BIOERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_BIO_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/bnerr.h b/include/crypto/bnerr.h
deleted file mode 100644
index 96b3a8dfba1..00000000000
--- a/include/crypto/bnerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2022 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_BNERR_H
-#define OSSL_CRYPTO_BNERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_BN_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/buffererr.h b/include/crypto/buffererr.h
deleted file mode 100644
index 21caac21f54..00000000000
--- a/include/crypto/buffererr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_BUFFERERR_H
-#define OSSL_CRYPTO_BUFFERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_BUF_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/cmperr.h b/include/crypto/cmperr.h
deleted file mode 100644
index ea3ac24d270..00000000000
--- a/include/crypto/cmperr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CMPERR_H
-#define OSSL_CRYPTO_CMPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_CMP
-
-int ossl_err_load_CMP_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/cmserr.h b/include/crypto/cmserr.h
deleted file mode 100644
index f9fd933682e..00000000000
--- a/include/crypto/cmserr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CMSERR_H
-#define OSSL_CRYPTO_CMSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_CMS
-
-int ossl_err_load_CMS_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/comperr.h b/include/crypto/comperr.h
deleted file mode 100644
index b12b70cc8b0..00000000000
--- a/include/crypto/comperr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_COMPERR_H
-#define OSSL_CRYPTO_COMPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_COMP
-
-int ossl_err_load_COMP_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/conferr.h b/include/crypto/conferr.h
deleted file mode 100644
index 4e0474290bb..00000000000
--- a/include/crypto/conferr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CONFERR_H
-#define OSSL_CRYPTO_CONFERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_CONF_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/crmferr.h b/include/crypto/crmferr.h
deleted file mode 100644
index 8216e7fcf74..00000000000
--- a/include/crypto/crmferr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CRMFERR_H
-#define OSSL_CRYPTO_CRMFERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_CRMF
-
-int ossl_err_load_CRMF_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/cryptoerr.h b/include/crypto/cryptoerr.h
deleted file mode 100644
index f4a2389907a..00000000000
--- a/include/crypto/cryptoerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2024 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CRYPTOERR_H
-#define OSSL_CRYPTO_CRYPTOERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_CRYPTO_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/cterr.h b/include/crypto/cterr.h
deleted file mode 100644
index 0af2d31516f..00000000000
--- a/include/crypto/cterr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_CTERR_H
-#define OSSL_CRYPTO_CTERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_CT
-
-int ossl_err_load_CT_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/decodererr.h b/include/crypto/decodererr.h
deleted file mode 100644
index c1aadca3652..00000000000
--- a/include/crypto/decodererr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_DECODERERR_H
-#define OSSL_CRYPTO_DECODERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_OSSL_DECODER_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/dherr.h b/include/crypto/dherr.h
deleted file mode 100644
index 00ea8fe667b..00000000000
--- a/include/crypto/dherr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_DHERR_H
-#define OSSL_CRYPTO_DHERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_DH
-
-int ossl_err_load_DH_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/dsaerr.h b/include/crypto/dsaerr.h
deleted file mode 100644
index f4a886b1ac5..00000000000
--- a/include/crypto/dsaerr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_DSAERR_H
-#define OSSL_CRYPTO_DSAERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_DSA
-
-int ossl_err_load_DSA_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/ecerr.h b/include/crypto/ecerr.h
deleted file mode 100644
index 22003a3025c..00000000000
--- a/include/crypto/ecerr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_ECERR_H
-#define OSSL_CRYPTO_ECERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_EC
-
-int ossl_err_load_EC_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/encodererr.h b/include/crypto/encodererr.h
deleted file mode 100644
index 71fddeb50c6..00000000000
--- a/include/crypto/encodererr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_ENCODERERR_H
-#define OSSL_CRYPTO_ENCODERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_OSSL_ENCODER_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/esserr.h b/include/crypto/esserr.h
deleted file mode 100644
index 7766d05cd92..00000000000
--- a/include/crypto/esserr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_ESSERR_H
-#define OSSL_CRYPTO_ESSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_ESS_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/evperr.h b/include/crypto/evperr.h
deleted file mode 100644
index afe136c816a..00000000000
--- a/include/crypto/evperr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_EVPERR_H
-#define OSSL_CRYPTO_EVPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_EVP_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/httperr.h b/include/crypto/httperr.h
deleted file mode 100644
index 94d812295cd..00000000000
--- a/include/crypto/httperr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_HTTPERR_H
-#define OSSL_CRYPTO_HTTPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_HTTP
-
-int ossl_err_load_HTTP_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/objectserr.h b/include/crypto/objectserr.h
deleted file mode 100644
index 47fc698aa13..00000000000
--- a/include/crypto/objectserr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_OBJECTSERR_H
-#define OSSL_CRYPTO_OBJECTSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_OBJ_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/ocsperr.h b/include/crypto/ocsperr.h
deleted file mode 100644
index d05a0324c0b..00000000000
--- a/include/crypto/ocsperr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_OCSPERR_H
-#define OSSL_CRYPTO_OCSPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_OCSP
-
-int ossl_err_load_OCSP_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/pemerr.h b/include/crypto/pemerr.h
deleted file mode 100644
index 3a2aa022610..00000000000
--- a/include/crypto/pemerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_PEMERR_H
-#define OSSL_CRYPTO_PEMERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_PEM_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/pkcs12err.h b/include/crypto/pkcs12err.h
deleted file mode 100644
index eebf3f99a96..00000000000
--- a/include/crypto/pkcs12err.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_PKCS12ERR_H
-#define OSSL_CRYPTO_PKCS12ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_PKCS12_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/pkcs7err.h b/include/crypto/pkcs7err.h
deleted file mode 100644
index 68d071b936f..00000000000
--- a/include/crypto/pkcs7err.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_PKCS7ERR_H
-#define OSSL_CRYPTO_PKCS7ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_PKCS7_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/randerr.h b/include/crypto/randerr.h
deleted file mode 100644
index b6c91c7f980..00000000000
--- a/include/crypto/randerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2024 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_RANDERR_H
-#define OSSL_CRYPTO_RANDERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_RAND_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/rsaerr.h b/include/crypto/rsaerr.h
deleted file mode 100644
index d295eef80d2..00000000000
--- a/include/crypto/rsaerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_RSAERR_H
-#define OSSL_CRYPTO_RSAERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_RSA_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/sm2err.h b/include/crypto/sm2err.h
deleted file mode 100644
index 3dc4f7d93a1..00000000000
--- a/include/crypto/sm2err.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_SM2ERR_H
-#define OSSL_CRYPTO_SM2ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_SM2
-
-int ossl_err_load_SM2_strings(void);
-
-/*
- * SM2 reason codes.
- */
-#define SM2_R_ASN1_ERROR 100
-#define SM2_R_BAD_SIGNATURE 101
-#define SM2_R_BUFFER_TOO_SMALL 107
-#define SM2_R_DIST_ID_TOO_LARGE 110
-#define SM2_R_ID_NOT_SET 112
-#define SM2_R_ID_TOO_LARGE 111
-#define SM2_R_INVALID_CURVE 108
-#define SM2_R_INVALID_DIGEST 102
-#define SM2_R_INVALID_DIGEST_TYPE 103
-#define SM2_R_INVALID_ENCODING 104
-#define SM2_R_INVALID_FIELD 105
-#define SM2_R_INVALID_PRIVATE_KEY 113
-#define SM2_R_NO_PARAMETERS_SET 109
-#define SM2_R_USER_ID_TOO_LARGE 106
-
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/storeerr.h b/include/crypto/storeerr.h
deleted file mode 100644
index 33bed4cc24b..00000000000
--- a/include/crypto/storeerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_STOREERR_H
-#define OSSL_CRYPTO_STOREERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_OSSL_STORE_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/tserr.h b/include/crypto/tserr.h
deleted file mode 100644
index 31c9da41f3d..00000000000
--- a/include/crypto/tserr.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_TSERR_H
-#define OSSL_CRYPTO_TSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef OPENSSL_NO_TS
-
-int ossl_err_load_TS_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/uierr.h b/include/crypto/uierr.h
deleted file mode 100644
index dbd14967913..00000000000
--- a/include/crypto/uierr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_UIERR_H
-#define OSSL_CRYPTO_UIERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_UI_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/x509err.h b/include/crypto/x509err.h
deleted file mode 100644
index 45e62fa7da8..00000000000
--- a/include/crypto/x509err.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_X509ERR_H
-#define OSSL_CRYPTO_X509ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_X509_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/crypto/x509v3err.h b/include/crypto/x509v3err.h
deleted file mode 100644
index 279acb7e612..00000000000
--- a/include/crypto/x509v3err.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_CRYPTO_X509V3ERR_H
-#define OSSL_CRYPTO_X509V3ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_X509V3_strings(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/internal/dsoerr.h b/include/internal/dsoerr.h
deleted file mode 100644
index 3b1de62fccc..00000000000
--- a/include/internal/dsoerr.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_INTERNAL_DSOERR_H
-#define OSSL_INTERNAL_DSOERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_DSO_strings(void);
-
-/*
- * DSO reason codes.
- */
-#define DSO_R_CTRL_FAILED 100
-#define DSO_R_DSO_ALREADY_LOADED 110
-#define DSO_R_EMPTY_FILE_STRUCTURE 113
-#define DSO_R_FAILURE 114
-#define DSO_R_FILENAME_TOO_BIG 101
-#define DSO_R_FINISH_FAILED 102
-#define DSO_R_INCORRECT_FILE_SYNTAX 115
-#define DSO_R_LOAD_FAILED 103
-#define DSO_R_NAME_TRANSLATION_FAILED 109
-#define DSO_R_NO_FILENAME 111
-#define DSO_R_NULL_HANDLE 104
-#define DSO_R_SET_FILENAME_FAILED 112
-#define DSO_R_STACK_ERROR 105
-#define DSO_R_SYM_FAILURE 106
-#define DSO_R_UNLOAD_FAILED 107
-#define DSO_R_UNSUPPORTED 108
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/internal/propertyerr.h b/include/internal/propertyerr.h
deleted file mode 100644
index 94e2c90955d..00000000000
--- a/include/internal/propertyerr.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OSSL_INTERNAL_PROPERTYERR_H
-#define OSSL_INTERNAL_PROPERTYERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ossl_err_load_PROP_strings(void);
-
-/*
- * PROP reason codes.
- */
-#define PROP_R_NAME_TOO_LONG 100
-#define PROP_R_NOT_AN_ASCII_CHARACTER 101
-#define PROP_R_NOT_AN_HEXADECIMAL_DIGIT 102
-#define PROP_R_NOT_AN_IDENTIFIER 103
-#define PROP_R_NOT_AN_OCTAL_DIGIT 104
-#define PROP_R_NOT_A_DECIMAL_DIGIT 105
-#define PROP_R_NO_MATCHING_STRING_DELIMITER 106
-#define PROP_R_NO_VALUE 107
-#define PROP_R_PARSE_FAILED 108
-#define PROP_R_STRING_TOO_LONG 109
-#define PROP_R_TRAILING_CHARACTERS 110
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/include/openssl/asn1err.h b/include/openssl/asn1err.h
deleted file mode 100644
index 91756141b0f..00000000000
--- a/include/openssl/asn1err.h
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2024 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_ASN1ERR_H
-#define OPENSSL_ASN1ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * ASN1 reason codes.
- */
-#define ASN1_R_ADDING_OBJECT 171
-#define ASN1_R_ASN1_PARSE_ERROR 203
-#define ASN1_R_ASN1_SIG_PARSE_ERROR 204
-#define ASN1_R_AUX_ERROR 100
-#define ASN1_R_BAD_OBJECT_HEADER 102
-#define ASN1_R_BAD_TEMPLATE 230
-#define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
-#define ASN1_R_BN_LIB 105
-#define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
-#define ASN1_R_BUFFER_TOO_SMALL 107
-#define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 108
-#define ASN1_R_CONTEXT_NOT_INITIALISED 217
-#define ASN1_R_DATA_IS_WRONG 109
-#define ASN1_R_DECODE_ERROR 110
-#define ASN1_R_DEPTH_EXCEEDED 174
-#define ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED 198
-#define ASN1_R_ENCODE_ERROR 112
-#define ASN1_R_ERROR_GETTING_TIME 173
-#define ASN1_R_ERROR_LOADING_SECTION 172
-#define ASN1_R_ERROR_SETTING_CIPHER_PARAMS 114
-#define ASN1_R_EXPECTING_AN_INTEGER 115
-#define ASN1_R_EXPECTING_AN_OBJECT 116
-#define ASN1_R_EXPLICIT_LENGTH_MISMATCH 119
-#define ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED 120
-#define ASN1_R_FIELD_MISSING 121
-#define ASN1_R_FIRST_NUM_TOO_LARGE 122
-#define ASN1_R_GENERALIZEDTIME_IS_TOO_SHORT 232
-#define ASN1_R_HEADER_TOO_LONG 123
-#define ASN1_R_ILLEGAL_BITSTRING_FORMAT 175
-#define ASN1_R_ILLEGAL_BOOLEAN 176
-#define ASN1_R_ILLEGAL_CHARACTERS 124
-#define ASN1_R_ILLEGAL_FORMAT 177
-#define ASN1_R_ILLEGAL_HEX 178
-#define ASN1_R_ILLEGAL_IMPLICIT_TAG 179
-#define ASN1_R_ILLEGAL_INTEGER 180
-#define ASN1_R_ILLEGAL_NEGATIVE_VALUE 226
-#define ASN1_R_ILLEGAL_NESTED_TAGGING 181
-#define ASN1_R_ILLEGAL_NULL 125
-#define ASN1_R_ILLEGAL_NULL_VALUE 182
-#define ASN1_R_ILLEGAL_OBJECT 183
-#define ASN1_R_ILLEGAL_OPTIONAL_ANY 126
-#define ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE 170
-#define ASN1_R_ILLEGAL_PADDING 221
-#define ASN1_R_ILLEGAL_TAGGED_ANY 127
-#define ASN1_R_ILLEGAL_TIME_VALUE 184
-#define ASN1_R_ILLEGAL_ZERO_CONTENT 222
-#define ASN1_R_INTEGER_NOT_ASCII_FORMAT 185
-#define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG 128
-#define ASN1_R_INVALID_BIT_STRING_BITS_LEFT 220
-#define ASN1_R_INVALID_BMPSTRING_LENGTH 129
-#define ASN1_R_INVALID_DIGIT 130
-#define ASN1_R_INVALID_MIME_TYPE 205
-#define ASN1_R_INVALID_MODIFIER 186
-#define ASN1_R_INVALID_NUMBER 187
-#define ASN1_R_INVALID_OBJECT_ENCODING 216
-#define ASN1_R_INVALID_SCRYPT_PARAMETERS 227
-#define ASN1_R_INVALID_SEPARATOR 131
-#define ASN1_R_INVALID_STRING_TABLE_VALUE 218
-#define ASN1_R_INVALID_UNIVERSALSTRING_LENGTH 133
-#define ASN1_R_INVALID_UTF8STRING 134
-#define ASN1_R_INVALID_VALUE 219
-#define ASN1_R_LENGTH_TOO_LONG 231
-#define ASN1_R_LIST_ERROR 188
-#define ASN1_R_MIME_NO_CONTENT_TYPE 206
-#define ASN1_R_MIME_PARSE_ERROR 207
-#define ASN1_R_MIME_SIG_PARSE_ERROR 208
-#define ASN1_R_MISSING_EOC 137
-#define ASN1_R_MISSING_SECOND_NUMBER 138
-#define ASN1_R_MISSING_VALUE 189
-#define ASN1_R_MSTRING_NOT_UNIVERSAL 139
-#define ASN1_R_MSTRING_WRONG_TAG 140
-#define ASN1_R_NESTED_ASN1_STRING 197
-#define ASN1_R_NESTED_TOO_DEEP 201
-#define ASN1_R_NON_HEX_CHARACTERS 141
-#define ASN1_R_NOT_ASCII_FORMAT 190
-#define ASN1_R_NOT_ENOUGH_DATA 142
-#define ASN1_R_NO_CONTENT_TYPE 209
-#define ASN1_R_NO_MATCHING_CHOICE_TYPE 143
-#define ASN1_R_NO_MULTIPART_BODY_FAILURE 210
-#define ASN1_R_NO_MULTIPART_BOUNDARY 211
-#define ASN1_R_NO_SIG_CONTENT_TYPE 212
-#define ASN1_R_NULL_IS_WRONG_LENGTH 144
-#define ASN1_R_OBJECT_NOT_ASCII_FORMAT 191
-#define ASN1_R_ODD_NUMBER_OF_CHARS 145
-#define ASN1_R_SECOND_NUMBER_TOO_LARGE 147
-#define ASN1_R_SEQUENCE_LENGTH_MISMATCH 148
-#define ASN1_R_SEQUENCE_NOT_CONSTRUCTED 149
-#define ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG 192
-#define ASN1_R_SHORT_LINE 150
-#define ASN1_R_SIG_INVALID_MIME_TYPE 213
-#define ASN1_R_STREAMING_NOT_SUPPORTED 202
-#define ASN1_R_STRING_TOO_LONG 151
-#define ASN1_R_STRING_TOO_SHORT 152
-#define ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 154
-#define ASN1_R_TIME_NOT_ASCII_FORMAT 193
-#define ASN1_R_TOO_LARGE 223
-#define ASN1_R_TOO_LONG 155
-#define ASN1_R_TOO_SMALL 224
-#define ASN1_R_TYPE_NOT_CONSTRUCTED 156
-#define ASN1_R_TYPE_NOT_PRIMITIVE 195
-#define ASN1_R_UNEXPECTED_EOC 159
-#define ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH 215
-#define ASN1_R_UNKNOWN_DIGEST 229
-#define ASN1_R_UNKNOWN_FORMAT 160
-#define ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM 161
-#define ASN1_R_UNKNOWN_OBJECT_TYPE 162
-#define ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE 163
-#define ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM 199
-#define ASN1_R_UNKNOWN_TAG 194
-#define ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE 164
-#define ASN1_R_UNSUPPORTED_CIPHER 228
-#define ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE 167
-#define ASN1_R_UNSUPPORTED_TYPE 196
-#define ASN1_R_UTCTIME_IS_TOO_SHORT 233
-#define ASN1_R_WRONG_INTEGER_TYPE 225
-#define ASN1_R_WRONG_PUBLIC_KEY_TYPE 200
-#define ASN1_R_WRONG_TAG 168
-
-#endif
diff --git a/include/openssl/asyncerr.h b/include/openssl/asyncerr.h
deleted file mode 100644
index 41bd4a0391a..00000000000
--- a/include/openssl/asyncerr.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_ASYNCERR_H
-#define OPENSSL_ASYNCERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * ASYNC reason codes.
- */
-#define ASYNC_R_FAILED_TO_SET_POOL 101
-#define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
-#define ASYNC_R_INIT_FAILED 105
-#define ASYNC_R_INVALID_POOL_SIZE 103
-
-#endif
diff --git a/include/openssl/bioerr.h b/include/openssl/bioerr.h
deleted file mode 100644
index b4ee5c68bee..00000000000
--- a/include/openssl/bioerr.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2022 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_BIOERR_H
-#define OPENSSL_BIOERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * BIO reason codes.
- */
-#define BIO_R_ACCEPT_ERROR 100
-#define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
-#define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
-#define BIO_R_BAD_FOPEN_MODE 101
-#define BIO_R_BROKEN_PIPE 124
-#define BIO_R_CONNECT_ERROR 103
-#define BIO_R_CONNECT_TIMEOUT 147
-#define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
-#define BIO_R_GETSOCKNAME_ERROR 132
-#define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
-#define BIO_R_GETTING_SOCKTYPE 134
-#define BIO_R_INVALID_ARGUMENT 125
-#define BIO_R_INVALID_SOCKET 135
-#define BIO_R_IN_USE 123
-#define BIO_R_LENGTH_TOO_LONG 102
-#define BIO_R_LISTEN_V6_ONLY 136
-#define BIO_R_LOCAL_ADDR_NOT_AVAILABLE 111
-#define BIO_R_LOOKUP_RETURNED_NOTHING 142
-#define BIO_R_MALFORMED_HOST_OR_SERVICE 130
-#define BIO_R_NBIO_CONNECT_ERROR 110
-#define BIO_R_NON_FATAL 112
-#define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
-#define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
-#define BIO_R_NO_PORT_DEFINED 113
-#define BIO_R_NO_SUCH_FILE 128
-#define BIO_R_NULL_PARAMETER 115 /* unused */
-#define BIO_R_TFO_DISABLED 106
-#define BIO_R_TFO_NO_KERNEL_SUPPORT 108
-#define BIO_R_TRANSFER_ERROR 104
-#define BIO_R_TRANSFER_TIMEOUT 105
-#define BIO_R_UNABLE_TO_BIND_SOCKET 117
-#define BIO_R_UNABLE_TO_CREATE_SOCKET 118
-#define BIO_R_UNABLE_TO_KEEPALIVE 137
-#define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
-#define BIO_R_UNABLE_TO_NODELAY 138
-#define BIO_R_UNABLE_TO_REUSEADDR 139
-#define BIO_R_UNABLE_TO_TFO 109
-#define BIO_R_UNAVAILABLE_IP_FAMILY 145
-#define BIO_R_UNINITIALIZED 120
-#define BIO_R_UNKNOWN_INFO_TYPE 140
-#define BIO_R_UNSUPPORTED_IP_FAMILY 146
-#define BIO_R_UNSUPPORTED_METHOD 121
-#define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
-#define BIO_R_WRITE_TO_READ_ONLY_BIO 126
-#define BIO_R_WSASTARTUP 122
-#define BIO_R_PORT_MISMATCH 150
-#define BIO_R_PEER_ADDR_NOT_AVAILABLE 151
-
-#endif
diff --git a/include/openssl/bnerr.h b/include/openssl/bnerr.h
deleted file mode 100644
index dbbcd699bba..00000000000
--- a/include/openssl/bnerr.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2022 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_BNERR_H
-#define OPENSSL_BNERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * BN reason codes.
- */
-#define BN_R_ARG2_LT_ARG3 100
-#define BN_R_BAD_RECIPROCAL 101
-#define BN_R_BIGNUM_TOO_LONG 114
-#define BN_R_BITS_TOO_SMALL 118
-#define BN_R_CALLED_WITH_EVEN_MODULUS 102
-#define BN_R_DIV_BY_ZERO 103
-#define BN_R_ENCODING_ERROR 104
-#define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
-#define BN_R_INPUT_NOT_REDUCED 110
-#define BN_R_INVALID_LENGTH 106
-#define BN_R_INVALID_RANGE 115
-#define BN_R_INVALID_SHIFT 119
-#define BN_R_NOT_A_SQUARE 111
-#define BN_R_NOT_INITIALIZED 107
-#define BN_R_NO_INVERSE 108
-#define BN_R_NO_PRIME_CANDIDATE 121
-#define BN_R_NO_SOLUTION 116
-#define BN_R_NO_SUITABLE_DIGEST 120
-#define BN_R_PRIVATE_KEY_TOO_LARGE 117
-#define BN_R_P_IS_NOT_PRIME 112
-#define BN_R_TOO_MANY_ITERATIONS 113
-#define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
-
-#endif
diff --git a/include/openssl/buffererr.h b/include/openssl/buffererr.h
deleted file mode 100644
index 4fa0da44be2..00000000000
--- a/include/openssl/buffererr.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_BUFFERERR_H
-#define OPENSSL_BUFFERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * BUF reason codes.
- */
-
-#endif
diff --git a/include/openssl/cmperr.h b/include/openssl/cmperr.h
deleted file mode 100644
index b07ac6d6c6d..00000000000
--- a/include/openssl/cmperr.h
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CMPERR_H
-#define OPENSSL_CMPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_CMP
-
-/*
- * CMP reason codes.
- */
-#define CMP_R_ALGORITHM_NOT_SUPPORTED 139
-#define CMP_R_BAD_CHECKAFTER_IN_POLLREP 167
-#define CMP_R_BAD_REQUEST_ID 108
-#define CMP_R_CERTHASH_UNMATCHED 156
-#define CMP_R_CERTID_NOT_FOUND 109
-#define CMP_R_CERTIFICATE_NOT_ACCEPTED 169
-#define CMP_R_CERTIFICATE_NOT_FOUND 112
-#define CMP_R_CERTREQMSG_NOT_FOUND 157
-#define CMP_R_CERTRESPONSE_NOT_FOUND 113
-#define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114
-#define CMP_R_CHECKAFTER_OUT_OF_RANGE 181
-#define CMP_R_ENCOUNTERED_KEYUPDATEWARNING 176
-#define CMP_R_ENCOUNTERED_WAITING 162
-#define CMP_R_ERROR_CALCULATING_PROTECTION 115
-#define CMP_R_ERROR_CREATING_CERTCONF 116
-#define CMP_R_ERROR_CREATING_CERTREP 117
-#define CMP_R_ERROR_CREATING_CERTREQ 163
-#define CMP_R_ERROR_CREATING_ERROR 118
-#define CMP_R_ERROR_CREATING_GENM 119
-#define CMP_R_ERROR_CREATING_GENP 120
-#define CMP_R_ERROR_CREATING_PKICONF 122
-#define CMP_R_ERROR_CREATING_POLLREP 123
-#define CMP_R_ERROR_CREATING_POLLREQ 124
-#define CMP_R_ERROR_CREATING_RP 125
-#define CMP_R_ERROR_CREATING_RR 126
-#define CMP_R_ERROR_PARSING_PKISTATUS 107
-#define CMP_R_ERROR_PROCESSING_MESSAGE 158
-#define CMP_R_ERROR_PROTECTING_MESSAGE 127
-#define CMP_R_ERROR_SETTING_CERTHASH 128
-#define CMP_R_ERROR_UNEXPECTED_CERTCONF 160
-#define CMP_R_ERROR_VALIDATING_PROTECTION 140
-#define CMP_R_ERROR_VALIDATING_SIGNATURE 171
-#define CMP_R_EXPECTED_POLLREQ 104
-#define CMP_R_FAILED_BUILDING_OWN_CHAIN 164
-#define CMP_R_FAILED_EXTRACTING_CENTRAL_GEN_KEY 203
-#define CMP_R_FAILED_EXTRACTING_PUBKEY 141
-#define CMP_R_FAILURE_OBTAINING_RANDOM 110
-#define CMP_R_FAIL_INFO_OUT_OF_RANGE 129
-#define CMP_R_GENERATE_CERTREQTEMPLATE 197
-#define CMP_R_GENERATE_CRLSTATUS 198
-#define CMP_R_GETTING_GENP 192
-#define CMP_R_GET_ITAV 199
-#define CMP_R_INVALID_ARGS 100
-#define CMP_R_INVALID_GENP 193
-#define CMP_R_INVALID_KEYSPEC 202
-#define CMP_R_INVALID_OPTION 174
-#define CMP_R_INVALID_ROOTCAKEYUPDATE 195
-#define CMP_R_MISSING_CENTRAL_GEN_KEY 204
-#define CMP_R_MISSING_CERTID 165
-#define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130
-#define CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE 142
-#define CMP_R_MISSING_P10CSR 121
-#define CMP_R_MISSING_PBM_SECRET 166
-#define CMP_R_MISSING_PRIVATE_KEY 131
-#define CMP_R_MISSING_PRIVATE_KEY_FOR_POPO 190
-#define CMP_R_MISSING_PROTECTION 143
-#define CMP_R_MISSING_PUBLIC_KEY 183
-#define CMP_R_MISSING_REFERENCE_CERT 168
-#define CMP_R_MISSING_SECRET 178
-#define CMP_R_MISSING_SENDER_IDENTIFICATION 111
-#define CMP_R_MISSING_TRUST_ANCHOR 179
-#define CMP_R_MISSING_TRUST_STORE 144
-#define CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED 161
-#define CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED 170
-#define CMP_R_MULTIPLE_SAN_SOURCES 102
-#define CMP_R_NO_STDIO 194
-#define CMP_R_NO_SUITABLE_SENDER_CERT 145
-#define CMP_R_NULL_ARGUMENT 103
-#define CMP_R_PKIBODY_ERROR 146
-#define CMP_R_PKISTATUSINFO_NOT_FOUND 132
-#define CMP_R_POLLING_FAILED 172
-#define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 147
-#define CMP_R_RECEIVED_ERROR 180
-#define CMP_R_RECIPNONCE_UNMATCHED 148
-#define CMP_R_REQUEST_NOT_ACCEPTED 149
-#define CMP_R_REQUEST_REJECTED_BY_SERVER 182
-#define CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED 150
-#define CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG 151
-#define CMP_R_TOTAL_TIMEOUT 184
-#define CMP_R_TRANSACTIONID_UNMATCHED 152
-#define CMP_R_TRANSFER_ERROR 159
-#define CMP_R_UNCLEAN_CTX 191
-#define CMP_R_UNEXPECTED_CENTRAL_GEN_KEY 205
-#define CMP_R_UNEXPECTED_CERTPROFILE 196
-#define CMP_R_UNEXPECTED_CRLSTATUSLIST 201
-#define CMP_R_UNEXPECTED_PKIBODY 133
-#define CMP_R_UNEXPECTED_PKISTATUS 185
-#define CMP_R_UNEXPECTED_POLLREQ 105
-#define CMP_R_UNEXPECTED_PVNO 153
-#define CMP_R_UNEXPECTED_SENDER 106
-#define CMP_R_UNKNOWN_ALGORITHM_ID 134
-#define CMP_R_UNKNOWN_CERT_TYPE 135
-#define CMP_R_UNKNOWN_CRL_ISSUER 200
-#define CMP_R_UNKNOWN_PKISTATUS 186
-#define CMP_R_UNSUPPORTED_ALGORITHM 136
-#define CMP_R_UNSUPPORTED_KEY_TYPE 137
-#define CMP_R_UNSUPPORTED_PKIBODY 101
-#define CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC 154
-#define CMP_R_VALUE_TOO_LARGE 175
-#define CMP_R_VALUE_TOO_SMALL 177
-#define CMP_R_WRONG_ALGORITHM_OID 138
-#define CMP_R_WRONG_CERTID 189
-#define CMP_R_WRONG_CERTID_IN_RP 187
-#define CMP_R_WRONG_PBM_VALUE 155
-#define CMP_R_WRONG_RP_COMPONENT_COUNT 188
-#define CMP_R_WRONG_SERIAL_IN_RP 173
-
-#endif
-#endif
diff --git a/include/openssl/cmserr.h b/include/openssl/cmserr.h
deleted file mode 100644
index 49c22c2bddb..00000000000
--- a/include/openssl/cmserr.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CMSERR_H
-#define OPENSSL_CMSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_CMS
-
-/*
- * CMS reason codes.
- */
-#define CMS_R_ADD_SIGNER_ERROR 99
-#define CMS_R_ATTRIBUTE_ERROR 161
-#define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
-#define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
-#define CMS_R_CERTIFICATE_VERIFY_ERROR 100
-#define CMS_R_CIPHER_AEAD_IN_ENVELOPED_DATA 200
-#define CMS_R_CIPHER_AEAD_SET_TAG_ERROR 184
-#define CMS_R_CIPHER_GET_TAG 185
-#define CMS_R_CIPHER_INITIALISATION_ERROR 101
-#define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
-#define CMS_R_CMS_DATAFINAL_ERROR 103
-#define CMS_R_CMS_LIB 104
-#define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
-#define CMS_R_CONTENT_NOT_FOUND 105
-#define CMS_R_CONTENT_TYPE_MISMATCH 171
-#define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
-#define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
-#define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
-#define CMS_R_CONTENT_VERIFY_ERROR 109
-#define CMS_R_CTRL_ERROR 110
-#define CMS_R_CTRL_FAILURE 111
-#define CMS_R_DECODE_ERROR 187
-#define CMS_R_DECRYPT_ERROR 112
-#define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
-#define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
-#define CMS_R_ERROR_SETTING_KEY 115
-#define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
-#define CMS_R_ERROR_UNSUPPORTED_STATIC_KEY_AGREEMENT 196
-#define CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR 183
-#define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
-#define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
-#define CMS_R_INVALID_KEY_LENGTH 118
-#define CMS_R_INVALID_LABEL 190
-#define CMS_R_INVALID_OAEP_PARAMETERS 191
-#define CMS_R_KDF_PARAMETER_ERROR 186
-#define CMS_R_MD_BIO_INIT_ERROR 119
-#define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
-#define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
-#define CMS_R_MSGSIGDIGEST_ERROR 172
-#define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
-#define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
-#define CMS_R_NEED_ONE_SIGNER 164
-#define CMS_R_NOT_A_SIGNED_RECEIPT 165
-#define CMS_R_NOT_ENCRYPTED_DATA 122
-#define CMS_R_NOT_KEK 123
-#define CMS_R_NOT_KEM 197
-#define CMS_R_NOT_KEY_AGREEMENT 181
-#define CMS_R_NOT_KEY_TRANSPORT 124
-#define CMS_R_NOT_PWRI 177
-#define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
-#define CMS_R_NO_CIPHER 126
-#define CMS_R_NO_CONTENT 127
-#define CMS_R_NO_CONTENT_TYPE 173
-#define CMS_R_NO_DEFAULT_DIGEST 128
-#define CMS_R_NO_DIGEST_SET 129
-#define CMS_R_NO_KEY 130
-#define CMS_R_NO_KEY_OR_CERT 174
-#define CMS_R_NO_MATCHING_DIGEST 131
-#define CMS_R_NO_MATCHING_RECIPIENT 132
-#define CMS_R_NO_MATCHING_SIGNATURE 166
-#define CMS_R_NO_MSGSIGDIGEST 167
-#define CMS_R_NO_PASSWORD 178
-#define CMS_R_NO_PRIVATE_KEY 133
-#define CMS_R_NO_PUBLIC_KEY 134
-#define CMS_R_NO_RECEIPT_REQUEST 168
-#define CMS_R_NO_SIGNERS 135
-#define CMS_R_OPERATION_UNSUPPORTED 182
-#define CMS_R_PEER_KEY_ERROR 188
-#define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
-#define CMS_R_RECEIPT_DECODE_ERROR 169
-#define CMS_R_RECIPIENT_ERROR 137
-#define CMS_R_SHARED_INFO_ERROR 189
-#define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
-#define CMS_R_SIGNFINAL_ERROR 139
-#define CMS_R_SMIME_TEXT_ERROR 140
-#define CMS_R_STORE_INIT_ERROR 141
-#define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
-#define CMS_R_TYPE_NOT_DATA 143
-#define CMS_R_TYPE_NOT_DIGESTED_DATA 144
-#define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
-#define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
-#define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
-#define CMS_R_UNKNOWN_CIPHER 148
-#define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
-#define CMS_R_UNKNOWN_ID 150
-#define CMS_R_UNKNOWN_KDF_ALGORITHM 198
-#define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
-#define CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM 194
-#define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
-#define CMS_R_UNSUPPORTED_ENCRYPTION_TYPE 192
-#define CMS_R_UNSUPPORTED_KDF_ALGORITHM 199
-#define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
-#define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
-#define CMS_R_UNSUPPORTED_LABEL_SOURCE 193
-#define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
-#define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
-#define CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM 195
-#define CMS_R_UNSUPPORTED_TYPE 156
-#define CMS_R_UNWRAP_ERROR 157
-#define CMS_R_UNWRAP_FAILURE 180
-#define CMS_R_VERIFICATION_FAILURE 158
-#define CMS_R_WRAP_ERROR 159
-
-#endif
-#endif
diff --git a/include/openssl/comperr.h b/include/openssl/comperr.h
deleted file mode 100644
index 90ec7c1144b..00000000000
--- a/include/openssl/comperr.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_COMPERR_H
-#define OPENSSL_COMPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_COMP
-
-/*
- * COMP reason codes.
- */
-#define COMP_R_BROTLI_DECODE_ERROR 102
-#define COMP_R_BROTLI_ENCODE_ERROR 103
-#define COMP_R_BROTLI_NOT_SUPPORTED 104
-#define COMP_R_ZLIB_DEFLATE_ERROR 99
-#define COMP_R_ZLIB_INFLATE_ERROR 100
-#define COMP_R_ZLIB_NOT_SUPPORTED 101
-#define COMP_R_ZSTD_COMPRESS_ERROR 105
-#define COMP_R_ZSTD_DECODE_ERROR 106
-#define COMP_R_ZSTD_DECOMPRESS_ERROR 107
-#define COMP_R_ZSTD_NOT_SUPPORTED 108
-
-#endif
-#endif
diff --git a/include/openssl/conferr.h b/include/openssl/conferr.h
deleted file mode 100644
index 0b984dd65d4..00000000000
--- a/include/openssl/conferr.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CONFERR_H
-#define OPENSSL_CONFERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * CONF reason codes.
- */
-#define CONF_R_ERROR_LOADING_DSO 110
-#define CONF_R_INVALID_PRAGMA 122
-#define CONF_R_LIST_CANNOT_BE_NULL 115
-#define CONF_R_MANDATORY_BRACES_IN_VARIABLE_EXPANSION 123
-#define CONF_R_MISSING_CLOSE_SQUARE_BRACKET 100
-#define CONF_R_MISSING_EQUAL_SIGN 101
-#define CONF_R_MISSING_INIT_FUNCTION 112
-#define CONF_R_MODULE_INITIALIZATION_ERROR 109
-#define CONF_R_NO_CLOSE_BRACE 102
-#define CONF_R_NO_CONF 105
-#define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE 106
-#define CONF_R_NO_SECTION 107
-#define CONF_R_NO_SUCH_FILE 114
-#define CONF_R_NO_VALUE 108
-#define CONF_R_NUMBER_TOO_LARGE 121
-#define CONF_R_OPENSSL_CONF_REFERENCES_MISSING_SECTION 124
-#define CONF_R_RECURSIVE_DIRECTORY_INCLUDE 111
-#define CONF_R_RECURSIVE_SECTION_REFERENCE 126
-#define CONF_R_RELATIVE_PATH 125
-#define CONF_R_SSL_COMMAND_SECTION_EMPTY 117
-#define CONF_R_SSL_COMMAND_SECTION_NOT_FOUND 118
-#define CONF_R_SSL_SECTION_EMPTY 119
-#define CONF_R_SSL_SECTION_NOT_FOUND 120
-#define CONF_R_UNABLE_TO_CREATE_NEW_SECTION 103
-#define CONF_R_UNKNOWN_MODULE_NAME 113
-#define CONF_R_VARIABLE_EXPANSION_TOO_LONG 116
-#define CONF_R_VARIABLE_HAS_NO_VALUE 104
-
-#endif
diff --git a/include/openssl/crmferr.h b/include/openssl/crmferr.h
deleted file mode 100644
index dd957e9d04a..00000000000
--- a/include/openssl/crmferr.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CRMFERR_H
-#define OPENSSL_CRMFERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_CRMF
-
-/*
- * CRMF reason codes.
- */
-#define CRMF_R_BAD_PBM_ITERATIONCOUNT 100
-#define CRMF_R_CMS_NOT_SUPPORTED 122
-#define CRMF_R_CRMFERROR 102
-#define CRMF_R_ERROR 103
-#define CRMF_R_ERROR_DECODING_CERTIFICATE 104
-#define CRMF_R_ERROR_DECODING_ENCRYPTEDKEY 123
-#define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105
-#define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDKEY 124
-#define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDVALUE 125
-#define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106
-#define CRMF_R_ERROR_SETTING_PURPOSE 126
-#define CRMF_R_ERROR_SIGNING_POPO 129
-#define CRMF_R_ERROR_VERIFYING_ENCRYPTEDKEY 127
-#define CRMF_R_FAILURE_OBTAINING_RANDOM 107
-#define CRMF_R_ITERATIONCOUNT_BELOW_100 108
-#define CRMF_R_MALFORMED_IV 101
-#define CRMF_R_NULL_ARGUMENT 109
-#define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113
-#define CRMF_R_POPO_INCONSISTENT_CENTRAL_KEYGEN 128
-#define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117
-#define CRMF_R_POPO_MISSING 121
-#define CRMF_R_POPO_MISSING_PUBLIC_KEY 118
-#define CRMF_R_POPO_MISSING_SUBJECT 119
-#define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120
-#define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110
-#define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111
-#define CRMF_R_UNSUPPORTED_ALGORITHM 112
-#define CRMF_R_UNSUPPORTED_CIPHER 114
-#define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115
-#define CRMF_R_UNSUPPORTED_POPO_METHOD 116
-
-#endif
-#endif
diff --git a/include/openssl/cryptoerr.h b/include/openssl/cryptoerr.h
deleted file mode 100644
index 626e3e9be57..00000000000
--- a/include/openssl/cryptoerr.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2024 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CRYPTOERR_H
-#define OPENSSL_CRYPTOERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * CRYPTO reason codes.
- */
-#define CRYPTO_R_BAD_ALGORITHM_NAME 117
-#define CRYPTO_R_CONFLICTING_NAMES 118
-#define CRYPTO_R_HEX_STRING_TOO_SHORT 121
-#define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
-#define CRYPTO_R_INSUFFICIENT_DATA_SPACE 106
-#define CRYPTO_R_INSUFFICIENT_PARAM_SIZE 107
-#define CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE 108
-#define CRYPTO_R_INTEGER_OVERFLOW 127
-#define CRYPTO_R_INVALID_NEGATIVE_VALUE 122
-#define CRYPTO_R_INVALID_NULL_ARGUMENT 109
-#define CRYPTO_R_INVALID_OSSL_PARAM_TYPE 110
-#define CRYPTO_R_NO_PARAMS_TO_MERGE 131
-#define CRYPTO_R_NO_SPACE_FOR_TERMINATING_NULL 128
-#define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
-#define CRYPTO_R_PARAM_CANNOT_BE_REPRESENTED_EXACTLY 123
-#define CRYPTO_R_PARAM_NOT_INTEGER_TYPE 124
-#define CRYPTO_R_PARAM_OF_INCOMPATIBLE_TYPE 129
-#define CRYPTO_R_PARAM_UNSIGNED_INTEGER_NEGATIVE_VALUE_UNSUPPORTED 125
-#define CRYPTO_R_PARAM_UNSUPPORTED_FLOATING_POINT_FORMAT 130
-#define CRYPTO_R_PARAM_VALUE_TOO_LARGE_FOR_DESTINATION 126
-#define CRYPTO_R_PROVIDER_ALREADY_EXISTS 104
-#define CRYPTO_R_PROVIDER_SECTION_ERROR 105
-#define CRYPTO_R_RANDOM_SECTION_ERROR 119
-#define CRYPTO_R_SECURE_MALLOC_FAILURE 111
-#define CRYPTO_R_STRING_TOO_LONG 112
-#define CRYPTO_R_TOO_MANY_BYTES 113
-#define CRYPTO_R_TOO_MANY_NAMES 132
-#define CRYPTO_R_TOO_MANY_RECORDS 114
-#define CRYPTO_R_TOO_SMALL_BUFFER 116
-#define CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION 120
-#define CRYPTO_R_ZERO_LENGTH_NUMBER 115
-
-#endif
diff --git a/include/openssl/cterr.h b/include/openssl/cterr.h
deleted file mode 100644
index 950b7b388cc..00000000000
--- a/include/openssl/cterr.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_CTERR_H
-#define OPENSSL_CTERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_CT
-
-/*
- * CT reason codes.
- */
-#define CT_R_BASE64_DECODE_ERROR 108
-#define CT_R_INVALID_LOG_ID_LENGTH 100
-#define CT_R_LOG_CONF_INVALID 109
-#define CT_R_LOG_CONF_INVALID_KEY 110
-#define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
-#define CT_R_LOG_CONF_MISSING_KEY 112
-#define CT_R_LOG_KEY_INVALID 113
-#define CT_R_SCT_FUTURE_TIMESTAMP 116
-#define CT_R_SCT_INVALID 104
-#define CT_R_SCT_INVALID_SIGNATURE 107
-#define CT_R_SCT_LIST_INVALID 105
-#define CT_R_SCT_LOG_ID_MISMATCH 114
-#define CT_R_SCT_NOT_SET 106
-#define CT_R_SCT_UNSUPPORTED_VERSION 115
-#define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
-#define CT_R_UNSUPPORTED_ENTRY_TYPE 102
-#define CT_R_UNSUPPORTED_VERSION 103
-
-#endif
-#endif
diff --git a/include/openssl/decodererr.h b/include/openssl/decodererr.h
deleted file mode 100644
index 5fdeace4f97..00000000000
--- a/include/openssl/decodererr.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_DECODERERR_H
-#define OPENSSL_DECODERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * OSSL_DECODER reason codes.
- */
-#define OSSL_DECODER_R_COULD_NOT_DECODE_OBJECT 101
-#define OSSL_DECODER_R_DECODER_NOT_FOUND 102
-#define OSSL_DECODER_R_MISSING_GET_PARAMS 100
-
-#endif
diff --git a/include/openssl/dherr.h b/include/openssl/dherr.h
deleted file mode 100644
index 753659be16f..00000000000
--- a/include/openssl/dherr.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_DHERR_H
-#define OPENSSL_DHERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_DH
-
-/*
- * DH reason codes.
- */
-#define DH_R_BAD_FFC_PARAMETERS 127
-#define DH_R_BAD_GENERATOR 101
-#define DH_R_BN_DECODE_ERROR 109
-#define DH_R_BN_ERROR 106
-#define DH_R_CHECK_INVALID_J_VALUE 115
-#define DH_R_CHECK_INVALID_Q_VALUE 116
-#define DH_R_CHECK_PUBKEY_INVALID 122
-#define DH_R_CHECK_PUBKEY_TOO_LARGE 123
-#define DH_R_CHECK_PUBKEY_TOO_SMALL 124
-#define DH_R_CHECK_P_NOT_PRIME 117
-#define DH_R_CHECK_P_NOT_SAFE_PRIME 118
-#define DH_R_CHECK_Q_NOT_PRIME 119
-#define DH_R_DECODE_ERROR 104
-#define DH_R_INVALID_PARAMETER_NAME 110
-#define DH_R_INVALID_PARAMETER_NID 114
-#define DH_R_INVALID_PUBKEY 102
-#define DH_R_INVALID_SECRET 128
-#define DH_R_INVALID_SIZE 129
-#define DH_R_KDF_PARAMETER_ERROR 112
-#define DH_R_KEYS_NOT_SET 108
-#define DH_R_MISSING_PUBKEY 125
-#define DH_R_MODULUS_TOO_LARGE 103
-#define DH_R_MODULUS_TOO_SMALL 126
-#define DH_R_NOT_SUITABLE_GENERATOR 120
-#define DH_R_NO_PARAMETERS_SET 107
-#define DH_R_NO_PRIVATE_VALUE 100
-#define DH_R_PARAMETER_ENCODING_ERROR 105
-#define DH_R_PEER_KEY_ERROR 111
-#define DH_R_Q_TOO_LARGE 130
-#define DH_R_SHARED_INFO_ERROR 113
-#define DH_R_UNABLE_TO_CHECK_GENERATOR 121
-
-#endif
-#endif
diff --git a/include/openssl/dsaerr.h b/include/openssl/dsaerr.h
deleted file mode 100644
index cc5f4bfbb7c..00000000000
--- a/include/openssl/dsaerr.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_DSAERR_H
-#define OPENSSL_DSAERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_DSA
-
-/*
- * DSA reason codes.
- */
-#define DSA_R_BAD_FFC_PARAMETERS 114
-#define DSA_R_BAD_Q_VALUE 102
-#define DSA_R_BN_DECODE_ERROR 108
-#define DSA_R_BN_ERROR 109
-#define DSA_R_DECODE_ERROR 104
-#define DSA_R_INVALID_DIGEST_TYPE 106
-#define DSA_R_INVALID_PARAMETERS 112
-#define DSA_R_MISSING_PARAMETERS 101
-#define DSA_R_MISSING_PRIVATE_KEY 111
-#define DSA_R_MODULUS_TOO_LARGE 103
-#define DSA_R_NO_PARAMETERS_SET 107
-#define DSA_R_PARAMETER_ENCODING_ERROR 105
-#define DSA_R_P_NOT_PRIME 115
-#define DSA_R_Q_NOT_PRIME 113
-#define DSA_R_SEED_LEN_SMALL 110
-#define DSA_R_TOO_MANY_RETRIES 116
-
-#endif
-#endif
diff --git a/include/openssl/ecerr.h b/include/openssl/ecerr.h
deleted file mode 100644
index e4d26aa1115..00000000000
--- a/include/openssl/ecerr.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2023 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_ECERR_H
-#define OPENSSL_ECERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_EC
-
-/*
- * EC reason codes.
- */
-#define EC_R_ASN1_ERROR 115
-#define EC_R_BAD_SIGNATURE 156
-#define EC_R_BIGNUM_OUT_OF_RANGE 144
-#define EC_R_BUFFER_TOO_SMALL 100
-#define EC_R_CANNOT_INVERT 165
-#define EC_R_COORDINATES_OUT_OF_RANGE 146
-#define EC_R_CURVE_DOES_NOT_SUPPORT_ECDH 160
-#define EC_R_CURVE_DOES_NOT_SUPPORT_ECDSA 170
-#define EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING 159
-#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_EXPLICIT_PARAMS_NOT_SUPPORTED 127
-#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
-#define EC_R_I2D_ECPKPARAMETERS_FAILURE 121
-#define EC_R_INCOMPATIBLE_OBJECTS 101
-#define EC_R_INVALID_A 168
-#define EC_R_INVALID_ARGUMENT 112
-#define EC_R_INVALID_B 169
-#define EC_R_INVALID_COFACTOR 171
-#define EC_R_INVALID_COMPRESSED_POINT 110
-#define EC_R_INVALID_COMPRESSION_BIT 109
-#define EC_R_INVALID_CURVE 141
-#define EC_R_INVALID_DIGEST 151
-#define EC_R_INVALID_DIGEST_TYPE 138
-#define EC_R_INVALID_ENCODING 102
-#define EC_R_INVALID_FIELD 103
-#define EC_R_INVALID_FORM 104
-#define EC_R_INVALID_GENERATOR 173
-#define EC_R_INVALID_GROUP_ORDER 122
-#define EC_R_INVALID_KEY 116
-#define EC_R_INVALID_LENGTH 117
-#define EC_R_INVALID_NAMED_GROUP_CONVERSION 174
-#define EC_R_INVALID_OUTPUT_LENGTH 161
-#define EC_R_INVALID_P 172
-#define EC_R_INVALID_PEER_KEY 133
-#define EC_R_INVALID_PENTANOMIAL_BASIS 132
-#define EC_R_INVALID_PRIVATE_KEY 123
-#define EC_R_INVALID_SEED 175
-#define EC_R_INVALID_TRINOMIAL_BASIS 137
-#define EC_R_KDF_PARAMETER_ERROR 148
-#define EC_R_KEYS_NOT_SET 140
-#define EC_R_LADDER_POST_FAILURE 136
-#define EC_R_LADDER_PRE_FAILURE 153
-#define EC_R_LADDER_STEP_FAILURE 162
-#define EC_R_MISSING_OID 167
-#define EC_R_MISSING_PARAMETERS 124
-#define EC_R_MISSING_PRIVATE_KEY 125
-#define EC_R_NEED_NEW_SETUP_VALUES 157
-#define EC_R_NOT_A_NIST_PRIME 135
-#define EC_R_NOT_IMPLEMENTED 126
-#define EC_R_NOT_INITIALIZED 111
-#define EC_R_NO_PARAMETERS_SET 139
-#define EC_R_NO_PRIVATE_VALUE 154
-#define EC_R_OPERATION_NOT_SUPPORTED 152
-#define EC_R_PASSED_NULL_PARAMETER 134
-#define EC_R_PEER_KEY_ERROR 149
-#define EC_R_POINT_ARITHMETIC_FAILURE 155
-#define EC_R_POINT_AT_INFINITY 106
-#define EC_R_POINT_COORDINATES_BLIND_FAILURE 163
-#define EC_R_POINT_IS_NOT_ON_CURVE 107
-#define EC_R_RANDOM_NUMBER_GENERATION_FAILED 158
-#define EC_R_SHARED_INFO_ERROR 150
-#define EC_R_SLOT_FULL 108
-#define EC_R_TOO_MANY_RETRIES 176
-#define EC_R_UNDEFINED_GENERATOR 113
-#define EC_R_UNDEFINED_ORDER 128
-#define EC_R_UNKNOWN_COFACTOR 164
-#define EC_R_UNKNOWN_GROUP 129
-#define EC_R_UNKNOWN_ORDER 114
-#define EC_R_UNSUPPORTED_FIELD 131
-#define EC_R_WRONG_CURVE_PARAMETERS 145
-#define EC_R_WRONG_ORDER 130
-
-#endif
-#endif
diff --git a/include/openssl/encodererr.h b/include/openssl/encodererr.h
deleted file mode 100644
index b895b6be322..00000000000
--- a/include/openssl/encodererr.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_ENCODERERR_H
-#define OPENSSL_ENCODERERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * OSSL_ENCODER reason codes.
- */
-#define OSSL_ENCODER_R_BAD_PARAMETER_VALUE 103
-#define OSSL_ENCODER_R_ENCODER_NOT_FOUND 101
-#define OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY 100
-#define OSSL_ENCODER_R_MISSING_GET_PARAMS 102
-#define OSSL_ENCODER_R_UNKNOWN_PARAMETER_NAME 104
-
-#endif
diff --git a/include/openssl/esserr.h b/include/openssl/esserr.h
deleted file mode 100644
index 46881293cb0..00000000000
--- a/include/openssl/esserr.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_ESSERR_H
-#define OPENSSL_ESSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * ESS reason codes.
- */
-#define ESS_R_EMPTY_ESS_CERT_ID_LIST 107
-#define ESS_R_ESS_CERT_DIGEST_ERROR 103
-#define ESS_R_ESS_CERT_ID_NOT_FOUND 104
-#define ESS_R_ESS_CERT_ID_WRONG_ORDER 105
-#define ESS_R_ESS_DIGEST_ALG_UNKNOWN 106
-#define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR 102
-#define ESS_R_ESS_SIGNING_CERT_ADD_ERROR 100
-#define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR 101
-#define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE 108
-
-#endif
diff --git a/include/openssl/evperr.h b/include/openssl/evperr.h
deleted file mode 100644
index b3d2cb04efa..00000000000
--- a/include/openssl/evperr.h
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_EVPERR_H
-#define OPENSSL_EVPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * EVP reason codes.
- */
-#define EVP_R_AES_KEY_SETUP_FAILED 143
-#define EVP_R_ARIA_KEY_SETUP_FAILED 176
-#define EVP_R_BAD_ALGORITHM_NAME 200
-#define EVP_R_BAD_DECRYPT 100
-#define EVP_R_BAD_KEY_LENGTH 195
-#define EVP_R_BUFFER_TOO_SMALL 155
-#define EVP_R_CACHE_CONSTANTS_FAILED 225
-#define EVP_R_CAMELLIA_KEY_SETUP_FAILED 157
-#define EVP_R_CANNOT_GET_PARAMETERS 197
-#define EVP_R_CANNOT_SET_PARAMETERS 198
-#define EVP_R_CIPHER_NOT_GCM_MODE 184
-#define EVP_R_CIPHER_PARAMETER_ERROR 122
-#define EVP_R_COMMAND_NOT_SUPPORTED 147
-#define EVP_R_CONFLICTING_ALGORITHM_NAME 201
-#define EVP_R_CONTEXT_FINALIZED 239
-#define EVP_R_COPY_ERROR 173
-#define EVP_R_CTRL_NOT_IMPLEMENTED 132
-#define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED 133
-#define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH 138
-#define EVP_R_DECODE_ERROR 114
-#define EVP_R_DEFAULT_QUERY_PARSE_ERROR 210
-#define EVP_R_DIFFERENT_KEY_TYPES 101
-#define EVP_R_DIFFERENT_PARAMETERS 153
-#define EVP_R_ERROR_LOADING_SECTION 165
-#define EVP_R_EXPECTING_AN_HMAC_KEY 174
-#define EVP_R_EXPECTING_AN_RSA_KEY 127
-#define EVP_R_EXPECTING_A_DH_KEY 128
-#define EVP_R_EXPECTING_A_DSA_KEY 129
-#define EVP_R_EXPECTING_A_ECX_KEY 219
-#define EVP_R_EXPECTING_A_EC_KEY 142
-#define EVP_R_EXPECTING_A_POLY1305_KEY 164
-#define EVP_R_EXPECTING_A_SIPHASH_KEY 175
-#define EVP_R_FINAL_ERROR 188
-#define EVP_R_GENERATE_ERROR 214
-#define EVP_R_GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED 229
-#define EVP_R_GET_RAW_KEY_FAILED 182
-#define EVP_R_ILLEGAL_SCRYPT_PARAMETERS 171
-#define EVP_R_INACCESSIBLE_DOMAIN_PARAMETERS 204
-#define EVP_R_INACCESSIBLE_KEY 203
-#define EVP_R_INITIALIZATION_ERROR 134
-#define EVP_R_INPUT_NOT_INITIALIZED 111
-#define EVP_R_INVALID_CUSTOM_LENGTH 185
-#define EVP_R_INVALID_DIGEST 152
-#define EVP_R_INVALID_IV_LENGTH 194
-#define EVP_R_INVALID_KEY 163
-#define EVP_R_INVALID_KEY_LENGTH 130
-#define EVP_R_INVALID_LENGTH 221
-#define EVP_R_INVALID_NULL_ALGORITHM 218
-#define EVP_R_INVALID_OPERATION 148
-#define EVP_R_INVALID_PROVIDER_FUNCTIONS 193
-#define EVP_R_INVALID_SALT_LENGTH 186
-#define EVP_R_INVALID_SECRET_LENGTH 223
-#define EVP_R_INVALID_SEED_LENGTH 220
-#define EVP_R_INVALID_VALUE 222
-#define EVP_R_KEYMGMT_EXPORT_FAILURE 205
-#define EVP_R_KEY_SETUP_FAILED 180
-#define EVP_R_LOCKING_NOT_SUPPORTED 213
-#define EVP_R_MEMORY_LIMIT_EXCEEDED 172
-#define EVP_R_MESSAGE_DIGEST_IS_NULL 159
-#define EVP_R_METHOD_NOT_SUPPORTED 144
-#define EVP_R_MISSING_PARAMETERS 103
-#define EVP_R_NOT_ABLE_TO_COPY_CTX 190
-#define EVP_R_NOT_XOF_OR_INVALID_LENGTH 178
-#define EVP_R_NO_CIPHER_SET 131
-#define EVP_R_NO_DEFAULT_DIGEST 158
-#define EVP_R_NO_DIGEST_SET 139
-#define EVP_R_NO_IMPORT_FUNCTION 206
-#define EVP_R_NO_KEYMGMT_AVAILABLE 199
-#define EVP_R_NO_KEYMGMT_PRESENT 196
-#define EVP_R_NO_KEY_SET 154
-#define EVP_R_NO_OPERATION_SET 149
-#define EVP_R_NULL_MAC_PKEY_CTX 208
-#define EVP_R_ONLY_ONESHOT_SUPPORTED 177
-#define EVP_R_OPERATION_NOT_INITIALIZED 151
-#define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
-#define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE 226
-#define EVP_R_OUTPUT_WOULD_OVERFLOW 202
-#define EVP_R_PARAMETER_TOO_LARGE 187
-#define EVP_R_PARTIALLY_OVERLAPPING 162
-#define EVP_R_PBKDF2_ERROR 181
-#define EVP_R_PIPELINE_NOT_SUPPORTED 230
-#define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
-#define EVP_R_PRIVATE_KEY_DECODE_ERROR 145
-#define EVP_R_PRIVATE_KEY_ENCODE_ERROR 146
-#define EVP_R_PROVIDER_ASYM_CIPHER_FAILURE 232
-#define EVP_R_PROVIDER_ASYM_CIPHER_NOT_SUPPORTED 235
-#define EVP_R_PROVIDER_GET_CTX_PARAMS_NOT_SUPPORTED 238
-#define EVP_R_PROVIDER_KEYMGMT_FAILURE 233
-#define EVP_R_PROVIDER_KEYMGMT_NOT_SUPPORTED 236
-#define EVP_R_PROVIDER_SIGNATURE_FAILURE 234
-#define EVP_R_PROVIDER_SIGNATURE_NOT_SUPPORTED 237
-#define EVP_R_PUBLIC_KEY_NOT_RSA 106
-#define EVP_R_SETTING_XOF_FAILED 227
-#define EVP_R_SET_DEFAULT_PROPERTY_FAILURE 209
-#define EVP_R_SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE 228
-#define EVP_R_TOO_MANY_PIPES 231
-#define EVP_R_TOO_MANY_RECORDS 183
-#define EVP_R_UNABLE_TO_ENABLE_LOCKING 212
-#define EVP_R_UNABLE_TO_GET_MAXIMUM_REQUEST_SIZE 215
-#define EVP_R_UNABLE_TO_GET_RANDOM_STRENGTH 216
-#define EVP_R_UNABLE_TO_LOCK_CONTEXT 211
-#define EVP_R_UNABLE_TO_SET_CALLBACKS 217
-#define EVP_R_UNKNOWN_BITS 166
-#define EVP_R_UNKNOWN_CIPHER 160
-#define EVP_R_UNKNOWN_DIGEST 161
-#define EVP_R_UNKNOWN_KEY_TYPE 207
-#define EVP_R_UNKNOWN_MAX_SIZE 167
-#define EVP_R_UNKNOWN_OPTION 169
-#define EVP_R_UNKNOWN_PBE_ALGORITHM 121
-#define EVP_R_UNKNOWN_SECURITY_BITS 168
-#define EVP_R_UNSUPPORTED_ALGORITHM 156
-#define EVP_R_UNSUPPORTED_CIPHER 107
-#define EVP_R_UNSUPPORTED_KEYLENGTH 123
-#define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION 124
-#define EVP_R_UNSUPPORTED_KEY_SIZE 108
-#define EVP_R_UNSUPPORTED_KEY_TYPE 224
-#define EVP_R_UNSUPPORTED_NUMBER_OF_ROUNDS 135
-#define EVP_R_UNSUPPORTED_PRF 125
-#define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM 118
-#define EVP_R_UNSUPPORTED_SALT_TYPE 126
-#define EVP_R_UPDATE_ERROR 189
-#define EVP_R_WRAP_MODE_NOT_ALLOWED 170
-#define EVP_R_WRONG_FINAL_BLOCK_LENGTH 109
-#define EVP_R_XTS_DATA_UNIT_IS_TOO_LARGE 191
-#define EVP_R_XTS_DUPLICATED_KEYS 192
-
-#endif
diff --git a/include/openssl/httperr.h b/include/openssl/httperr.h
deleted file mode 100644
index 4c1cc6ad6bf..00000000000
--- a/include/openssl/httperr.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_HTTPERR_H
-#define OPENSSL_HTTPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * HTTP reason codes.
- */
-#define HTTP_R_ASN1_LEN_EXCEEDS_MAX_RESP_LEN 108
-#define HTTP_R_CONNECT_FAILURE 100
-#define HTTP_R_CONTENT_TYPE_MISMATCH 131
-#define HTTP_R_ERROR_PARSING_ASN1_LENGTH 109
-#define HTTP_R_ERROR_PARSING_CONTENT_LENGTH 119
-#define HTTP_R_ERROR_PARSING_URL 101
-#define HTTP_R_ERROR_RECEIVING 103
-#define HTTP_R_ERROR_SENDING 102
-#define HTTP_R_FAILED_READING_DATA 128
-#define HTTP_R_HEADER_PARSE_ERROR 126
-#define HTTP_R_INCONSISTENT_CONTENT_LENGTH 120
-#define HTTP_R_INVALID_PORT_NUMBER 123
-#define HTTP_R_INVALID_URL_PATH 125
-#define HTTP_R_INVALID_URL_SCHEME 124
-#define HTTP_R_MAX_RESP_LEN_EXCEEDED 117
-#define HTTP_R_MISSING_ASN1_ENCODING 110
-#define HTTP_R_MISSING_CONTENT_TYPE 121
-#define HTTP_R_MISSING_REDIRECT_LOCATION 111
-#define HTTP_R_RECEIVED_ERROR 105
-#define HTTP_R_RECEIVED_WRONG_HTTP_VERSION 106
-#define HTTP_R_REDIRECTION_FROM_HTTPS_TO_HTTP 112
-#define HTTP_R_REDIRECTION_NOT_ENABLED 116
-#define HTTP_R_RESPONSE_LINE_TOO_LONG 113
-#define HTTP_R_RESPONSE_PARSE_ERROR 104
-#define HTTP_R_RESPONSE_TOO_MANY_HDRLINES 130
-#define HTTP_R_RETRY_TIMEOUT 129
-#define HTTP_R_SERVER_CANCELED_CONNECTION 127
-#define HTTP_R_SOCK_NOT_SUPPORTED 122
-#define HTTP_R_STATUS_CODE_UNSUPPORTED 114
-#define HTTP_R_TLS_NOT_ENABLED 107
-#define HTTP_R_TOO_MANY_REDIRECTIONS 115
-#define HTTP_R_UNEXPECTED_CONTENT_TYPE 118
-
-#endif
diff --git a/include/openssl/objectserr.h b/include/openssl/objectserr.h
deleted file mode 100644
index 2927561135f..00000000000
--- a/include/openssl/objectserr.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_OBJECTSERR_H
-#define OPENSSL_OBJECTSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * OBJ reason codes.
- */
-#define OBJ_R_OID_EXISTS 102
-#define OBJ_R_UNKNOWN_NID 101
-#define OBJ_R_UNKNOWN_OBJECT_NAME 103
-
-#endif
diff --git a/include/openssl/ocsperr.h b/include/openssl/ocsperr.h
deleted file mode 100644
index 18e035e8a4e..00000000000
--- a/include/openssl/ocsperr.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_OCSPERR_H
-#define OPENSSL_OCSPERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_OCSP
-
-/*
- * OCSP reason codes.
- */
-#define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
-#define OCSP_R_DIGEST_ERR 102
-#define OCSP_R_DIGEST_NAME_ERR 106
-#define OCSP_R_DIGEST_SIZE_ERR 107
-#define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
-#define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
-#define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
-#define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
-#define OCSP_R_NOT_BASIC_RESPONSE 104
-#define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
-#define OCSP_R_NO_RESPONSE_DATA 108
-#define OCSP_R_NO_REVOKED_TIME 109
-#define OCSP_R_NO_SIGNER_KEY 130
-#define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
-#define OCSP_R_REQUEST_NOT_SIGNED 128
-#define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
-#define OCSP_R_ROOT_CA_NOT_TRUSTED 112
-#define OCSP_R_SIGNATURE_FAILURE 117
-#define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
-#define OCSP_R_STATUS_EXPIRED 125
-#define OCSP_R_STATUS_NOT_YET_VALID 126
-#define OCSP_R_STATUS_TOO_OLD 127
-#define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
-#define OCSP_R_UNKNOWN_NID 120
-#define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
-
-#endif
-#endif
diff --git a/include/openssl/pemerr.h b/include/openssl/pemerr.h
deleted file mode 100644
index eb3c9a1d94f..00000000000
--- a/include/openssl/pemerr.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_PEMERR_H
-#define OPENSSL_PEMERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * PEM reason codes.
- */
-#define PEM_R_BAD_BASE64_DECODE 100
-#define PEM_R_BAD_DECRYPT 101
-#define PEM_R_BAD_END_LINE 102
-#define PEM_R_BAD_IV_CHARS 103
-#define PEM_R_BAD_MAGIC_NUMBER 116
-#define PEM_R_BAD_PASSWORD_READ 104
-#define PEM_R_BAD_VERSION_NUMBER 117
-#define PEM_R_BIO_WRITE_FAILURE 118
-#define PEM_R_CIPHER_IS_NULL 127
-#define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115
-#define PEM_R_EXPECTING_DSS_KEY_BLOB 131
-#define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119
-#define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120
-#define PEM_R_EXPECTING_RSA_KEY_BLOB 132
-#define PEM_R_HEADER_TOO_LONG 128
-#define PEM_R_INCONSISTENT_HEADER 121
-#define PEM_R_KEYBLOB_HEADER_PARSE_ERROR 122
-#define PEM_R_KEYBLOB_TOO_SHORT 123
-#define PEM_R_MISSING_DEK_IV 129
-#define PEM_R_NOT_DEK_INFO 105
-#define PEM_R_NOT_ENCRYPTED 106
-#define PEM_R_NOT_PROC_TYPE 107
-#define PEM_R_NO_START_LINE 108
-#define PEM_R_PROBLEMS_GETTING_PASSWORD 109
-#define PEM_R_PVK_DATA_TOO_SHORT 124
-#define PEM_R_PVK_TOO_SHORT 125
-#define PEM_R_READ_KEY 111
-#define PEM_R_SHORT_HEADER 112
-#define PEM_R_UNEXPECTED_DEK_IV 130
-#define PEM_R_UNSUPPORTED_CIPHER 113
-#define PEM_R_UNSUPPORTED_ENCRYPTION 114
-#define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
-#define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110
-#define PEM_R_UNSUPPORTED_PVK_KEY_TYPE 133
-
-#endif
diff --git a/include/openssl/pkcs12err.h b/include/openssl/pkcs12err.h
deleted file mode 100644
index 6e35f335c4d..00000000000
--- a/include/openssl/pkcs12err.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_PKCS12ERR_H
-#define OPENSSL_PKCS12ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * PKCS12 reason codes.
- */
-#define PKCS12_R_CALLBACK_FAILED 115
-#define PKCS12_R_CANT_PACK_STRUCTURE 100
-#define PKCS12_R_CONTENT_TYPE_NOT_DATA 121
-#define PKCS12_R_DECODE_ERROR 101
-#define PKCS12_R_ENCODE_ERROR 102
-#define PKCS12_R_ENCRYPT_ERROR 103
-#define PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE 120
-#define PKCS12_R_INVALID_NULL_ARGUMENT 104
-#define PKCS12_R_INVALID_NULL_PKCS12_POINTER 105
-#define PKCS12_R_INVALID_SALT_LENGTH 117
-#define PKCS12_R_INVALID_TYPE 112
-#define PKCS12_R_IV_GEN_ERROR 106
-#define PKCS12_R_KEY_GEN_ERROR 107
-#define PKCS12_R_MAC_ABSENT 108
-#define PKCS12_R_MAC_GENERATION_ERROR 109
-#define PKCS12_R_MAC_SETUP_ERROR 110
-#define PKCS12_R_MAC_STRING_SET_ERROR 111
-#define PKCS12_R_MAC_VERIFY_FAILURE 113
-#define PKCS12_R_PARSE_ERROR 114
-#define PKCS12_R_PKCS12_CIPHERFINAL_ERROR 116
-#define PKCS12_R_UNKNOWN_DIGEST_ALGORITHM 118
-#define PKCS12_R_UNSUPPORTED_PKCS12_MODE 119
-
-#endif
diff --git a/include/openssl/pkcs7err.h b/include/openssl/pkcs7err.h
deleted file mode 100644
index 358fe1018fb..00000000000
--- a/include/openssl/pkcs7err.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_PKCS7ERR_H
-#define OPENSSL_PKCS7ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * PKCS7 reason codes.
- */
-#define PKCS7_R_CERTIFICATE_VERIFY_ERROR 117
-#define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 144
-#define PKCS7_R_CIPHER_NOT_INITIALIZED 116
-#define PKCS7_R_CONTENT_AND_DATA_PRESENT 118
-#define PKCS7_R_CTRL_ERROR 152
-#define PKCS7_R_DECRYPT_ERROR 119
-#define PKCS7_R_DIGEST_FAILURE 101
-#define PKCS7_R_ENCRYPTION_CTRL_FAILURE 149
-#define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 150
-#define PKCS7_R_ERROR_ADDING_RECIPIENT 120
-#define PKCS7_R_ERROR_SETTING_CIPHER 121
-#define PKCS7_R_INVALID_NULL_POINTER 143
-#define PKCS7_R_INVALID_SIGNED_DATA_TYPE 155
-#define PKCS7_R_NO_CONTENT 122
-#define PKCS7_R_NO_DEFAULT_DIGEST 151
-#define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 154
-#define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 115
-#define PKCS7_R_NO_SIGNATURES_ON_DATA 123
-#define PKCS7_R_NO_SIGNERS 142
-#define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 104
-#define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 124
-#define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 153
-#define PKCS7_R_PKCS7_DATASIGN 145
-#define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 127
-#define PKCS7_R_SIGNATURE_FAILURE 105
-#define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 128
-#define PKCS7_R_SIGNING_CTRL_FAILURE 147
-#define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 148
-#define PKCS7_R_SMIME_TEXT_ERROR 129
-#define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 106
-#define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 107
-#define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 108
-#define PKCS7_R_UNKNOWN_DIGEST_TYPE 109
-#define PKCS7_R_UNKNOWN_OPERATION 110
-#define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 111
-#define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 112
-#define PKCS7_R_WRONG_CONTENT_TYPE 113
-#define PKCS7_R_WRONG_PKCS7_TYPE 114
-
-#endif
diff --git a/include/openssl/proverr.h b/include/openssl/proverr.h
deleted file mode 100644
index 34bd02af9d0..00000000000
--- a/include/openssl/proverr.h
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_PROVERR_H
-#define OPENSSL_PROVERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * PROV reason codes.
- */
-#define PROV_R_ADDITIONAL_INPUT_TOO_LONG 184
-#define PROV_R_ALGORITHM_MISMATCH 173
-#define PROV_R_ALREADY_INSTANTIATED 185
-#define PROV_R_BAD_DECRYPT 100
-#define PROV_R_BAD_ENCODING 141
-#define PROV_R_BAD_LENGTH 142
-#define PROV_R_BAD_TLS_CLIENT_VERSION 161
-#define PROV_R_BN_ERROR 160
-#define PROV_R_CIPHER_OPERATION_FAILED 102
-#define PROV_R_COFACTOR_REQUIRED 236
-#define PROV_R_DERIVATION_FUNCTION_INIT_FAILED 205
-#define PROV_R_DIGEST_NOT_ALLOWED 174
-#define PROV_R_EMS_NOT_ENABLED 233
-#define PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS 244
-#define PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK 186
-#define PROV_R_ERROR_INSTANTIATING_DRBG 188
-#define PROV_R_ERROR_RETRIEVING_ENTROPY 189
-#define PROV_R_ERROR_RETRIEVING_NONCE 190
-#define PROV_R_FAILED_DURING_DERIVATION 164
-#define PROV_R_FAILED_TO_CREATE_LOCK 180
-#define PROV_R_FAILED_TO_DECRYPT 162
-#define PROV_R_FAILED_TO_GENERATE_KEY 121
-#define PROV_R_FAILED_TO_GET_PARAMETER 103
-#define PROV_R_FAILED_TO_SET_PARAMETER 104
-#define PROV_R_FAILED_TO_SIGN 175
-#define PROV_R_FINAL_CALL_OUT_OF_ORDER 237
-#define PROV_R_FIPS_MODULE_CONDITIONAL_ERROR 227
-#define PROV_R_FIPS_MODULE_ENTERING_ERROR_STATE 224
-#define PROV_R_FIPS_MODULE_IMPORT_PCT_ERROR 253
-#define PROV_R_FIPS_MODULE_IN_ERROR_STATE 225
-#define PROV_R_FIPS_MODULE_MISSING_CHECKSUM 267
-#define PROV_R_GENERATE_ERROR 191
-#define PROV_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 165
-#define PROV_R_INDICATOR_INTEGRITY_FAILURE 210
-#define PROV_R_INIT_CALL_OUT_OF_ORDER 238
-#define PROV_R_INSUFFICIENT_DRBG_STRENGTH 181
-#define PROV_R_INVALID_AAD 108
-#define PROV_R_INVALID_AEAD 231
-#define PROV_R_INVALID_CIPHER 260
-#define PROV_R_INVALID_CONFIG_DATA 211
-#define PROV_R_INVALID_CONSTANT_LENGTH 157
-#define PROV_R_INVALID_CURVE 176
-#define PROV_R_INVALID_CUSTOM_LENGTH 111
-#define PROV_R_INVALID_DATA 115
-#define PROV_R_INVALID_DIGEST 122
-#define PROV_R_INVALID_DIGEST_LENGTH 166
-#define PROV_R_INVALID_DIGEST_SIZE 218
-#define PROV_R_INVALID_EDDSA_INSTANCE_FOR_ATTEMPTED_OPERATION 243
-#define PROV_R_INVALID_FUNCTION_NAME 258
-#define PROV_R_INVALID_INDEX_LENGTH 259
-#define PROV_R_INVALID_INPUT_LENGTH 230
-#define PROV_R_INVALID_ITERATION_COUNT 123
-#define PROV_R_INVALID_IV_LENGTH 109
-#define PROV_R_INVALID_KDF 232
-#define PROV_R_INVALID_KDR 256
-#define PROV_R_INVALID_KEY 158
-#define PROV_R_INVALID_KEY_LENGTH 105
-#define PROV_R_INVALID_LABEL 257
-#define PROV_R_INVALID_MAC 151
-#define PROV_R_INVALID_MEMORY_SIZE 235
-#define PROV_R_INVALID_MGF1_MD 167
-#define PROV_R_INVALID_MODE 125
-#define PROV_R_INVALID_NONCE_LENGTH 264
-#define PROV_R_INVALID_OUTPUT_LENGTH 217
-#define PROV_R_INVALID_PADDING_MODE 168
-#define PROV_R_INVALID_PARAMETERS_FOR_DKM 261
-#define PROV_R_INVALID_PREHASHED_DIGEST_LENGTH 241
-#define PROV_R_INVALID_PUBINFO 198
-#define PROV_R_INVALID_SALT_LENGTH 112
-#define PROV_R_INVALID_SECRET_LENGTH 265
-#define PROV_R_INVALID_SEED_LENGTH 154
-#define PROV_R_INVALID_SIGNATURE_SIZE 179
-#define PROV_R_INVALID_STATE 212
-#define PROV_R_INVALID_TAG 110
-#define PROV_R_INVALID_TAG_LENGTH 118
-#define PROV_R_INVALID_THREAD_POOL_SIZE 234
-#define PROV_R_INVALID_UKM_LENGTH 200
-#define PROV_R_INVALID_X931_DIGEST 170
-#define PROV_R_IN_ERROR_STATE 192
-#define PROV_R_KEY_IMMUTABLE_ONCE_SET 266
-#define PROV_R_KEY_SETUP_FAILED 101
-#define PROV_R_KEY_SIZE_TOO_SMALL 171
-#define PROV_R_LENGTH_TOO_LARGE 202
-#define PROV_R_MISMATCHING_DOMAIN_PARAMETERS 203
-#define PROV_R_MISSING_CEK_ALG 144
-#define PROV_R_MISSING_CIPHER 155
-#define PROV_R_MISSING_CONFIG_DATA 213
-#define PROV_R_MISSING_CONSTANT 156
-#define PROV_R_MISSING_DKM 262
-#define PROV_R_MISSING_EID 255
-#define PROV_R_MISSING_KEY 128
-#define PROV_R_MISSING_MAC 150
-#define PROV_R_MISSING_MESSAGE_DIGEST 129
-#define PROV_R_MISSING_NONCE 263
-#define PROV_R_MISSING_OID 209
-#define PROV_R_MISSING_PASS 130
-#define PROV_R_MISSING_SALT 131
-#define PROV_R_MISSING_SECRET 132
-#define PROV_R_MISSING_SEED 140
-#define PROV_R_MISSING_SESSION_ID 133
-#define PROV_R_MISSING_TYPE 134
-#define PROV_R_MISSING_XCGHASH 135
-#define PROV_R_ML_DSA_NO_FORMAT 245
-#define PROV_R_ML_KEM_NO_FORMAT 246
-#define PROV_R_MODULE_INTEGRITY_FAILURE 214
-#define PROV_R_NOT_A_PRIVATE_KEY 221
-#define PROV_R_NOT_A_PUBLIC_KEY 220
-#define PROV_R_NOT_INSTANTIATED 193
-#define PROV_R_NOT_PARAMETERS 226
-#define PROV_R_NOT_SUPPORTED 136
-#define PROV_R_NOT_XOF_OR_INVALID_LENGTH 113
-#define PROV_R_NO_INSTANCE_ALLOWED 242
-#define PROV_R_NO_KEY_SET 114
-#define PROV_R_NO_PARAMETERS_SET 177
-#define PROV_R_NULL_LENGTH_POINTER 247
-#define PROV_R_NULL_OUTPUT_BUFFER 248
-#define PROV_R_ONESHOT_CALL_OUT_OF_ORDER 239
-#define PROV_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 178
-#define PROV_R_OUTPUT_BUFFER_TOO_SMALL 106
-#define PROV_R_PARENT_CANNOT_GENERATE_RANDOM_NUMBERS 228
-#define PROV_R_PARENT_CANNOT_SUPPLY_ENTROPY_SEED 187
-#define PROV_R_PARENT_LOCKING_NOT_ENABLED 182
-#define PROV_R_PARENT_STRENGTH_TOO_WEAK 194
-#define PROV_R_PASSWORD_STRENGTH_TOO_WEAK 254
-#define PROV_R_PATH_MUST_BE_ABSOLUTE 219
-#define PROV_R_PERSONALISATION_STRING_TOO_LONG 195
-#define PROV_R_PSS_SALTLEN_TOO_SMALL 172
-#define PROV_R_REPEATED_PARAMETER 252
-#define PROV_R_REQUEST_TOO_LARGE_FOR_DRBG 196
-#define PROV_R_REQUIRE_CTR_MODE_CIPHER 206
-#define PROV_R_RESEED_ERROR 197
-#define PROV_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 222
-#define PROV_R_SEED_SOURCES_MUST_NOT_HAVE_A_PARENT 229
-#define PROV_R_SELF_TEST_KAT_FAILURE 215
-#define PROV_R_SELF_TEST_POST_FAILURE 216
-#define PROV_R_TAG_NOT_NEEDED 120
-#define PROV_R_TAG_NOT_SET 119
-#define PROV_R_TOO_MANY_RECORDS 126
-#define PROV_R_UNABLE_TO_FIND_CIPHERS 207
-#define PROV_R_UNABLE_TO_GET_PARENT_STRENGTH 199
-#define PROV_R_UNABLE_TO_GET_PASSPHRASE 159
-#define PROV_R_UNABLE_TO_INITIALISE_CIPHERS 208
-#define PROV_R_UNABLE_TO_LOAD_SHA256 147
-#define PROV_R_UNABLE_TO_LOCK_PARENT 201
-#define PROV_R_UNABLE_TO_RESEED 204
-#define PROV_R_UNEXPECTED_KEY_PARAMETERS 249
-#define PROV_R_UNSUPPORTED_CEK_ALG 145
-#define PROV_R_UNSUPPORTED_KEY_SIZE 153
-#define PROV_R_UNSUPPORTED_MAC_TYPE 137
-#define PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS 152
-#define PROV_R_UNSUPPORTED_SELECTION 250
-#define PROV_R_UPDATE_CALL_OUT_OF_ORDER 240
-#define PROV_R_URI_AUTHORITY_UNSUPPORTED 223
-#define PROV_R_VALUE_ERROR 138
-#define PROV_R_WRONG_CIPHERTEXT_SIZE 251
-#define PROV_R_WRONG_FINAL_BLOCK_LENGTH 107
-#define PROV_R_WRONG_OUTPUT_BUFFER_SIZE 139
-#define PROV_R_XOF_DIGESTS_NOT_ALLOWED 183
-#define PROV_R_XTS_DATA_UNIT_IS_TOO_LARGE 148
-#define PROV_R_XTS_DUPLICATED_KEYS 149
-
-#endif
diff --git a/include/openssl/randerr.h b/include/openssl/randerr.h
deleted file mode 100644
index 6107cdd4816..00000000000
--- a/include/openssl/randerr.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2024 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_RANDERR_H
-#define OPENSSL_RANDERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * RAND reason codes.
- */
-#define RAND_R_ADDITIONAL_INPUT_TOO_LONG 102
-#define RAND_R_ALREADY_INSTANTIATED 103
-#define RAND_R_ARGUMENT_OUT_OF_RANGE 105
-#define RAND_R_CANNOT_OPEN_FILE 121
-#define RAND_R_DRBG_ALREADY_INITIALIZED 129
-#define RAND_R_DRBG_NOT_INITIALISED 104
-#define RAND_R_ENTROPY_INPUT_TOO_LONG 106
-#define RAND_R_ENTROPY_OUT_OF_RANGE 124
-#define RAND_R_ERROR_ENTROPY_POOL_WAS_IGNORED 127
-#define RAND_R_ERROR_INITIALISING_DRBG 107
-#define RAND_R_ERROR_INSTANTIATING_DRBG 108
-#define RAND_R_ERROR_RETRIEVING_ADDITIONAL_INPUT 109
-#define RAND_R_ERROR_RETRIEVING_ENTROPY 110
-#define RAND_R_ERROR_RETRIEVING_NONCE 111
-#define RAND_R_FAILED_TO_CREATE_LOCK 126
-#define RAND_R_FUNC_NOT_IMPLEMENTED 101
-#define RAND_R_FWRITE_ERROR 123
-#define RAND_R_GENERATE_ERROR 112
-#define RAND_R_INSUFFICIENT_DRBG_STRENGTH 139
-#define RAND_R_INTERNAL_ERROR 113
-#define RAND_R_INVALID_PROPERTY_QUERY 137
-#define RAND_R_IN_ERROR_STATE 114
-#define RAND_R_NOT_A_REGULAR_FILE 122
-#define RAND_R_NOT_INSTANTIATED 115
-#define RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED 128
-#define RAND_R_PARENT_LOCKING_NOT_ENABLED 130
-#define RAND_R_PARENT_STRENGTH_TOO_WEAK 131
-#define RAND_R_PERSONALISATION_STRING_TOO_LONG 116
-#define RAND_R_PREDICTION_RESISTANCE_NOT_SUPPORTED 133
-#define RAND_R_PRNG_NOT_SEEDED 100
-#define RAND_R_RANDOM_POOL_IS_EMPTY 142
-#define RAND_R_RANDOM_POOL_OVERFLOW 125
-#define RAND_R_RANDOM_POOL_UNDERFLOW 134
-#define RAND_R_REQUEST_TOO_LARGE_FOR_DRBG 117
-#define RAND_R_RESEED_ERROR 118
-#define RAND_R_SELFTEST_FAILURE 119
-#define RAND_R_TOO_LITTLE_NONCE_REQUESTED 135
-#define RAND_R_TOO_MUCH_NONCE_REQUESTED 136
-#define RAND_R_UNABLE_TO_CREATE_DRBG 143
-#define RAND_R_UNABLE_TO_FETCH_DRBG 144
-#define RAND_R_UNABLE_TO_GET_PARENT_RESEED_PROP_COUNTER 141
-#define RAND_R_UNABLE_TO_GET_PARENT_STRENGTH 138
-#define RAND_R_UNABLE_TO_LOCK_PARENT 140
-#define RAND_R_UNSUPPORTED_DRBG_FLAGS 132
-#define RAND_R_UNSUPPORTED_DRBG_TYPE 120
-
-#endif
diff --git a/include/openssl/rsaerr.h b/include/openssl/rsaerr.h
deleted file mode 100644
index 781e3331326..00000000000
--- a/include/openssl/rsaerr.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_RSAERR_H
-#define OPENSSL_RSAERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * RSA reason codes.
- */
-#define RSA_R_ALGORITHM_MISMATCH 100
-#define RSA_R_BAD_E_VALUE 101
-#define RSA_R_BAD_FIXED_HEADER_DECRYPT 102
-#define RSA_R_BAD_PAD_BYTE_COUNT 103
-#define RSA_R_BAD_SIGNATURE 104
-#define RSA_R_BLOCK_TYPE_IS_NOT_01 106
-#define RSA_R_BLOCK_TYPE_IS_NOT_02 107
-#define RSA_R_DATA_GREATER_THAN_MOD_LEN 108
-#define RSA_R_DATA_TOO_LARGE 109
-#define RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 110
-#define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 132
-#define RSA_R_DATA_TOO_SMALL 111
-#define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 122
-#define RSA_R_DIGEST_DOES_NOT_MATCH 158
-#define RSA_R_DIGEST_NOT_ALLOWED 145
-#define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 112
-#define RSA_R_DMP1_NOT_CONGRUENT_TO_D 124
-#define RSA_R_DMQ1_NOT_CONGRUENT_TO_D 125
-#define RSA_R_D_E_NOT_CONGRUENT_TO_1 123
-#define RSA_R_FIRST_OCTET_INVALID 133
-#define RSA_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 144
-#define RSA_R_INVALID_DIGEST 157
-#define RSA_R_INVALID_DIGEST_LENGTH 143
-#define RSA_R_INVALID_HEADER 137
-#define RSA_R_INVALID_KEYPAIR 171
-#define RSA_R_INVALID_KEY_LENGTH 173
-#define RSA_R_INVALID_LABEL 160
-#define RSA_R_INVALID_LENGTH 181
-#define RSA_R_INVALID_MESSAGE_LENGTH 131
-#define RSA_R_INVALID_MGF1_MD 156
-#define RSA_R_INVALID_MODULUS 174
-#define RSA_R_INVALID_MULTI_PRIME_KEY 167
-#define RSA_R_INVALID_OAEP_PARAMETERS 161
-#define RSA_R_INVALID_PADDING 138
-#define RSA_R_INVALID_PADDING_MODE 141
-#define RSA_R_INVALID_PSS_PARAMETERS 149
-#define RSA_R_INVALID_PSS_SALTLEN 146
-#define RSA_R_INVALID_REQUEST 175
-#define RSA_R_INVALID_SALT_LENGTH 150
-#define RSA_R_INVALID_STRENGTH 176
-#define RSA_R_INVALID_TRAILER 139
-#define RSA_R_INVALID_X931_DIGEST 142
-#define RSA_R_IQMP_NOT_INVERSE_OF_Q 126
-#define RSA_R_KEY_PRIME_NUM_INVALID 165
-#define RSA_R_KEY_SIZE_TOO_SMALL 120
-#define RSA_R_LAST_OCTET_INVALID 134
-#define RSA_R_MGF1_DIGEST_NOT_ALLOWED 152
-#define RSA_R_MISSING_PRIVATE_KEY 179
-#define RSA_R_MODULUS_TOO_LARGE 105
-#define RSA_R_MP_COEFFICIENT_NOT_INVERSE_OF_R 168
-#define RSA_R_MP_EXPONENT_NOT_CONGRUENT_TO_D 169
-#define RSA_R_MP_R_NOT_PRIME 170
-#define RSA_R_NO_PUBLIC_EXPONENT 140
-#define RSA_R_NULL_BEFORE_BLOCK_MISSING 113
-#define RSA_R_N_DOES_NOT_EQUAL_PRODUCT_OF_PRIMES 172
-#define RSA_R_N_DOES_NOT_EQUAL_P_Q 127
-#define RSA_R_OAEP_DECODING_ERROR 121
-#define RSA_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 148
-#define RSA_R_PADDING_CHECK_FAILED 114
-#define RSA_R_PAIRWISE_TEST_FAILURE 177
-#define RSA_R_PKCS_DECODING_ERROR 159
-#define RSA_R_PSS_SALTLEN_TOO_SMALL 164
-#define RSA_R_PUB_EXPONENT_OUT_OF_RANGE 178
-#define RSA_R_P_NOT_PRIME 128
-#define RSA_R_Q_NOT_PRIME 129
-#define RSA_R_RANDOMNESS_SOURCE_STRENGTH_INSUFFICIENT 180
-#define RSA_R_RSA_OPERATIONS_NOT_SUPPORTED 130
-#define RSA_R_SLEN_CHECK_FAILED 136
-#define RSA_R_SLEN_RECOVERY_FAILED 135
-#define RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 116
-#define RSA_R_UNKNOWN_ALGORITHM_TYPE 117
-#define RSA_R_UNKNOWN_DIGEST 166
-#define RSA_R_UNKNOWN_MASK_DIGEST 151
-#define RSA_R_UNKNOWN_PADDING_TYPE 118
-#define RSA_R_UNSUPPORTED_ENCRYPTION_TYPE 162
-#define RSA_R_UNSUPPORTED_LABEL_SOURCE 163
-#define RSA_R_UNSUPPORTED_MASK_ALGORITHM 153
-#define RSA_R_UNSUPPORTED_MASK_PARAMETER 154
-#define RSA_R_UNSUPPORTED_SIGNATURE_TYPE 155
-#define RSA_R_VALUE_MISSING 147
-#define RSA_R_WRONG_SIGNATURE_LENGTH 119
-
-#endif
diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h
deleted file mode 100644
index 6ae701dba06..00000000000
--- a/include/openssl/sslerr.h
+++ /dev/null
@@ -1,381 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_SSLERR_H
-#define OPENSSL_SSLERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/sslerr_legacy.h>
-
-/*
- * SSL reason codes.
- */
-#define SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY 291
-#define SSL_R_APP_DATA_IN_HANDSHAKE 100
-#define SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT 272
-#define SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE 158
-#define SSL_R_BAD_CERTIFICATE 348
-#define SSL_R_BAD_CHANGE_CIPHER_SPEC 103
-#define SSL_R_BAD_CIPHER 186
-#define SSL_R_BAD_COMPRESSION_ALGORITHM 326
-#define SSL_R_BAD_DATA 390
-#define SSL_R_BAD_DATA_RETURNED_BY_CALLBACK 106
-#define SSL_R_BAD_DECOMPRESSION 107
-#define SSL_R_BAD_DH_VALUE 102
-#define SSL_R_BAD_DIGEST_LENGTH 111
-#define SSL_R_BAD_EARLY_DATA 233
-#define SSL_R_BAD_ECC_CERT 304
-#define SSL_R_BAD_ECHCONFIG_EXTENSION 425
-#define SSL_R_BAD_ECPOINT 306
-#define SSL_R_BAD_EXTENSION 110
-#define SSL_R_BAD_HANDSHAKE_LENGTH 332
-#define SSL_R_BAD_HANDSHAKE_STATE 236
-#define SSL_R_BAD_HELLO_REQUEST 105
-#define SSL_R_BAD_HRR_VERSION 263
-#define SSL_R_BAD_KEY_SHARE 108
-#define SSL_R_BAD_KEY_UPDATE 122
-#define SSL_R_BAD_LEGACY_VERSION 292
-#define SSL_R_BAD_LENGTH 271
-#define SSL_R_BAD_PACKET 240
-#define SSL_R_BAD_PACKET_LENGTH 115
-#define SSL_R_BAD_PROTOCOL_VERSION_NUMBER 116
-#define SSL_R_BAD_PSK 219
-#define SSL_R_BAD_PSK_IDENTITY 114
-#define SSL_R_BAD_RECORD_TYPE 443
-#define SSL_R_BAD_RSA_ENCRYPT 119
-#define SSL_R_BAD_SIGNATURE 123
-#define SSL_R_BAD_SRP_A_LENGTH 347
-#define SSL_R_BAD_SRP_PARAMETERS 371
-#define SSL_R_BAD_SRTP_MKI_VALUE 352
-#define SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST 353
-#define SSL_R_BAD_SSL_FILETYPE 124
-#define SSL_R_BAD_VALUE 384
-#define SSL_R_BAD_WRITE_RETRY 127
-#define SSL_R_BINDER_DOES_NOT_VERIFY 253
-#define SSL_R_BIO_NOT_SET 128
-#define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG 129
-#define SSL_R_BN_LIB 130
-#define SSL_R_CALLBACK_FAILED 234
-#define SSL_R_CANNOT_CHANGE_CIPHER 109
-#define SSL_R_CANNOT_GET_GROUP_NAME 299
-#define SSL_R_CA_DN_LENGTH_MISMATCH 131
-#define SSL_R_CA_KEY_TOO_SMALL 397
-#define SSL_R_CA_MD_TOO_WEAK 398
-#define SSL_R_CCS_RECEIVED_EARLY 133
-#define SSL_R_CERTIFICATE_VERIFY_FAILED 134
-#define SSL_R_CERT_CB_ERROR 377
-#define SSL_R_CERT_LENGTH_MISMATCH 135
-#define SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED 218
-#define SSL_R_CIPHER_CODE_WRONG_LENGTH 137
-#define SSL_R_CLIENTHELLO_TLSEXT 226
-#define SSL_R_COMPRESSED_LENGTH_TOO_LONG 140
-#define SSL_R_COMPRESSION_DISABLED 343
-#define SSL_R_COMPRESSION_FAILURE 141
-#define SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE 307
-#define SSL_R_COMPRESSION_LIBRARY_ERROR 142
-#define SSL_R_CONNECTION_TYPE_NOT_SET 144
-#define SSL_R_CONN_USE_ONLY 356
-#define SSL_R_CONTEXT_NOT_DANE_ENABLED 167
-#define SSL_R_COOKIE_GEN_CALLBACK_FAILURE 400
-#define SSL_R_COOKIE_MISMATCH 308
-#define SSL_R_COPY_PARAMETERS_FAILED 296
-#define SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED 206
-#define SSL_R_DANE_ALREADY_ENABLED 172
-#define SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL 173
-#define SSL_R_DANE_NOT_ENABLED 175
-#define SSL_R_DANE_TLSA_BAD_CERTIFICATE 180
-#define SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE 184
-#define SSL_R_DANE_TLSA_BAD_DATA_LENGTH 189
-#define SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH 192
-#define SSL_R_DANE_TLSA_BAD_MATCHING_TYPE 200
-#define SSL_R_DANE_TLSA_BAD_PUBLIC_KEY 201
-#define SSL_R_DANE_TLSA_BAD_SELECTOR 202
-#define SSL_R_DANE_TLSA_NULL_DATA 203
-#define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED 145
-#define SSL_R_DATA_LENGTH_TOO_LONG 146
-#define SSL_R_DECRYPTION_FAILED 147
-#define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC 281
-#define SSL_R_DH_KEY_TOO_SMALL 394
-#define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 148
-#define SSL_R_DIGEST_CHECK_FAILED 149
-#define SSL_R_DOMAIN_USE_ONLY 422
-#define SSL_R_DTLS_MESSAGE_TOO_BIG 334
-#define SSL_R_DUPLICATE_COMPRESSION_ID 309
-#define SSL_R_ECC_CERT_NOT_FOR_SIGNING 318
-#define SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE 374
-#define SSL_R_ECH_DECODE_ERROR 426
-#define SSL_R_ECH_REQUIRED 424
-#define SSL_R_EE_KEY_TOO_SMALL 399
-#define SSL_R_EMPTY_RAW_PUBLIC_KEY 349
-#define SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST 354
-#define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 150
-#define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 151
-#define SSL_R_ERROR_IN_SYSTEM_DEFAULT_CONFIG 419
-#define SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN 204
-#define SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE 194
-#define SSL_R_EXCESSIVE_MESSAGE_SIZE 152
-#define SSL_R_EXTENSION_NOT_RECEIVED 279
-#define SSL_R_EXTRA_DATA_IN_MESSAGE 153
-#define SSL_R_EXT_LENGTH_MISMATCH 163
-#define SSL_R_FAILED_TO_GET_PARAMETER 316
-#define SSL_R_FAILED_TO_INIT_ASYNC 405
-#define SSL_R_FEATURE_NEGOTIATION_NOT_COMPLETE 417
-#define SSL_R_FEATURE_NOT_RENEGOTIABLE 413
-#define SSL_R_FRAGMENTED_CLIENT_HELLO 401
-#define SSL_R_GOT_A_FIN_BEFORE_A_CCS 154
-#define SSL_R_HTTPS_PROXY_REQUEST 155
-#define SSL_R_HTTP_REQUEST 156
-#define SSL_R_ILLEGAL_POINT_COMPRESSION 162
-#define SSL_R_ILLEGAL_SUITEB_DIGEST 380
-#define SSL_R_INAPPROPRIATE_FALLBACK 373
-#define SSL_R_INCONSISTENT_COMPRESSION 340
-#define SSL_R_INCONSISTENT_EARLY_DATA_ALPN 222
-#define SSL_R_INCONSISTENT_EARLY_DATA_SNI 231
-#define SSL_R_INCONSISTENT_EXTMS 104
-#define SSL_R_INSUFFICIENT_SECURITY 241
-#define SSL_R_INVALID_ALERT 205
-#define SSL_R_INVALID_CCS_MESSAGE 260
-#define SSL_R_INVALID_CERTIFICATE_OR_ALG 238
-#define SSL_R_INVALID_COMMAND 280
-#define SSL_R_INVALID_COMPRESSION_ALGORITHM 341
-#define SSL_R_INVALID_CONFIG 283
-#define SSL_R_INVALID_CONFIGURATION_NAME 113
-#define SSL_R_INVALID_CONTEXT 282
-#define SSL_R_INVALID_CT_VALIDATION_TYPE 212
-#define SSL_R_INVALID_KEY_UPDATE_TYPE 120
-#define SSL_R_INVALID_MAX_EARLY_DATA 174
-#define SSL_R_INVALID_NULL_CMD_NAME 385
-#define SSL_R_INVALID_RAW_PUBLIC_KEY 350
-#define SSL_R_INVALID_RECORD 317
-#define SSL_R_INVALID_SEQUENCE_NUMBER 402
-#define SSL_R_INVALID_SERVERINFO_DATA 388
-#define SSL_R_INVALID_SESSION_ID 999
-#define SSL_R_INVALID_SRP_USERNAME 357
-#define SSL_R_INVALID_STATUS_RESPONSE 328
-#define SSL_R_INVALID_TICKET_KEYS_LENGTH 325
-#define SSL_R_LEGACY_SIGALG_DISALLOWED_OR_UNSUPPORTED 333
-#define SSL_R_LENGTH_MISMATCH 159
-#define SSL_R_LENGTH_TOO_LONG 404
-#define SSL_R_LENGTH_TOO_SHORT 160
-#define SSL_R_LIBRARY_BUG 274
-#define SSL_R_LIBRARY_HAS_NO_CIPHERS 161
-#define SSL_R_LISTENER_USE_ONLY 421
-#define SSL_R_MAXIMUM_ENCRYPTED_PKTS_REACHED 395
-#define SSL_R_MISSING_DSA_SIGNING_CERT 165
-#define SSL_R_MISSING_ECDSA_SIGNING_CERT 381
-#define SSL_R_MISSING_FATAL 256
-#define SSL_R_MISSING_PARAMETERS 290
-#define SSL_R_MISSING_PSK_KEX_MODES_EXTENSION 310
-#define SSL_R_MISSING_QUIC_TLS_FUNCTIONS 423
-#define SSL_R_MISSING_RSA_CERTIFICATE 168
-#define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169
-#define SSL_R_MISSING_RSA_SIGNING_CERT 170
-#define SSL_R_MISSING_SIGALGS_EXTENSION 112
-#define SSL_R_MISSING_SIGNING_CERT 221
-#define SSL_R_MISSING_SRP_PARAM 358
-#define SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION 209
-#define SSL_R_MISSING_SUPPORTED_VERSIONS_EXTENSION 420
-#define SSL_R_MISSING_TMP_DH_KEY 171
-#define SSL_R_MISSING_TMP_ECDH_KEY 311
-#define SSL_R_MIXED_HANDSHAKE_AND_NON_HANDSHAKE_DATA 293
-#define SSL_R_NOT_ON_RECORD_BOUNDARY 182
-#define SSL_R_NOT_REPLACING_CERTIFICATE 289
-#define SSL_R_NOT_SERVER 284
-#define SSL_R_NO_APPLICATION_PROTOCOL 235
-#define SSL_R_NO_CERTIFICATES_RETURNED 176
-#define SSL_R_NO_CERTIFICATE_ASSIGNED 177
-#define SSL_R_NO_CERTIFICATE_SET 179
-#define SSL_R_NO_CHANGE_FOLLOWING_HRR 214
-#define SSL_R_NO_CIPHERS_AVAILABLE 181
-#define SSL_R_NO_CIPHERS_SPECIFIED 183
-#define SSL_R_NO_CIPHER_MATCH 185
-#define SSL_R_NO_CLIENT_CERT_METHOD 331
-#define SSL_R_NO_COMPRESSION_SPECIFIED 187
-#define SSL_R_NO_COOKIE_CALLBACK_SET 287
-#define SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER 330
-#define SSL_R_NO_METHOD_SPECIFIED 188
-#define SSL_R_NO_PEM_EXTENSIONS 389
-#define SSL_R_NO_PRIVATE_KEY_ASSIGNED 190
-#define SSL_R_NO_PROTOCOLS_AVAILABLE 191
-#define SSL_R_NO_RENEGOTIATION 339
-#define SSL_R_NO_REQUIRED_DIGEST 324
-#define SSL_R_NO_SHARED_CIPHER 193
-#define SSL_R_NO_SHARED_GROUPS 410
-#define SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS 376
-#define SSL_R_NO_SRTP_PROFILES 359
-#define SSL_R_NO_STREAM 355
-#define SSL_R_NO_SUITABLE_DIGEST_ALGORITHM 297
-#define SSL_R_NO_SUITABLE_GROUPS 295
-#define SSL_R_NO_SUITABLE_KEY_SHARE 101
-#define SSL_R_NO_SUITABLE_RECORD_LAYER 322
-#define SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM 118
-#define SSL_R_NO_VALID_SCTS 216
-#define SSL_R_NO_VERIFY_COOKIE_CALLBACK 403
-#define SSL_R_NULL_SSL_CTX 195
-#define SSL_R_NULL_SSL_METHOD_PASSED 196
-#define SSL_R_OCSP_CALLBACK_FAILURE 305
-#define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED 197
-#define SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED 344
-#define SSL_R_OVERFLOW_ERROR 237
-#define SSL_R_PACKET_LENGTH_TOO_LONG 198
-#define SSL_R_PARSE_TLSEXT 227
-#define SSL_R_PATH_TOO_LONG 270
-#define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE 199
-#define SSL_R_PEM_NAME_BAD_PREFIX 391
-#define SSL_R_PEM_NAME_TOO_SHORT 392
-#define SSL_R_PIPELINE_FAILURE 406
-#define SSL_R_POLL_REQUEST_NOT_SUPPORTED 418
-#define SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR 278
-#define SSL_R_PRIVATE_KEY_MISMATCH 288
-#define SSL_R_PROTOCOL_IS_SHUTDOWN 207
-#define SSL_R_PSK_IDENTITY_NOT_FOUND 223
-#define SSL_R_PSK_NO_CLIENT_CB 224
-#define SSL_R_PSK_NO_SERVER_CB 225
-#define SSL_R_QUIC_HANDSHAKE_LAYER_ERROR 393
-#define SSL_R_QUIC_NETWORK_ERROR 387
-#define SSL_R_QUIC_PROTOCOL_ERROR 382
-#define SSL_R_READ_BIO_NOT_SET 211
-#define SSL_R_READ_TIMEOUT_EXPIRED 312
-#define SSL_R_RECORDS_NOT_RELEASED 321
-#define SSL_R_RECORD_LAYER_FAILURE 313
-#define SSL_R_RECORD_LENGTH_MISMATCH 213
-#define SSL_R_RECORD_TOO_SMALL 298
-#define SSL_R_REMOTE_PEER_ADDRESS_NOT_SET 346
-#define SSL_R_RENEGOTIATE_EXT_TOO_LONG 335
-#define SSL_R_RENEGOTIATION_ENCODING_ERR 336
-#define SSL_R_RENEGOTIATION_MISMATCH 337
-#define SSL_R_REQUEST_PENDING 285
-#define SSL_R_REQUEST_SENT 286
-#define SSL_R_REQUIRED_CIPHER_MISSING 215
-#define SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING 342
-#define SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING 345
-#define SSL_R_SCT_VERIFICATION_FAILED 208
-#define SSL_R_SEQUENCE_CTR_WRAPPED 327
-#define SSL_R_SERVERHELLO_TLSEXT 275
-#define SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED 277
-#define SSL_R_SHUTDOWN_WHILE_IN_INIT 407
-#define SSL_R_SIGNATURE_ALGORITHMS_ERROR 360
-#define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220
-#define SSL_R_SRP_A_CALC 361
-#define SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES 362
-#define SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG 363
-#define SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE 364
-#define SSL_R_SSL_COMMAND_SECTION_EMPTY 117
-#define SSL_R_SSL_COMMAND_SECTION_NOT_FOUND 125
-#define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION 228
-#define SSL_R_SSL_HANDSHAKE_FAILURE 229
-#define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS 230
-#define SSL_R_SSL_NEGATIVE_LENGTH 372
-#define SSL_R_SSL_SECTION_EMPTY 126
-#define SSL_R_SSL_SECTION_NOT_FOUND 136
-#define SSL_R_SSL_SESSION_ID_CALLBACK_FAILED 301
-#define SSL_R_SSL_SESSION_ID_CONFLICT 302
-#define SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG 273
-#define SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH 303
-#define SSL_R_SSL_SESSION_ID_TOO_LONG 408
-#define SSL_R_SSL_SESSION_VERSION_MISMATCH 210
-#define SSL_R_STILL_IN_INIT 121
-#define SSL_R_STREAM_COUNT_LIMITED 411
-#define SSL_R_STREAM_FINISHED 365
-#define SSL_R_STREAM_RECV_ONLY 366
-#define SSL_R_STREAM_RESET 375
-#define SSL_R_STREAM_SEND_ONLY 379
-#define SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED 1116
-#define SSL_R_TLSV13_ALERT_MISSING_EXTENSION 1109
-#define SSL_R_TLSV1_ALERT_ACCESS_DENIED 1049
-#define SSL_R_TLSV1_ALERT_DECODE_ERROR 1050
-#define SSL_R_TLSV1_ALERT_DECRYPTION_FAILED 1021
-#define SSL_R_TLSV1_ALERT_DECRYPT_ERROR 1051
-#define SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION 1060
-#define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
-#define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
-#define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
-#define SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL 1120
-#define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
-#define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
-#define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
-#define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
-#define SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY 1115
-#define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
-#define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
-#define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
-#define SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE 1111
-#define SSL_R_TLSV1_UNRECOGNIZED_NAME 1112
-#define SSL_R_TLSV1_UNSUPPORTED_EXTENSION 1110
-#define SSL_R_TLS_ALERT_BAD_CERTIFICATE 1042
-#define SSL_R_TLS_ALERT_BAD_RECORD_MAC 1020
-#define SSL_R_TLS_ALERT_CERTIFICATE_EXPIRED 1045
-#define SSL_R_TLS_ALERT_CERTIFICATE_REVOKED 1044
-#define SSL_R_TLS_ALERT_CERTIFICATE_UNKNOWN 1046
-#define SSL_R_TLS_ALERT_DECOMPRESSION_FAILURE 1030
-#define SSL_R_TLS_ALERT_HANDSHAKE_FAILURE 1040
-#define SSL_R_TLS_ALERT_ILLEGAL_PARAMETER 1047
-#define SSL_R_TLS_ALERT_NO_CERTIFICATE 1041
-#define SSL_R_TLS_ALERT_UNEXPECTED_MESSAGE 1010
-#define SSL_R_TLS_ALERT_UNSUPPORTED_CERTIFICATE 1043
-#define SSL_R_TLS_EXT_INVALID_MAX_FRAGMENT_LENGTH 232
-#define SSL_R_TLS_EXT_INVALID_SERVERNAME 319
-#define SSL_R_TLS_EXT_INVALID_SERVERNAME_TYPE 320
-#define SSL_R_TLS_ILLEGAL_EXPORTER_LABEL 367
-#define SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST 157
-#define SSL_R_TLS_SESSION_ID_TOO_LONG 300
-#define SSL_R_TOO_MANY_KEY_UPDATES 132
-#define SSL_R_TOO_MANY_WARN_ALERTS 409
-#define SSL_R_TOO_MUCH_EARLY_DATA 164
-#define SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS 314
-#define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS 239
-#define SSL_R_UNEXPECTED_CCS_MESSAGE 262
-#define SSL_R_UNEXPECTED_END_OF_EARLY_DATA 178
-#define SSL_R_UNEXPECTED_EOF_WHILE_READING 294
-#define SSL_R_UNEXPECTED_MESSAGE 244
-#define SSL_R_UNEXPECTED_RECORD 245
-#define SSL_R_UNINITIALIZED 276
-#define SSL_R_UNKNOWN_ALERT_TYPE 246
-#define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247
-#define SSL_R_UNKNOWN_CIPHER_RETURNED 248
-#define SSL_R_UNKNOWN_CIPHER_TYPE 249
-#define SSL_R_UNKNOWN_CMD_NAME 386
-#define SSL_R_UNKNOWN_COMMAND 139
-#define SSL_R_UNKNOWN_DIGEST 368
-#define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE 250
-#define SSL_R_UNKNOWN_MANDATORY_PARAMETER 323
-#define SSL_R_UNKNOWN_PKEY_TYPE 251
-#define SSL_R_UNKNOWN_PROTOCOL 252
-#define SSL_R_UNKNOWN_SSL_VERSION 254
-#define SSL_R_UNKNOWN_STATE 255
-#define SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED 338
-#define SSL_R_UNSOLICITED_EXTENSION 217
-#define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM 257
-#define SSL_R_UNSUPPORTED_CONFIG_VALUE 414
-#define SSL_R_UNSUPPORTED_CONFIG_VALUE_CLASS 415
-#define SSL_R_UNSUPPORTED_CONFIG_VALUE_OP 416
-#define SSL_R_UNSUPPORTED_ELLIPTIC_CURVE 315
-#define SSL_R_UNSUPPORTED_PROTOCOL 258
-#define SSL_R_UNSUPPORTED_SSL_VERSION 259
-#define SSL_R_UNSUPPORTED_STATUS_TYPE 329
-#define SSL_R_UNSUPPORTED_WRITE_FLAG 412
-#define SSL_R_USE_SRTP_NOT_NEGOTIATED 369
-#define SSL_R_VERSION_TOO_HIGH 166
-#define SSL_R_VERSION_TOO_LOW 396
-#define SSL_R_WRONG_CERTIFICATE_TYPE 383
-#define SSL_R_WRONG_CIPHER_RETURNED 261
-#define SSL_R_WRONG_CURVE 378
-#define SSL_R_WRONG_RPK_TYPE 351
-#define SSL_R_WRONG_SIGNATURE_LENGTH 264
-#define SSL_R_WRONG_SIGNATURE_SIZE 265
-#define SSL_R_WRONG_SIGNATURE_TYPE 370
-#define SSL_R_WRONG_SSL_VERSION 266
-#define SSL_R_WRONG_VERSION_NUMBER 267
-#define SSL_R_X509_LIB 268
-#define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269
-
-#endif
diff --git a/include/openssl/storeerr.h b/include/openssl/storeerr.h
deleted file mode 100644
index fb58f0630e7..00000000000
--- a/include/openssl/storeerr.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2025 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_STOREERR_H
-#define OPENSSL_STOREERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * OSSL_STORE reason codes.
- */
-#define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107
-#define OSSL_STORE_R_BAD_PASSWORD_READ 115
-#define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113
-#define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121
-#define OSSL_STORE_R_INVALID_SCHEME 106
-#define OSSL_STORE_R_IS_NOT_A 112
-#define OSSL_STORE_R_LOADER_INCOMPLETE 116
-#define OSSL_STORE_R_LOADING_STARTED 117
-#define OSSL_STORE_R_NOT_A_CERTIFICATE 100
-#define OSSL_STORE_R_NOT_A_CRL 101
-#define OSSL_STORE_R_NOT_A_NAME 103
-#define OSSL_STORE_R_NOT_A_PRIVATE_KEY 102
-#define OSSL_STORE_R_NOT_A_PUBLIC_KEY 122
-#define OSSL_STORE_R_NOT_A_SYMMETRIC_KEY 124
-#define OSSL_STORE_R_NOT_PARAMETERS 104
-#define OSSL_STORE_R_NO_LOADERS_FOUND 123
-#define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114
-#define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108
-#define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119
-#define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109
-#define OSSL_STORE_R_UNREGISTERED_SCHEME 105
-#define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110
-#define OSSL_STORE_R_UNSUPPORTED_OPERATION 118
-#define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120
-#define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111
-
-#endif
diff --git a/include/openssl/tserr.h b/include/openssl/tserr.h
deleted file mode 100644
index 0bec94a37cd..00000000000
--- a/include/openssl/tserr.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_TSERR_H
-#define OPENSSL_TSERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-#ifndef OPENSSL_NO_TS
-
-/*
- * TS reason codes.
- */
-#define TS_R_BAD_PKCS7_TYPE 132
-#define TS_R_BAD_TYPE 133
-#define TS_R_CANNOT_LOAD_CERT 137
-#define TS_R_CANNOT_LOAD_KEY 138
-#define TS_R_CERTIFICATE_VERIFY_ERROR 100
-#define TS_R_COULD_NOT_SET_ENGINE 127
-#define TS_R_COULD_NOT_SET_TIME 115
-#define TS_R_DETACHED_CONTENT 134
-#define TS_R_ESS_ADD_SIGNING_CERT_ERROR 116
-#define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR 139
-#define TS_R_ESS_SIGNING_CERTIFICATE_ERROR 101
-#define TS_R_INVALID_NULL_POINTER 102
-#define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE 117
-#define TS_R_MESSAGE_IMPRINT_MISMATCH 103
-#define TS_R_NONCE_MISMATCH 104
-#define TS_R_NONCE_NOT_RETURNED 105
-#define TS_R_NO_CONTENT 106
-#define TS_R_NO_TIME_STAMP_TOKEN 107
-#define TS_R_PKCS7_ADD_SIGNATURE_ERROR 118
-#define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR 119
-#define TS_R_PKCS7_TO_TS_TST_INFO_FAILED 129
-#define TS_R_POLICY_MISMATCH 108
-#define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 120
-#define TS_R_RESPONSE_SETUP_ERROR 121
-#define TS_R_SIGNATURE_FAILURE 109
-#define TS_R_THERE_MUST_BE_ONE_SIGNER 110
-#define TS_R_TIME_SYSCALL_ERROR 122
-#define TS_R_TOKEN_NOT_PRESENT 130
-#define TS_R_TOKEN_PRESENT 131
-#define TS_R_TSA_NAME_MISMATCH 111
-#define TS_R_TSA_UNTRUSTED 112
-#define TS_R_TST_INFO_SETUP_ERROR 123
-#define TS_R_TS_DATASIGN 124
-#define TS_R_UNACCEPTABLE_POLICY 125
-#define TS_R_UNSUPPORTED_MD_ALGORITHM 126
-#define TS_R_UNSUPPORTED_VERSION 113
-#define TS_R_VAR_BAD_VALUE 135
-#define TS_R_VAR_LOOKUP_FAILURE 136
-#define TS_R_WRONG_CONTENT_TYPE 114
-
-#endif
-#endif
diff --git a/include/openssl/uierr.h b/include/openssl/uierr.h
deleted file mode 100644
index 5201b0311df..00000000000
--- a/include/openssl/uierr.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_UIERR_H
-#define OPENSSL_UIERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * UI reason codes.
- */
-#define UI_R_COMMON_OK_AND_CANCEL_CHARACTERS 104
-#define UI_R_INDEX_TOO_LARGE 102
-#define UI_R_INDEX_TOO_SMALL 103
-#define UI_R_NO_RESULT_BUFFER 105
-#define UI_R_PROCESSING_ERROR 107
-#define UI_R_RESULT_TOO_LARGE 100
-#define UI_R_RESULT_TOO_SMALL 101
-#define UI_R_SYSASSIGN_ERROR 109
-#define UI_R_SYSDASSGN_ERROR 110
-#define UI_R_SYSQIOW_ERROR 111
-#define UI_R_UNKNOWN_CONTROL_COMMAND 106
-#define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE 108
-#define UI_R_USER_DATA_DUPLICATION_UNSUPPORTED 112
-
-#endif
diff --git a/include/openssl/x509err.h b/include/openssl/x509err.h
deleted file mode 100644
index fa00e4143fe..00000000000
--- a/include/openssl/x509err.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_X509ERR_H
-#define OPENSSL_X509ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * X509 reason codes.
- */
-#define X509_R_AKID_MISMATCH 110
-#define X509_R_BAD_SELECTOR 133
-#define X509_R_BAD_X509_FILETYPE 100
-#define X509_R_BASE64_DECODE_ERROR 118
-#define X509_R_CANT_CHECK_DH_KEY 114
-#define X509_R_CERTIFICATE_VERIFICATION_FAILED 139
-#define X509_R_CERT_ALREADY_IN_HASH_TABLE 101
-#define X509_R_CRL_ALREADY_DELTA 127
-#define X509_R_CRL_SIGNATURE_ALGORITHM_MISMATCH 147
-#define X509_R_CRL_VERIFY_FAILURE 131
-#define X509_R_DUPLICATE_ATTRIBUTE 140
-#define X509_R_ERROR_GETTING_MD_BY_NID 141
-#define X509_R_ERROR_USING_SIGINF_SET 142
-#define X509_R_IDP_MISMATCH 128
-#define X509_R_INVALID_ATTRIBUTES 138
-#define X509_R_INVALID_DIRECTORY 113
-#define X509_R_INVALID_DISTPOINT 143
-#define X509_R_INVALID_EXTENSION 146
-#define X509_R_INVALID_FIELD_NAME 119
-#define X509_R_INVALID_TRUST 123
-#define X509_R_ISSUER_MISMATCH 129
-#define X509_R_KEY_TYPE_MISMATCH 115
-#define X509_R_KEY_VALUES_MISMATCH 116
-#define X509_R_LOADING_CERT_DIR 103
-#define X509_R_LOADING_DEFAULTS 104
-#define X509_R_METHOD_NOT_SUPPORTED 124
-#define X509_R_NAME_TOO_LONG 134
-#define X509_R_NEWER_CRL_NOT_NEWER 132
-#define X509_R_NO_CERTIFICATE_FOUND 135
-#define X509_R_NO_CERTIFICATE_OR_CRL_FOUND 136
-#define X509_R_NO_CERT_SET_FOR_US_TO_VERIFY 105
-#define X509_R_NO_CRL_FOUND 137
-#define X509_R_NO_CRL_NUMBER 130
-#define X509_R_PUBLIC_KEY_DECODE_ERROR 125
-#define X509_R_PUBLIC_KEY_ENCODE_ERROR 126
-#define X509_R_SHOULD_RETRY 106
-#define X509_R_UNABLE_TO_FIND_PARAMETERS_IN_CHAIN 107
-#define X509_R_UNABLE_TO_GET_CERTS_PUBLIC_KEY 108
-#define X509_R_UNKNOWN_KEY_TYPE 117
-#define X509_R_UNKNOWN_NID 109
-#define X509_R_UNKNOWN_PURPOSE_ID 121
-#define X509_R_UNKNOWN_SIGID_ALGS 144
-#define X509_R_UNKNOWN_TRUST_ID 120
-#define X509_R_UNSUPPORTED_ALGORITHM 111
-#define X509_R_UNSUPPORTED_VERSION 145
-#define X509_R_WRONG_LOOKUP_TYPE 112
-#define X509_R_WRONG_TYPE 122
-
-#endif
diff --git a/include/openssl/x509v3err.h b/include/openssl/x509v3err.h
deleted file mode 100644
index 75d9e7d3e48..00000000000
--- a/include/openssl/x509v3err.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2026 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
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#ifndef OPENSSL_X509V3ERR_H
-#define OPENSSL_X509V3ERR_H
-#pragma once
-
-#include <openssl/opensslconf.h>
-#include <openssl/symhacks.h>
-#include <openssl/cryptoerr_legacy.h>
-
-/*
- * X509V3 reason codes.
- */
-#define X509V3_R_BAD_IP_ADDRESS 118
-#define X509V3_R_BAD_OBJECT 119
-#define X509V3_R_BAD_OPTION 170
-#define X509V3_R_BAD_VALUE 171
-#define X509V3_R_BN_DEC2BN_ERROR 100
-#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101
-#define X509V3_R_DIRNAME_ERROR 149
-#define X509V3_R_DISTPOINT_ALREADY_SET 160
-#define X509V3_R_DUPLICATE_FIELD 174
-#define X509V3_R_DUPLICATE_ZONE_ID 133
-#define X509V3_R_EMPTY_KEY_USAGE 169
-#define X509V3_R_ERROR_CONVERTING_ZONE 131
-#define X509V3_R_ERROR_CREATING_EXTENSION 144
-#define X509V3_R_ERROR_IN_EXTENSION 128
-#define X509V3_R_EXPECTED_A_SECTION_NAME 137
-#define X509V3_R_EXTENSION_EXISTS 145
-#define X509V3_R_EXTENSION_NAME_ERROR 115
-#define X509V3_R_EXTENSION_NOT_FOUND 102
-#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103
-#define X509V3_R_EXTENSION_VALUE_ERROR 116
-#define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151
-#define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152
-#define X509V3_R_INVALID_ASNUMBER 162
-#define X509V3_R_INVALID_ASRANGE 163
-#define X509V3_R_INVALID_BOOLEAN_STRING 104
-#define X509V3_R_INVALID_CERTIFICATE 158
-#define X509V3_R_INVALID_EMPTY_NAME 108
-#define X509V3_R_INVALID_EXTENSION_STRING 105
-#define X509V3_R_INVALID_INHERITANCE 165
-#define X509V3_R_INVALID_IPADDRESS 166
-#define X509V3_R_INVALID_MULTIPLE_RDNS 161
-#define X509V3_R_INVALID_NAME 106
-#define X509V3_R_INVALID_NULL_ARGUMENT 107
-#define X509V3_R_INVALID_NULL_VALUE 109
-#define X509V3_R_INVALID_NUMBER 140
-#define X509V3_R_INVALID_NUMBERS 141
-#define X509V3_R_INVALID_OBJECT_IDENTIFIER 110
-#define X509V3_R_INVALID_OPTION 138
-#define X509V3_R_INVALID_POLICY_IDENTIFIER 134
-#define X509V3_R_INVALID_PROXY_POLICY_SETTING 153
-#define X509V3_R_INVALID_PURPOSE 146
-#define X509V3_R_INVALID_SAFI 164
-#define X509V3_R_INVALID_SECTION 135
-#define X509V3_R_INVALID_SYNTAX 143
-#define X509V3_R_ISSUER_DECODE_ERROR 126
-#define X509V3_R_MISSING_VALUE 124
-#define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142
-#define X509V3_R_NEGATIVE_PATHLEN 168
-#define X509V3_R_NO_CONFIG_DATABASE 136
-#define X509V3_R_NO_ISSUER_CERTIFICATE 121
-#define X509V3_R_NO_ISSUER_DETAILS 127
-#define X509V3_R_NO_POLICY_IDENTIFIER 139
-#define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154
-#define X509V3_R_NO_PUBLIC_KEY 114
-#define X509V3_R_NO_SUBJECT_DETAILS 125
-#define X509V3_R_OPERATION_NOT_DEFINED 148
-#define X509V3_R_OTHERNAME_ERROR 147
-#define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155
-#define X509V3_R_POLICY_PATH_LENGTH 156
-#define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157
-#define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159
-#define X509V3_R_PURPOSE_NOT_UNIQUE 173
-#define X509V3_R_SECTION_NOT_FOUND 150
-#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122
-#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123
-#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111
-#define X509V3_R_UNKNOWN_EXTENSION 129
-#define X509V3_R_UNKNOWN_EXTENSION_NAME 130
-#define X509V3_R_UNKNOWN_OPTION 120
-#define X509V3_R_UNKNOWN_VALUE 172
-#define X509V3_R_UNSUPPORTED_OPTION 117
-#define X509V3_R_UNSUPPORTED_TYPE 167
-#define X509V3_R_USER_TOO_LONG 132
-
-#endif