Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 23, 2025

  • Remove legacy typedefs MD5_INT32 and MD5_INT64 in Modules/md5module.c
  • Remove legacy typedefs SHA1_INT32 and SHA1_INT64 in Modules/sha1module.c.

Those legacy typedefs were used to detect whether the host platform could
correctly implement MD5 and SHA-1, but this is no longer needed as we now
fallback to HACL* implementations.
(cherry picked from commit a9a399f)

Co-authored-by: Bénédikt Tran [email protected]

pythonGH-131420)

- Remove legacy typedefs `MD5_INT32` and `MD5_INT64` in `Modules/md5module.c`
- Remove legacy typedefs `SHA1_INT32` and `SHA1_INT64` in `Modules/sha1module.c`.

Those legacy typedefs were used to detect whether the host platform could
correctly implement MD5 and SHA-1, but this is no longer needed as we now
fallback to HACL* implementations.
(cherry picked from commit a9a399f)

Co-authored-by: Bénédikt Tran <[email protected]>
@miss-islington miss-islington requested a review from tiran as a code owner March 23, 2025 11:22
@picnixz picnixz enabled auto-merge (squash) March 23, 2025 11:22
@picnixz picnixz merged commit 63a4273 into python:3.12 Mar 23, 2025
28 of 29 checks passed
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.

2 participants