CVS patchset: 5489
CVS date: 2002/06/15 18:11:05
#include "mp32.h"
#include "debug.h"
+/*@-exportheadervar -exportlocal@*/ /* FIX: tables needed by aes asm */
/**
*/
/*@observer@*/ /*@unchecked@*/
0xe1e1e1e1, 0x69696969, 0x14141414, 0x63636363,
0x55555555, 0x21212121, 0x0c0c0c0c, 0x7d7d7d7d
};
+/*@=exportheadervar =exportlocal@*/
/**
*/
#include "dhaes.h"
#include "dlkp.h"
#include "elgamal.h"
-#include "fips180.h"
+#include "sha1.h"
#include "hmacmd5.h"
#include "md5.h"
#include "rsa.h"
#define LEADING_UNDERSCORE 0
#define NO_UNDERSCORES 1
-#define JAVAGLUE 1
+#define JAVAGLUE 0
#define HAVE_ERRNO_H 1
#define HAVE_STRING_H 1
if (m->size > psize || m->size > qsize)
return -1;
- ptemp = (uint32*) malloc((6*psize+2)*sizeof(uint32));
- if (ptemp == (uint32*) 0)
+ ptemp = (uint32*) malloc((6*psize+2)*sizeof(*ptemp));
+ if (ptemp == NULL)
return -1;
- qtemp = (uint32*) malloc((6*qsize+2)*sizeof(uint32));
- if (qtemp == (uint32*) 0)
+ qtemp = (uint32*) malloc((6*qsize+2)*sizeof(*qtemp));
+ if (qtemp == NULL)
{
free(ptemp);
return -1;