Skip to content

ECDSA signature verification include derivation of s1 and s2 #404

@winstonDeGreef

Description

@winstonDeGreef

Section 23.7.2 defining the verification of ECDSA, step 6:

Perform the ECDSA verifying process, as specified in [RFC6090], Section 5.3, with M as the received message, signature as the received signature and using params as the EC domain parameters, and Q as the public key.

However, section 5.3 of RFC 6090 doesn't specify a way to turn a binary value into the two required integers s1 and s2. The previous section defining signing does define a way to turn the integers s1 and s2 into a binary value, so section 23.7.2 should too.

Also, as a developer It'd be nice to get an error saying that the signature has a length that means it can't possibly be in the right format for this function.

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