1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 17:58:13 +00:00
simplesshd/dropbear/libtomcrypt/testprof/mac_test.c

42 lines
592 B
C
Raw Normal View History

2014-12-10 21:56:49 +00:00
/* test pmac/omac/hmac */
#include <tomcrypt_test.h>
int mac_test(void)
{
#ifdef LTC_HMAC
DO(hmac_test());
#endif
#ifdef LTC_PMAC
DO(pmac_test());
#endif
#ifdef LTC_OMAC
DO(omac_test());
#endif
#ifdef LTC_XCBC
DO(xcbc_test());
#endif
#ifdef LTC_F9_MODE
DO(f9_test());
#endif
2019-06-09 20:44:26 +00:00
#ifdef LTC_EAX_MODE
2014-12-10 21:56:49 +00:00
DO(eax_test());
#endif
2019-06-09 20:44:26 +00:00
#ifdef LTC_OCB_MODE
2014-12-10 21:56:49 +00:00
DO(ocb_test());
#endif
2019-06-09 20:44:26 +00:00
#ifdef LTC_CCM_MODE
2014-12-10 21:56:49 +00:00
DO(ccm_test());
#endif
2019-06-09 20:44:26 +00:00
#ifdef LTC_GCM_MODE
2014-12-10 21:56:49 +00:00
DO(gcm_test());
#endif
2019-06-09 20:44:26 +00:00
#ifdef LTC_PELICAN
2014-12-10 21:56:49 +00:00
DO(pelican_test());
#endif
return 0;
}
2019-06-09 20:44:26 +00:00
/* $Source$ */
/* $Revision$ */
/* $Date$ */