aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/params.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/ec/params.py')
-rw-r--r--pyecsca/ec/params.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyecsca/ec/params.py b/pyecsca/ec/params.py
index 63cdf05..1feb61b 100644
--- a/pyecsca/ec/params.py
+++ b/pyecsca/ec/params.py
@@ -1,5 +1,5 @@
"""
-This module provides functions for obtaining domain parameters from the `std-curves <https://github.com/J08nY/std-curves>`_ repository.
+Provides functions for obtaining domain parameters from the `std-curves <https://github.com/J08nY/std-curves>`_ repository.
It also provides a domain parameter class and a class for a whole category of domain parameters.
"""
@@ -340,6 +340,7 @@ def get_params(
json_path = join("std", category, "curves.json")
with resource_stream(__name__, json_path) as f:
category_json = json.load(f)
+ curve = None
for curve in category_json["curves"]:
if curve["name"] == name:
break