Some small performance improvements on 32-bit architectures.

This commit is contained in:
Thomas Pornin 2019-01-03 19:50:54 +01:00
parent 08eb07825b
commit 001d094d14
7 changed files with 122 additions and 38 deletions

View file

@ -1739,7 +1739,7 @@ p256_decode(p256_jacobian *P, const void *src, size_t len)
memcpy(P->y, ty, sizeof ty);
memset(P->z, 0, sizeof P->z);
P->z[0] = 1;
return NEQ(bad, 0) ^ 1;
return EQ(bad, 0);
}
/*