comparison testprof/mac_test.c @ 191:1c15b283127b libtomcrypt-orig

Import of libtomcrypt 1.02 with manual path rename rearrangement etc
author Matt Johnston <matt@ucc.asn.au>
date Fri, 06 May 2005 13:23:02 +0000
parents
children 39d5d58461d6
comparison
equal deleted inserted replaced
143:5d99163f7e32 191:1c15b283127b
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 }