diff options
author | tb <> | 2021-12-12 21:30:14 +0000 |
---|---|---|
committer | tb <> | 2021-12-12 21:30:14 +0000 |
commit | c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d (patch) | |
tree | 68f1da62b9246ae5a21e41ac2ee05ee8307cfa6f /src/lib/libcrypto/cmac | |
parent | a0b1347b1dec62a1a5e864ed59314d2e9b42e15b (diff) | |
download | openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.gz openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.bz2 openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.zip |
Include evp_locl.h where it will be needed once most structs from
evp.h will be moved to evp_locl.h in an upcoming bump.
ok inoguchi
Diffstat (limited to 'src/lib/libcrypto/cmac')
-rw-r--r-- | src/lib/libcrypto/cmac/cm_ameth.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/cmac/cmac.c | 4 |
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 | |||
60 | struct CMAC_CTX_st { | 62 | struct CMAC_CTX_st { |
61 | /* Cipher context to use */ | 63 | /* Cipher context to use */ |
62 | EVP_CIPHER_CTX cctx; | 64 | EVP_CIPHER_CTX cctx; |