aboutsummaryrefslogtreecommitdiff
path: root/providers/implementations/macs
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-02-05 17:40:42 +0100
committerTomas Mraz <tomas@openssl.org>2021-02-11 09:34:31 +0100
commit2741128e9deeb7f6fd73f10a1c657c05433a41cb (patch)
treed8839a5c0f19b10c6cc16104d639168facee239b /providers/implementations/macs
parentdc9ec65a018d92306e4b3139239505c5cfc5b15e (diff)
downloadopenssl-2741128e9deeb7f6fd73f10a1c657c05433a41cb.zip
openssl-2741128e9deeb7f6fd73f10a1c657c05433a41cb.tar.gz
openssl-2741128e9deeb7f6fd73f10a1c657c05433a41cb.tar.bz2
Move the PROV_R reason codes to a public header
The PROV_R codes can be returned to applications so it is useful to have some common set of provider reason codes for the applications or third party providers. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14086)
Diffstat (limited to 'providers/implementations/macs')
-rw-r--r--providers/implementations/macs/blake2_mac_impl.c2
-rw-r--r--providers/implementations/macs/gmac_prov.c2
-rw-r--r--providers/implementations/macs/kmac_prov.c2
-rw-r--r--providers/implementations/macs/poly1305_prov.c2
-rw-r--r--providers/implementations/macs/siphash_prov.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/providers/implementations/macs/blake2_mac_impl.c b/providers/implementations/macs/blake2_mac_impl.c
index 542595e..4f57795 100644
--- a/providers/implementations/macs/blake2_mac_impl.c
+++ b/providers/implementations/macs/blake2_mac_impl.c
@@ -10,10 +10,10 @@
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>
#include <openssl/params.h>
+#include <openssl/proverr.h>
#include "prov/blake2.h"
#include "internal/cryptlib.h"
-#include "prov/providercommonerr.h"
#include "prov/implementations.h"
#include "prov/providercommon.h"
diff --git a/providers/implementations/macs/gmac_prov.c b/providers/implementations/macs/gmac_prov.c
index fe4d2c3..c9d404d 100644
--- a/providers/implementations/macs/gmac_prov.c
+++ b/providers/implementations/macs/gmac_prov.c
@@ -14,8 +14,8 @@
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/err.h>
+#include <openssl/proverr.h>
-#include "prov/providercommonerr.h"
#include "prov/implementations.h"
#include "prov/provider_ctx.h"
#include "prov/provider_util.h"
diff --git a/providers/implementations/macs/kmac_prov.c b/providers/implementations/macs/kmac_prov.c
index b9a6318..8f74c23 100644
--- a/providers/implementations/macs/kmac_prov.c
+++ b/providers/implementations/macs/kmac_prov.c
@@ -53,8 +53,8 @@
#include <openssl/params.h>
#include <openssl/evp.h>
#include <openssl/err.h>
+#include <openssl/proverr.h>
-#include "prov/providercommonerr.h"
#include "prov/implementations.h"
#include "prov/provider_ctx.h"
#include "prov/provider_util.h"
diff --git a/providers/implementations/macs/poly1305_prov.c b/providers/implementations/macs/poly1305_prov.c
index a3bc472..b029dfe 100644
--- a/providers/implementations/macs/poly1305_prov.c
+++ b/providers/implementations/macs/poly1305_prov.c
@@ -12,10 +12,10 @@
#include <openssl/params.h>
#include <openssl/evp.h>
#include <openssl/err.h>
+#include <openssl/proverr.h>
#include "crypto/poly1305.h"
-#include "prov/providercommonerr.h"
#include "prov/implementations.h"
#include "prov/providercommon.h"
diff --git a/providers/implementations/macs/siphash_prov.c b/providers/implementations/macs/siphash_prov.c
index 1a79ae0..f2105a9 100644
--- a/providers/implementations/macs/siphash_prov.c
+++ b/providers/implementations/macs/siphash_prov.c
@@ -13,6 +13,7 @@
#include <openssl/params.h>
#include <openssl/evp.h>
#include <openssl/err.h>
+#include <openssl/proverr.h>
#include "crypto/siphash.h"
/*
@@ -22,7 +23,6 @@
*/
#include "../../../crypto/siphash/siphash_local.h"
-#include "prov/providercommonerr.h"
#include "prov/implementations.h"
#include "prov/providercommon.h"