Mercurial > dropbear
view libtomcrypt/testprof/mac_test.c @ 1659:d32bcb5c557d
Add Ed25519 support (#91)
* Add support for Ed25519 as a public key type
Ed25519 is a elliptic curve signature scheme that offers
better security than ECDSA and DSA and good performance. It may be
used for both user and host keys.
OpenSSH key import and fuzzer are not supported yet.
Initially inspired by Peter Szabo.
* Add curve25519 and ed25519 fuzzers
* Add import and export of Ed25519 keys
author | Vladislav Grishenko <themiron@users.noreply.github.com> |
---|---|
date | Wed, 11 Mar 2020 21:09:45 +0500 |
parents | f849a5ca2efc |
children |
line wrap: on
line source
/* 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 #ifdef LTC_EAX_MODE DO(eax_test()); #endif #ifdef LTC_OCB_MODE DO(ocb_test()); #endif #ifdef LTC_CCM_MODE DO(ccm_test()); #endif #ifdef LTC_GCM_MODE DO(gcm_test()); #endif #ifdef LTC_PELICAN DO(pelican_test()); #endif return 0; } /* $Source$ */ /* $Revision$ */ /* $Date$ */