repo.or.cz
/
tomato
/
davidwu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git]
/
release
/
src
/
router
/
dropbear
/
libtomcrypt
/
testprof
/
mac_test.c
blob
410e4b5a2e05f136aca89538f3d03f061b3f3816
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 $ */