comparison testprof/mac_test.c @ 381:999a5eb4ed10 libtomcrypt-dropbear

propagate from branch 'au.asn.ucc.matt.ltc.orig' (head 52840647ac7f5c707c3bd158d119a15734a7ef28) to branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:39:21 +0000
parents d5faf4814ddb
children
comparison
equal deleted inserted replaced
281:997e6f7dc01e 381:999a5eb4ed10
1 /* test pmac/omac/hmac */ 1 /* test pmac/omac/hmac */
2 #include <tomcrypt_test.h> 2 #include <tomcrypt_test.h>
3 3
4 int mac_test(void) 4 int mac_test(void)
5 { 5 {
6 #ifdef HMAC 6 #ifdef LTC_HMAC
7 DO(hmac_test()); 7 DO(hmac_test());
8 #endif 8 #endif
9 #ifdef PMAC 9 #ifdef LTC_PMAC
10 DO(pmac_test()); 10 DO(pmac_test());
11 #endif 11 #endif
12 #ifdef OMAC 12 #ifdef LTC_OMAC
13 DO(omac_test()); 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());
14 #endif 20 #endif
15 #ifdef EAX_MODE 21 #ifdef EAX_MODE
16 DO(eax_test()); 22 DO(eax_test());
17 #endif 23 #endif
18 #ifdef OCB_MODE 24 #ifdef OCB_MODE
29 #endif 35 #endif
30 return 0; 36 return 0;
31 } 37 }
32 38
33 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */ 39 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */
34 /* $Revision: 1.3 $ */ 40 /* $Revision: 1.5 $ */
35 /* $Date: 2005/05/05 14:35:59 $ */ 41 /* $Date: 2006/11/08 21:57:04 $ */