Mercurial > dropbear
comparison testprof/mac_test.c @ 380:d5faf4814ddb libtomcrypt-orig libtomcrypt-1.16
Update to LibTomCrypt 1.16
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 02:22:00 +0000 |
parents | 59400faa4b44 |
children |
comparison
equal
deleted
inserted
replaced
280:59400faa4b44 | 380:d5faf4814ddb |
---|---|
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 $ */ |