Skip to content

Add defines for the block and digest sizes.#16

Open
sadiepowell wants to merge 1 commit intoclibs:masterfrom
sadiepowell:size
Open

Add defines for the block and digest sizes.#16
sadiepowell wants to merge 1 commit intoclibs:masterfrom
sadiepowell:size

Conversation

@sadiepowell
Copy link
Copy Markdown
Contributor

Having a define for this helps avoid security and other issues that can appear when using magic numbers.

This mimics the behaviour seen in other libraries like Olivier Gay's excellent SHA-2 library.

Having a define for this helps avoid security and other issues
that can appear when using magic numbers.

This mimics the behaviour seen in other libraries like Olivier
Gay's excellent SHA-2 library.
@sadiepowell
Copy link
Copy Markdown
Contributor Author

Is there anything blocking this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants