diff options
Diffstat (limited to 'umac.c')
-rw-r--r-- | umac.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -52,7 +52,15 @@ | |||
52 | /* --- User Switches ---------------------------------------------------- */ | 52 | /* --- User Switches ---------------------------------------------------- */ |
53 | /* ---------------------------------------------------------------------- */ | 53 | /* ---------------------------------------------------------------------- */ |
54 | 54 | ||
55 | #ifndef UMAC_OUTPUT_LEN | ||
55 | #define UMAC_OUTPUT_LEN 8 /* Alowable: 4, 8, 12, 16 */ | 56 | #define UMAC_OUTPUT_LEN 8 /* Alowable: 4, 8, 12, 16 */ |
57 | #endif | ||
58 | |||
59 | #if UMAC_OUTPUT_LEN != 4 && UMAC_OUTPUT_LEN != 8 && \ | ||
60 | UMAC_OUTPUT_LEN != 12 && UMAC_OUTPUT_LEN != 16 | ||
61 | # error UMAC_OUTPUT_LEN must be defined to 4, 8, 12 or 16 | ||
62 | #endif | ||
63 | |||
56 | /* #define FORCE_C_ONLY 1 ANSI C and 64-bit integers req'd */ | 64 | /* #define FORCE_C_ONLY 1 ANSI C and 64-bit integers req'd */ |
57 | /* #define AES_IMPLEMENTAION 1 1 = OpenSSL, 2 = Barreto, 3 = Gladman */ | 65 | /* #define AES_IMPLEMENTAION 1 1 = OpenSSL, 2 = Barreto, 3 = Gladman */ |
58 | /* #define SSE2 0 Is SSE2 is available? */ | 66 | /* #define SSE2 0 Is SSE2 is available? */ |