ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] How do I expose ECDSA-Sig-Value as a dissect function in pkcs1?

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
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
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)