comparison libtomcrypt/testprof/mac_test.c @ 285:1b9e69c058d2

propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3) to branch 'au.asn.ucc.matt.dropbear' (head fdf4a7a3b97ae5046139915de7e40399cceb2c01)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 13:23:58 +0000
parents
children 0cbe8f6dbf9e
comparison
equal deleted inserted replaced
281:997e6f7dc01e 285:1b9e69c058d2
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 $ */