projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CI: run `make distcheck` instead of `make check`
[tinc]
/
src
/
openssl
/
digest.h
diff --git
a/src/openssl/digest.h
b/src/openssl/digest.h
index
0a32707
..
66d5416
100644
(file)
--- a/
src/openssl/digest.h
+++ b/
src/openssl/digest.h
@@
-1,6
+1,9
@@
+#ifndef TINC_OPENSSL_DIGEST_H
+#define TINC_OPENSSL_DIGEST_H
+
/*
digest.h -- header file digest.c
/*
digest.h -- header file digest.c
- Copyright (C) 2013 Guus Sliepen <guus@tinc-vpn.org>
+ Copyright (C) 2013
-2022
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-17,16
+20,14
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __TINC_OPENSSL_DIGEST_H__
-#define __TINC_OPENSSL_DIGEST_H__
-
#include <openssl/evp.h>
#include <openssl/evp.h>
+#include <openssl/hmac.h>
struct digest {
const EVP_MD *digest;
struct digest {
const EVP_MD *digest;
-
int maclength
;
-
int keylength
;
-
char *key
;
+
HMAC_CTX *hmac_ctx
;
+
EVP_MD_CTX *md_ctx
;
+
size_t maclength
;
};
#endif
};
#endif