[ndnSIM] [EXT] Unsupported EC key length

Junxiao Shi shijunxiao at email.arizona.edu
Sun Nov 7 14:32:17 PST 2021

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:

Yours, Junxiao

On Mon, Nov 1, 2021, 09:16 Walter Swift via ndnSIM <ndnsim at lists.cs.ucla.edu>

> *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/20211107/f43344d9/attachment.html>

More information about the ndnSIM mailing list