Skip to content

call fe_verfiy for not normalized field element in fe_set_b32 #1061

@siv2r

Description

@siv2r

#ifdef VERIFY
r->magnitude = 1;
if (ret) {
r->normalized = 1;
secp256k1_fe_verify(r);
} else {
r->normalized = 0;
}
#endif

Shouldn't the call to secp256k1_fe_verify come after the else block?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions