Stop warnings.
This commit is contained in:
parent
199e92bb57
commit
949c6f8ccf
@ -98,7 +98,7 @@
|
|||||||
: "cc"); \
|
: "cc"); \
|
||||||
(r)=carry, carry=high; \
|
(r)=carry, carry=high; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
#undef sqr
|
||||||
#define sqr(r0,r1,a) \
|
#define sqr(r0,r1,a) \
|
||||||
asm ("mulq %2" \
|
asm ("mulq %2" \
|
||||||
: "=a"(r0),"=d"(r1) \
|
: "=a"(r0),"=d"(r1) \
|
||||||
|
@ -86,7 +86,7 @@ static void gcmtest(int encrypt)
|
|||||||
unsigned char *key = NULL, *iv = NULL, *aad = NULL, *tag = NULL;
|
unsigned char *key = NULL, *iv = NULL, *aad = NULL, *tag = NULL;
|
||||||
unsigned char *ct = NULL, *pt = NULL;
|
unsigned char *ct = NULL, *pt = NULL;
|
||||||
EVP_CIPHER_CTX ctx;
|
EVP_CIPHER_CTX ctx;
|
||||||
const EVP_CIPHER *gcm;
|
const EVP_CIPHER *gcm = NULL;
|
||||||
FIPS_cipher_ctx_init(&ctx);
|
FIPS_cipher_ctx_init(&ctx);
|
||||||
|
|
||||||
while(fgets(buf,sizeof buf,stdin) != NULL)
|
while(fgets(buf,sizeof buf,stdin) != NULL)
|
||||||
|
@ -209,12 +209,12 @@ static void pqgver()
|
|||||||
char lbuf[1024];
|
char lbuf[1024];
|
||||||
char *keyword, *value;
|
char *keyword, *value;
|
||||||
BIGNUM *p = NULL, *q = NULL, *g = NULL;
|
BIGNUM *p = NULL, *q = NULL, *g = NULL;
|
||||||
int counter, counter2;
|
int counter=-1, counter2;
|
||||||
unsigned long h, h2;
|
unsigned long h=-1, h2;
|
||||||
DSA *dsa=NULL;
|
DSA *dsa=NULL;
|
||||||
int dsa2, L, N, part_test = 0;
|
int dsa2, L, N, part_test = 0;
|
||||||
const EVP_MD *md = NULL;
|
const EVP_MD *md = NULL;
|
||||||
int seedlen;
|
int seedlen=-1;
|
||||||
unsigned char seed[1024];
|
unsigned char seed[1024];
|
||||||
|
|
||||||
while(fgets(buf,sizeof buf,stdin) != NULL)
|
while(fgets(buf,sizeof buf,stdin) != NULL)
|
||||||
|
@ -312,7 +312,7 @@ static int SigVer(void)
|
|||||||
{
|
{
|
||||||
char buf[2048], lbuf[2048];
|
char buf[2048], lbuf[2048];
|
||||||
char *keyword, *value;
|
char *keyword, *value;
|
||||||
unsigned char *msg;
|
unsigned char *msg = NULL;
|
||||||
int curve_nid = NID_undef;
|
int curve_nid = NID_undef;
|
||||||
long mlen;
|
long mlen;
|
||||||
BIGNUM *Qx = NULL, *Qy = NULL;
|
BIGNUM *Qx = NULL, *Qy = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user