René's URL Explorer Experiment


Title: gh-99108: Refresh HACL*; update modules accordingly; fix namespacing by msprotz · Pull Request #117237 · python/cpython · GitHub

Open Graph Title: gh-99108: Refresh HACL*; update modules accordingly; fix namespacing by msprotz · Pull Request #117237 · python/cpython

X Title: gh-99108: Refresh HACL*; update modules accordingly; fix namespacing by msprotz · Pull Request #117237 · python/cpython

Description: This refreshes the bundled copy of HACL* with the latest upstream. This is pulling from the latest main. Upstream HACL* improvements contained in this PR: C code quality improvement: remove a majority of the integer casts API improvement: consistent naming of all hash APIs and parameter names, removing jargon ("finish", "create_in") in favor of useful names ("digest", "malloc"), and align all APIs to be of the form Hacl_Hash_XXX In addition, this PR contains: a small fix to the "refresh" script: it turns out the python namespacing strategy (to avoid static linking conflicts) was only being applied to one of the HACL modules; it now applies uniformly to all modules, and I added a comment to that effect to make sure the namespacing mechanism is effective corresponding changes in Modules/ to use the new function names from the improved API I would like to start the Blake2 discussion with a corresponding PR soon, so this is a prerequisite before opening the topic of Blake2 -- we finally found time to implement all the APIs needed by Python, so we should be able to hook CPython to HACL*'s Blake2. CC @gpshead for review. Thanks! Issue: gh-99108

Open Graph Description: This refreshes the bundled copy of HACL* with the latest upstream. This is pulling from the latest main. Upstream HACL* improvements contained in this PR: C code quality improvement: remove a majo...

X Description: This refreshes the bundled copy of HACL* with the latest upstream. This is pulling from the latest main. Upstream HACL* improvements contained in this PR: C code quality improvement: remove a majo...

