Open
Description
You are able to call new(:GFp, p, a, b)
but are not able to pull those values later.
This becomes a problem when you want to for instance open a curve by name and the the value for field for modular operations. I think we should support a method like OpenSSL::PKey::EC::Group#curve_params => [ :GFp, p, a, b ]
This will require doing a little more work because that getter will first need to query the EC_GROUP_method_of
for the group, then if it is GFp or GF2m pull the values of the field, a, b, etc as needed for the curve type. Since creating a new curve this is supported it can be a get only attribute.
Metadata
Metadata
Assignees
Labels
No labels