diff --git a/c_monocypher.pyx b/c_monocypher.pyx index 01ecafe..ce579c9 100644 --- a/c_monocypher.pyx +++ b/c_monocypher.pyx @@ -12,7 +12,7 @@ import warnings # also edit setup.py -__version__ = '4.0.2.3' # also change setup.py +__version__ = '4.0.2.4' # also change setup.py __title__ = 'pymonocypher' __description__ = 'Python ctypes bindings to the Monocypher library' __url__ = 'https://github.com/jetperch/pymonocypher' @@ -325,7 +325,7 @@ def argon2i_32(nb_blocks, nb_iterations, password, salt, key=None, ad=None) -> b cdef crypto_argon2_config config; config.algorithm = 1 - config.nb_block = nb_blocks + config.nb_blocks = nb_blocks config.nb_passes = nb_iterations config.nb_lanes = 1 diff --git a/setup.py b/setup.py index e9bf884..175a5bf 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ import os MYPATH = os.path.abspath(os.path.dirname(__file__)) -VERSION = '4.0.2.3' # also change c_monocypher.pyx +VERSION = '4.0.2.4' # also change c_monocypher.pyx try: