Wireshark mailing list archives

How do I expose ECDSA-Sig-Value as a dissect function in pkcs1?


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Thu, 7 May 2020 07:56:22 -0700

Hi folks,

I need a dissector for an EDCSA-Sig-Value, and it is nicely defined in
epan/dissectors/asn1/pkcs1/PKIXAlgs-2009.asn as:

-----------------------------
   ECDSA-Sig-Value ::= SEQUENCE {
    r  INTEGER,
    s  INTEGER
   }
-----------------------------

I tried the obvious by adding it as an export to the pkcs1.cnf file by
adding it to the .EXPORTS section but perhaps I forgot to remove it
from the .NO_EMIT section ...

Is that all I need to do (and then re-run the command to generate the
new packet-pcks1.c file?)

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: