Mercurial > dropbear
comparison testprof/mac_test.c @ 280:59400faa4b44 libtomcrypt-orig libtomcrypt-1.05
Re-import libtomcrypt 1.05 for cleaner propagating.
From crypt-1.05.tar.bz2, SHA1 of 88250202bb51570dc64f7e8f1c943cda9479258f
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 08 Mar 2006 12:58:00 +0000 |
parents | |
children | d5faf4814ddb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 280:59400faa4b44 |
---|---|
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 } | |
32 | |
33 /* $Source: /cvs/libtom/libtomcrypt/testprof/mac_test.c,v $ */ | |
34 /* $Revision: 1.3 $ */ | |
35 /* $Date: 2005/05/05 14:35:59 $ */ |