diff --git a/src/lib/asn1/info.txt b/src/lib/asn1/info.txt index dc80cdbd462..ec2591cec49 100644 --- a/src/lib/asn1/info.txt +++ b/src/lib/asn1/info.txt @@ -17,9 +17,9 @@ asn1_obj.h der_enc.h oids.h ber_dec.h +pss_params.h oid_map.h -pss_params.h diff --git a/src/lib/asn1/pss_params.cpp b/src/lib/asn1/pss_params.cpp index a6e0ab3e4b2..014906691a9 100644 --- a/src/lib/asn1/pss_params.cpp +++ b/src/lib/asn1/pss_params.cpp @@ -5,7 +5,7 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include +#include #include #include diff --git a/src/lib/asn1/pss_params.h b/src/lib/asn1/pss_params.h index fec4e9fc0a6..33fdf612c9b 100644 --- a/src/lib/asn1/pss_params.h +++ b/src/lib/asn1/pss_params.h @@ -13,7 +13,7 @@ namespace Botan { -class PSS_Params final : public ASN1_Object { +class BOTAN_PUBLIC_API(3, 7) PSS_Params final : public ASN1_Object { public: static PSS_Params from_emsa_name(std::string_view emsa_name); diff --git a/src/lib/prov/pkcs11/info.txt b/src/lib/prov/pkcs11/info.txt index 050f484e451..6141f729aac 100644 --- a/src/lib/prov/pkcs11/info.txt +++ b/src/lib/prov/pkcs11/info.txt @@ -14,10 +14,6 @@ pubkey pk_pad - -p11_mechanism.h - - pkcs11.h pkcs11f.h @@ -34,4 +30,5 @@ p11_randomgenerator.h p11_rsa.h p11_types.h p11_x509.h +p11_mechanism.h diff --git a/src/lib/prov/pkcs11/p11_ecdh.cpp b/src/lib/prov/pkcs11/p11_ecdh.cpp index d4ad64b76d5..7f107939e25 100644 --- a/src/lib/prov/pkcs11/p11_ecdh.cpp +++ b/src/lib/prov/pkcs11/p11_ecdh.cpp @@ -11,9 +11,9 @@ #if defined(BOTAN_HAS_ECDH) #include + #include #include #include - #include namespace Botan::PKCS11 { diff --git a/src/lib/prov/pkcs11/p11_ecdsa.cpp b/src/lib/prov/pkcs11/p11_ecdsa.cpp index 24533d7b515..57beca7fbb4 100644 --- a/src/lib/prov/pkcs11/p11_ecdsa.cpp +++ b/src/lib/prov/pkcs11/p11_ecdsa.cpp @@ -10,10 +10,10 @@ #if defined(BOTAN_HAS_ECDSA) + #include #include #include #include - #include namespace Botan::PKCS11 { diff --git a/src/lib/prov/pkcs11/p11_mechanism.cpp b/src/lib/prov/pkcs11/p11_mechanism.cpp index 1db137c284f..209e3eb984b 100644 --- a/src/lib/prov/pkcs11/p11_mechanism.cpp +++ b/src/lib/prov/pkcs11/p11_mechanism.cpp @@ -6,7 +6,7 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include +#include #include #include diff --git a/src/lib/prov/pkcs11/p11_mechanism.h b/src/lib/prov/pkcs11/p11_mechanism.h index 96ea0dc1541..4a9a436405a 100644 --- a/src/lib/prov/pkcs11/p11_mechanism.h +++ b/src/lib/prov/pkcs11/p11_mechanism.h @@ -23,7 +23,7 @@ namespace Botan::PKCS11 { * for RSA (encryption/decryption, signature/verification) * and EC (ECDSA signature/verification, ECDH key derivation). */ -class MechanismWrapper final { +class BOTAN_PUBLIC_API(3, 7) MechanismWrapper final { public: /// @param mechanism_type the CK_MECHANISM_TYPE for the `mechanism` field of the CK_MECHANISM struct explicit MechanismWrapper(MechanismType mechanism_type); diff --git a/src/lib/prov/pkcs11/p11_rsa.cpp b/src/lib/prov/pkcs11/p11_rsa.cpp index 6ed7311c378..1c77ced553e 100644 --- a/src/lib/prov/pkcs11/p11_rsa.cpp +++ b/src/lib/prov/pkcs11/p11_rsa.cpp @@ -12,10 +12,10 @@ #if defined(BOTAN_HAS_RSA) + #include #include #include #include - #include #include namespace Botan::PKCS11 { diff --git a/src/lib/prov/tpm2/tpm2_rsa/tpm2_rsa.cpp b/src/lib/prov/tpm2/tpm2_rsa/tpm2_rsa.cpp index 701554ee32b..3f8a406f39b 100644 --- a/src/lib/prov/tpm2/tpm2_rsa/tpm2_rsa.cpp +++ b/src/lib/prov/tpm2/tpm2_rsa/tpm2_rsa.cpp @@ -9,12 +9,12 @@ #include #include +#include #include #include #include #include -#include #include #include #include diff --git a/src/lib/pubkey/pubkey.cpp b/src/lib/pubkey/pubkey.cpp index 15fb3632157..a1aa5bb9920 100644 --- a/src/lib/pubkey/pubkey.cpp +++ b/src/lib/pubkey/pubkey.cpp @@ -11,11 +11,11 @@ #include #include #include +#include #include #include #include #include -#include #include namespace Botan { diff --git a/src/lib/pubkey/rsa/rsa.cpp b/src/lib/pubkey/rsa/rsa.cpp index 8ae7e444d66..ff62ac6d129 100644 --- a/src/lib/pubkey/rsa/rsa.cpp +++ b/src/lib/pubkey/rsa/rsa.cpp @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -19,7 +20,6 @@ #include #include #include -#include #include #if defined(BOTAN_HAS_THREAD_UTILS) diff --git a/src/lib/tls/tls_signature_scheme.cpp b/src/lib/tls/tls_signature_scheme.cpp index ce285019388..1729ea49457 100644 --- a/src/lib/tls/tls_signature_scheme.cpp +++ b/src/lib/tls/tls_signature_scheme.cpp @@ -11,9 +11,9 @@ #include #include #include +#include #include #include -#include #include namespace Botan::TLS {