Mercurial > dropbear
comparison libtomcrypt/testprof/mac_test.c @ 399:a707e6148060
merge of '5fdf69ca60d1683cdd9f4c2595134bed26394834'
and '6b61c50f4cf888bea302ac8fcf5dbb573b443251'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 03 Feb 2007 08:20:34 +0000 |
parents | 0cbe8f6dbf9e |
children | f849a5ca2efc |
comparison
equal
deleted
inserted
replaced
394:17d097fc111c | 399:a707e6148060 |
---|---|
1 /* test pmac/omac/hmac */ | |
2 #include <tomcrypt_test.h> | |
3 | |
4 int mac_test(void) | |
5 { | |
6 #ifdef LTC_HMAC | |
7 DO(hmac_test()); | |
8 #endif | |
9 #ifdef LTC_PMAC | |
10 DO(pmac_test()); | |
11 #endif | |
12 #ifdef LTC_OMAC | |
13 DO(omac_test()); | |
14 #endif | |
15 #ifdef LTC_XCBC | |
16 DO(xcbc_test()); | |
17 #endif | |
18 #ifdef LTC_F9_MODE | |
19 DO(f9_test()); | |
20 #endif | |
21 #ifdef EAX_MODE | |
22 DO(eax_test()); | |
23 #endif | |
24 #ifdef OCB_MODE | |
25 DO(ocb_test()); | |
26 #endif | |
27 #ifdef CCM_MODE | |
28 DO(ccm_test()); | |
29 #endif | |
30 #ifdef GCM_MODE | |
31 DO(gcm_test()); | |
32 #endif | |
33 #ifdef PELICAN | |
34 DO(pelican_test()); | |
35 #endif | |
36 return 0; | |
37 } | |
38 | |
39 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */ | |
40 /* $Revision: 1.5 $ */ | |
41 /* $Date: 2006/11/08 21:57:04 $ */ |