diff options
author | naddy@openbsd.org <naddy@openbsd.org> | 2017-12-12 15:06:12 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-12-19 15:17:38 +1100 |
commit | 012e5cb839faf76549e3b6101b192fe1a74d367e (patch) | |
tree | 8144e791fb9e1fc015b29504aaa268f98184149d /umac128.c | |
parent | b35addfb4cd3b5cdb56a2a489d38e940ada926c7 (diff) |
upstream commit
Create a persistent umac128.c source file: #define the
output size and the name of the entry points for UMAC-128 before including
umac.c. Idea from FreeBSD. ok dtucker@
OpenBSD-Commit-ID: 463cfacfa07cb8060a4d4961e63dca307bf3f4b1
Diffstat (limited to 'umac128.c')
-rw-r--r-- | umac128.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/umac128.c b/umac128.c new file mode 100644 index 000000000..af3bd9d3f --- /dev/null +++ b/umac128.c | |||
@@ -0,0 +1,9 @@ | |||
1 | /* $OpenBSD: umac128.c,v 1.1 2017/12/12 15:06:12 naddy Exp $ */ | ||
2 | |||
3 | #define UMAC_OUTPUT_LEN 16 | ||
4 | #define umac_new umac128_new | ||
5 | #define umac_update umac128_update | ||
6 | #define umac_final umac128_final | ||
7 | #define umac_delete umac128_delete | ||
8 | |||
9 | #include "umac.c" | ||