Skip to content

gh-99108: Initial import of HACL-SHA3 into Python #103597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 8, 2023
Merged
Prev Previous commit
Next Next commit
Forgot to release local buffer
  • Loading branch information
msprotz committed May 6, 2023
commit 4b58915accc1a76e1847fbf594ef08f0aa3cfd07
2 changes: 2 additions & 0 deletions Modules/sha3module.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ py_sha3_new_impl(PyTypeObject *type, PyObject *data, int usedforsecurity)
sha3_update(self->hash_state, buf.buf, buf.len);
}

PyBuffer_Release(&buf);

return (PyObject *)self;

error:
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy