dh: fix renamed macro

This commit is contained in:
Steffen Jaeckel 2014-02-25 09:59:21 +01:00
parent 77cca4175f
commit 65fd19c1fb
3 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ int katja_import(const unsigned char *in, unsigned long inlen, katja_key *key);
#endif
/* ---- DH Routines ---- */
#ifdef MDH
#ifdef LTC_MDH
typedef struct Dh_key {
int idx, type;

View File

@ -15,7 +15,7 @@
DH crypto, Tom St Denis
*/
#ifdef MDH
#ifdef LTC_MDH
/* size of a packet header in bytes */
#define PACKET_SIZE 4

View File

@ -1,6 +1,6 @@
#include <tomcrypt_test.h>
#ifdef MDH
#ifdef LTC_MDH
#ifdef DH4096
#define KEYSIZE 4096