mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-04 08:01:52 +00:00
- [umac.c] Enforce allowed umac output sizes. From djm@.
This commit is contained in:
parent
ee4ad778d7
commit
50ce447ef9
@ -47,6 +47,7 @@
|
||||
use -Ocheck and waiting for completions by PID to make multiplexing test
|
||||
less racy and (hopefully) more reliable on slow hardware.
|
||||
- [Makefile umac.c] Add special-case target to build umac128.o.
|
||||
- [umac.c] Enforce allowed umac output sizes. From djm@.
|
||||
|
||||
20120917
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
|
6
umac.c
6
umac.c
@ -55,6 +55,12 @@
|
||||
#ifndef UMAC_OUTPUT_LEN
|
||||
#define UMAC_OUTPUT_LEN 8 /* Alowable: 4, 8, 12, 16 */
|
||||
#endif
|
||||
|
||||
#if UMAC_OUTPUT_LEN != 4 && UMAC_OUTPUT_LEN != 8 && \
|
||||
UMAC_OUTPUT_LEN != 12 && UMAC_OUTPUT_LEN != 16
|
||||
# error UMAC_OUTPUT_LEN must be defined to 4, 8, 12 or 16
|
||||
#endif
|
||||
|
||||
/* #define FORCE_C_ONLY 1 ANSI C and 64-bit integers req'd */
|
||||
/* #define AES_IMPLEMENTAION 1 1 = OpenSSL, 2 = Barreto, 3 = Gladman */
|
||||
/* #define SSE2 0 Is SSE2 is available? */
|
||||
|
Loading…
Reference in New Issue
Block a user