Mercurial > dropbear
comparison libtomcrypt/testprof/mac_test.c @ 389:5ff8218bcee9
propagate from branch 'au.asn.ucc.matt.ltm.dropbear' (head 2af95f00ebd5bb7a28b3817db1218442c935388e)
to branch 'au.asn.ucc.matt.dropbear' (head ecd779509ef23a8cdf64888904fc9b31d78aa933)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 03:14:55 +0000 |
parents | 0cbe8f6dbf9e |
children | f849a5ca2efc |
comparison
equal
deleted
inserted
replaced
388:fb54020f78e1 | 389:5ff8218bcee9 |
---|---|
1 /* test pmac/omac/hmac */ | |
2 #include <tomcrypt_test.h> | |
3 | |
4 int mac_test(void) | |
5 { | |
6 #ifdef LTC_HMAC | |
7 DO(hmac_test()); | |
8 #endif | |
9 #ifdef LTC_PMAC | |
10 DO(pmac_test()); | |
11 #endif | |
12 #ifdef LTC_OMAC | |
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()); | |
20 #endif | |
21 #ifdef EAX_MODE | |
22 DO(eax_test()); | |
23 #endif | |
24 #ifdef OCB_MODE | |
25 DO(ocb_test()); | |
26 #endif | |
27 #ifdef CCM_MODE | |
28 DO(ccm_test()); | |
29 #endif | |
30 #ifdef GCM_MODE | |
31 DO(gcm_test()); | |
32 #endif | |
33 #ifdef PELICAN | |
34 DO(pelican_test()); | |
35 #endif | |
36 return 0; | |
37 } | |
38 | |
39 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */ | |
40 /* $Revision: 1.5 $ */ | |
41 /* $Date: 2006/11/08 21:57:04 $ */ |