Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wolfcrypt/src/ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2704,7 +2704,6 @@ int ecc_projective_dbl_point(ecc_point *P, ecc_point *R, mp_int* a,
int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct)
{
int err = MP_OKAY;
mp_int *x, *y, *z;
(void)ct;

if (P == NULL || modulus == NULL){
Expand All @@ -2719,6 +2718,7 @@ int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct)
DECL_MP_INT_SIZE_DYN(ry, mp_bitsused(modulus), MAX_ECC_BITS_USE);
DECL_MP_INT_SIZE_DYN(rz, mp_bitsused(modulus), MAX_ECC_BITS_USE);
#endif
mp_int *x, *y, *z;

/* special case for point at infinity */
if (mp_cmp_d(P->z, 0) == MP_EQ) {
Expand Down
Loading