Deprecate the low level HMAC functions
[openssl.git] / providers / implementations / macs / hmac_prov.c
index e9d7647ce22c2fe63f48779f2f3bdb5007650f13..2bddb64d69ff855a2fb42ba41f3ca6ebbd0e4f31 100644 (file)
@@ -7,6 +7,12 @@
  * https://www.openssl.org/source/license.html
  */
 
  * https://www.openssl.org/source/license.html
  */
 
+/*
+ * HMAC low level APIs are deprecated for public use, but still ok for internal
+ * use.
+ */
+#include "internal/deprecated.h"
+
 #include <openssl/core_numbers.h>
 #include <openssl/core_names.h>
 #include <openssl/params.h>
 #include <openssl/core_numbers.h>
 #include <openssl/core_names.h>
 #include <openssl/params.h>
@@ -14,9 +20,9 @@
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
 
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
 
-#include "internal/provider_algs.h"
-#include "internal/provider_ctx.h"
-#include "internal/provider_util.h"
+#include "prov/implementations.h"
+#include "prov/provider_ctx.h"
+#include "prov/provider_util.h"
 
 /*
  * Forward declaration of everything implemented here.  This is not strictly
 
 /*
  * Forward declaration of everything implemented here.  This is not strictly