comparison libtomcrypt/testprof/mac_test.c @ 478:d4f32c3443ac dbclient-netcat-alike

propagate from branch 'au.asn.ucc.matt.dropbear' (head f21045c791002d81fc6b8dde6537ea481e513eb2) to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 14 Sep 2008 06:47:51 +0000
parents 0cbe8f6dbf9e
children f849a5ca2efc
comparison
equal deleted inserted replaced
296:6b41e2cbf071 478:d4f32c3443ac
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 $ */