[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] How do I expose ECDSA-Sig-Value as a dissect function in pkcs1?
From:       Richard Sharpe <realrichardsharpe () gmail ! com>
Date:       2020-05-07 16:29:38
Message-ID: CACyXjPwvJRoOR4ZtErpycUxQWXEPJ5tZkP6_DSSU8J3fc3AmXQ () mail ! gmail ! com
[Download RAW message or body]

On Thu, May 7, 2020 at 8:04 AM Pascal Quantin <pascal@wireshark.org> wrote:
>
> Hi Richard,
>
> Le jeu. 7 mai 2020   17:01, Richard Sharpe <realrichardsharpe@gmail.com> a écrit :
>>
>> 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 ...
>
>
> Do you need a dissector registered by name, or a function to call?

Just a function to call.

After sending this message I tried removing it from the .NO_EMIT
section and adding it to the .EXPORTS section and wonder of wonders, I
got a callable function that does what I need :-)

-- 
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic