[erlang-questions] exception error: bad argument in function crypto:ec_key_generate/2

Kenneth Lakin kennethlakin@REDACTED
Sun Jul 24 00:42:23 CEST 2016


On 07/23/2016 09:29 AM, Gabriele Santomaggio wrote:
> Executing this code:
> 
> crypto:generate_key(ecdh, secp112r2).
> 
> on centos 6/7 I get this error:

This is a shot in the dark, but does the list returned by
crypto:ec_curves() contain secp112r2 on your CentOS machine?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160723/ac74c99a/attachment.bin>


More information about the erlang-questions mailing list