[ndnSIM] [EXT] Unsupported EC key length

Walter Swift waltersw3606 at gmail.com
Mon Nov 29 22:05:23 PST 2021


Hi Junxiao,

Thanks for your reply.
I tried to use the following command to diagnose my problem as your
suggestion: ./waf --command-template="valgrind --leak-check=full
--show-reachable=yes --log-file=error %s" --run ndn-simple
and get this output file
<https://drive.google.com/file/d/1WuDottbiAgdpzgLHIkOS5vkJcwE0cyo_/view?usp=sharing>,
which shows that this program has 35 error from 18 contexts.

However, I run the same command on unmodified ndnSIM, its output file
<https://drive.google.com/file/d/1ALYX9HdZeVIFhEJuHwjux0Z5_AGGS0ud/view?usp=sharing>
has
129 error from 5 context.
I'm so confused

Sincerely yours,
Walter Swift


Junxiao Shi <shijunxiao at email.arizona.edu> 於 2021年11月8日 週一 上午6:32寫道:

> Hi Walter
>
> "The key length will change every time I run my program" indicates that
> your program contains uninitialized memory.
> Use *valgrind* tool to diagnose this problem.
> See this document on how to start an ns-3 scenario in valgrind:
> https://www.nsnam.org/wiki/HOWTO_use_Valgrind_to_debug_memory_problems
>
> Yours, Junxiao
>
> On Mon, Nov 1, 2021, 09:16 Walter Swift via ndnSIM <
> ndnsim at lists.cs.ucla.edu> wrote:
>
>> *External Email*
>> Hello everyone,
>>
>> I'm trying to create an Identity to create a key to sign the signature,
>> the following is a snippet of my program:
>> ndn::KeyChain keychain;
>> auto pas = keychain.getDefaultKeyParams();
>> auto my_id = keychain.createIdentity("pro1, pas);
>>
>> However, I receive an following message while running my program and it
>> will be terminated:
>> terminate called after throwing an instance of
>> 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::invalid_argument>
>> >'
>>     what(): Unsupported EC key length 2120880896
>>
>> The key length will change every time I run my program, could you help me
>> to solve this?
>> Thanks and regards
>>
>> Sincerely yours,
>> Walter Swift
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20211130/1f09cb71/attachment.html>


More information about the ndnSIM mailing list