Skip to content

Commit

Permalink
Merge pull request #10 from ioerror/fix-argon2i_32-pyx
Browse files Browse the repository at this point in the history
Fix monocypher.argon2i_32
  • Loading branch information
mliberty1 authored Aug 17, 2024
2 parents 2784477 + 9af645a commit 0ada0c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions c_monocypher.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0ada0c8

Please sign in to comment.