summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cmac
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cmac')
-rw-r--r--src/lib/libcrypto/cmac/cm_ameth.c3
-rw-r--r--src/lib/libcrypto/cmac/cmac.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cmac/cm_ameth.c b/src/lib/libcrypto/cmac/cm_ameth.c
index e7e7fe0f80..26956465ee 100644
--- a/src/lib/libcrypto/cmac/cm_ameth.c
+++ b/src/lib/libcrypto/cmac/cm_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cm_ameth.c,v 1.7 2014/07/12 16:03:37 miod Exp $ */ 1/* $OpenBSD: cm_ameth.c,v 1.8 2021/12/12 21:30:13 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2010. 3 * project 2010.
4 */ 4 */
@@ -57,6 +57,7 @@
57#include <openssl/evp.h> 57#include <openssl/evp.h>
58 58
59#include "asn1_locl.h" 59#include "asn1_locl.h"
60#include "evp_locl.h"
60 61
61/* CMAC "ASN1" method. This is just here to indicate the 62/* CMAC "ASN1" method. This is just here to indicate the
62 * maximum CMAC output length and to free up a CMAC 63 * maximum CMAC output length and to free up a CMAC
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c
index d01ae0f3ae..cd286f88e3 100644
--- a/src/lib/libcrypto/cmac/cmac.c
+++ b/src/lib/libcrypto/cmac/cmac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cmac.c,v 1.10 2015/09/10 15:56:25 jsing Exp $ */ 1/* $OpenBSD: cmac.c,v 1.11 2021/12/12 21:30:13 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -57,6 +57,8 @@
57 57
58#include <openssl/cmac.h> 58#include <openssl/cmac.h>
59 59
60#include "evp_locl.h"
61
60struct CMAC_CTX_st { 62struct CMAC_CTX_st {
61 /* Cipher context to use */ 63 /* Cipher context to use */
62 EVP_CIPHER_CTX cctx; 64 EVP_CIPHER_CTX cctx;