comparison libtomcrypt/testprof/mac_test.c @ 330:5488db2e9e4e

merge of 332f709a4cb39cde4cedab7c3be89e05f3023067 and ca4ca78b82c5d430c69ce01bf794e8886ce81431
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Jun 2006 16:39:40 +0000
parents 1b9e69c058d2
children 0cbe8f6dbf9e
comparison
equal deleted inserted replaced
329:8ed0dce45126 330:5488db2e9e4e
1 /* test pmac/omac/hmac */
2 #include <tomcrypt_test.h>
3
4 int mac_test(void)
5 {
6 #ifdef HMAC
7 DO(hmac_test());
8 #endif
9 #ifdef PMAC
10 DO(pmac_test());
11 #endif
12 #ifdef OMAC
13 DO(omac_test());
14 #endif
15 #ifdef EAX_MODE
16 DO(eax_test());
17 #endif
18 #ifdef OCB_MODE
19 DO(ocb_test());
20 #endif
21 #ifdef CCM_MODE
22 DO(ccm_test());
23 #endif
24 #ifdef GCM_MODE
25 DO(gcm_test());
26 #endif
27 #ifdef PELICAN
28 DO(pelican_test());
29 #endif
30 return 0;
31 }
32
33 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */
34 /* $Revision: 1.3 $ */
35 /* $Date: 2005/05/05 14:35:59 $ */