comparison libtomcrypt/testprof/mac_test.c @ 398:59c7938af2bd

merge of '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c' and '7f8670ac3bb975f40967f3979d09d2199b7e90c8'
author Matt Johnston <matt@ucc.asn.au>
date Sat, 03 Feb 2007 08:20:30 +0000
parents 0cbe8f6dbf9e
children f849a5ca2efc
comparison
equal deleted inserted replaced
396:e7c1a77d2921 398:59c7938af2bd
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 $ */