Opengraph URL: https://github.com/python/cpython/pull/117237

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0a353868-cc99-8110-24fd-1d82c5774422
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A18:9F9DA:1B1D42A:254FC57:696AAA31
html-safe-nonce0ad1175a322734ab489704b5f5f54ebc10aca76c1f5c151bd29f583b4250ef07
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTE4OjlGOURBOjFCMUQ0MkE6MjU0RkM1Nzo2OTZBQUEzMSIsInZpc2l0b3JfaWQiOiI0NjExMTU2ODExNTA1NjQyMDMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca2bc128659aa34a6c3c821aa085ab55102be08e7606cd438617677fa369f8bb2
hovercard-subject-tagpull_request:1790379781
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/117237/files
twitter:imagehttps://avatars.githubusercontent.com/u/10673049?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10673049?s=400&v=4
og:image:altThis refreshes the bundled copy of HACL* with the latest upstream. This is pulling from the latest main. Upstream HACL* improvements contained in this PR: C code quality improvement: remove a majo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd9a979046e6382bd084e2bd873bf65f797125ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/117237/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117237%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117237%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/117237/files
Reloadhttps://github.com/python/cpython/pull/117237/files
Reloadhttps://github.com/python/cpython/pull/117237/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
msprotz:refresh_haclhttps://github.com/msprotz/cpython/tree/refresh_hacl
Conversation 7 https://github.com/python/cpython/pull/117237
Commits 3 https://github.com/python/cpython/pull/117237/commits
Checks 0 https://github.com/python/cpython/pull/117237/checks
Files changed https://github.com/python/cpython/pull/117237/files
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
gh-99108: Refresh HACL*; update modules accordingly; fix namespacing https://github.com/python/cpython/pull/117237/files#top
Show all changes 3 commits https://github.com/python/cpython/pull/117237/files
81b42f2 Refresh HACL*; update modules accordingly; fix namespacing msprotz Mar 25, 2024 https://github.com/python/cpython/pull/117237/commits/81b42f2902bc00eac1f1b4e51609111e9ab36e60
9514fb4 make regen-sbom msprotz Mar 25, 2024 https://github.com/python/cpython/pull/117237/commits/9514fb4016b7dd1129d1a00e4162c148e392e79e
c5de4c3 NEWS entry. gpshead Mar 26, 2024 https://github.com/python/cpython/pull/117237/commits/c5de4c3806c90c95ab4f20b0269d91b950453797
Clear filters https://github.com/python/cpython/pull/117237/files
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
2024-03-25-17-04-54.gh-issue-99108.8bjdO6.rst https://github.com/python/cpython/pull/117237/files#diff-008ca0858dd60015b5552d9cf558a962f86052e02d2afc8f86ebfbcfbce51e0c
sbom.spdx.json https://github.com/python/cpython/pull/117237/files#diff-5a33def121ae2e5f5527bbce858b7bee06bf6afef96cf519fb78f32dff6a03fe
Hacl_Hash_MD5.c https://github.com/python/cpython/pull/117237/files#diff-724175684c325d41eb2c226049380ca6508a79e7fa20a70d250a4294e74b0e3e
Hacl_Hash_MD5.h https://github.com/python/cpython/pull/117237/files#diff-613d1493853e619481eda41b6adf3b01e9ddba573b0cecdd0c0e90ccbfa98397
Hacl_Hash_SHA1.c https://github.com/python/cpython/pull/117237/files#diff-3fe5e815af29fd70318e11473f12a6ce8da522b759e345375e67ac81f26d5bdf
Hacl_Hash_SHA1.h https://github.com/python/cpython/pull/117237/files#diff-00d3b9fe1a98dcde35a9c2a478ac42c9911d81f5fb2657fa7b9db3173205b927
Hacl_Hash_SHA2.c https://github.com/python/cpython/pull/117237/files#diff-8ad2fa289902dd072cc8bf58f6dd8bcd1a2c1ad73b0144fd5ff8604b440fd86c
Hacl_Hash_SHA2.h https://github.com/python/cpython/pull/117237/files#diff-ef777aaad2f7422f080e75669f1df521ba421c0dc65ec1742c2d77afee9f25ca
Hacl_Hash_SHA3.c https://github.com/python/cpython/pull/117237/files#diff-548d1c7ad31bdeebb3a9d8cbf43d5d564c88b82dd7c15bb77bca0d59b85e3a00
Hacl_Hash_SHA3.h https://github.com/python/cpython/pull/117237/files#diff-1350f1d39ce80d267c968e9f5a7f66ccab84c9387dede9739a645ccc2919fcb7
FStar_UInt128_Verified.h https://github.com/python/cpython/pull/117237/files#diff-ff8ca1a8642b7616e3b729f750008dc20832dfdc04359b849deb2d643f2a1573
FStar_UInt_8_16_32_64.h https://github.com/python/cpython/pull/117237/files#diff-adbd9eaffe2790f798efe005eed150474404a87180fcefb3c3537eb16f160208
target.h https://github.com/python/cpython/pull/117237/files#diff-4e0b32eb307016d995bd07aecc023fd64b4e4dfec51efaec1a3b114b8cfb4e66
Hacl_Hash_MD5.h https://github.com/python/cpython/pull/117237/files#diff-cfbe23457fbb4818a6075ddd54496fbcc650590b67b5a9f7bb501214c0473128
Hacl_Hash_SHA1.h https://github.com/python/cpython/pull/117237/files#diff-8d59f7727cecc43b8b3ef6c8d33f177085da3ca0d315124602e2d8252434018a
Hacl_Hash_SHA2.h https://github.com/python/cpython/pull/117237/files#diff-373707fbc7690427530ec68bad6557faacd60f35ad64493dc7322ecc92f88ecb
Hacl_Hash_SHA3.h https://github.com/python/cpython/pull/117237/files#diff-9a32417c4b50ec2ac29c9d721fa1de619c6d71ed2bec8d5b7c88ce26eb867d69
python_hacl_namespaces.h https://github.com/python/cpython/pull/117237/files#diff-06326401624e20172e50a1064db785242fb2bf1371b4637e46075af0de5eb149
refresh.sh https://github.com/python/cpython/pull/117237/files#diff-220f73728af1ba08f27ea6c6ee3cd61a725a7f821ffb12690fc9d5b34f270671
md5module.c https://github.com/python/cpython/pull/117237/files#diff-ebfb0d540ae88c7ff55b1372c04445f4163cfc7df845514d3077dfd25f000fa9
sha1module.c https://github.com/python/cpython/pull/117237/files#diff-f8380ad63c7d5ceeb8e7ca5cc706794c685955db0f4a639833ebcc12dd527b5f
sha2module.c https://github.com/python/cpython/pull/117237/files#diff-4f883f3d08bb004f53ca1cf434ba04d4d28f54d2833076af8e6e78596bcc954b
sha3module.c https://github.com/python/cpython/pull/117237/files#diff-8d15b65b0c06f6b2f51318fdcc4596e8e1e41fdb6af8c113c5f3d326e6b61077
Misc/NEWS.d/next/Core and Builtins/2024-03-25-17-04-54.gh-issue-99108.8bjdO6.rsthttps://github.com/python/cpython/pull/117237/files#diff-008ca0858dd60015b5552d9cf558a962f86052e02d2afc8f86ebfbcfbce51e0c
View file https://github.com/msprotz/cpython/blob/c5de4c3806c90c95ab4f20b0269d91b950453797/Misc/NEWS.d/next/Core%20and%20Builtins/2024-03-25-17-04-54.gh-issue-99108.8bjdO6.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117237/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L143
Misc/sbom.spdx.jsonhttps://github.com/python/cpython/pull/117237/files#diff-5a33def121ae2e5f5527bbce858b7bee06bf6afef96cf519fb78f32dff6a03fe
View file https://github.com/msprotz/cpython/blob/c5de4c3806c90c95ab4f20b0269d91b950453797/Misc/sbom.spdx.json
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
Please reload this pagehttps://github.com/python/cpython/pull/117237/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.