CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 24 Aug 2025 06:24:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20170725175251
location: https://web.archive.org/web/20170725175251/https://github.com/git/git/tree/master/ppc
server-timing: captures_list;dur=0.599530, exclusion.robots;dur=0.024250, exclusion.robots.policy;dur=0.010021, esindex;dur=0.011761, cdx.remote;dur=210.063437, LoadShardBlock;dur=248.263076, PetaboxLoader3.datanode;dur=58.650846, PetaboxLoader3.resolve;dur=103.123369
x-app-server: wwwb-app223
x-ts: 302
x-tr: 488
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 24 Aug 2025 06:24:04 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Tue, 25 Jul 2017 17:52:52 GMT
x-archive-orig-connection: close
x-archive-orig-server: GitHub.com
x-archive-orig-status: 200 OK
x-archive-orig-cache-control: no-cache
x-archive-orig-vary: X-PJAX
x-archive-orig-x-ua-compatible: IE=Edge,chrome=1
x-archive-orig-set-cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 25 Jul 2037 17:52:52 -0000; secure; HttpOnly
x-archive-orig-set-cookie: _gh_sess=eyJzZXNzaW9uX2lkIjoiNWYwZmU3NTUyNjBiYTYxMTk5YTk3YjE5NmVkZDU1Y2QiLCJsYXN0X3JlYWRfZnJvbV9yZXBsaWNhcyI6MTUwMTAwNTE3MjAzMSwicmVmZXJyYWxfY29kZSI6Imh0dHBzOi8vZ2l0aHViLmNvbS9naXQvZ2l0Iiwic3B5X3JlcG8iOiJnaXQvZ2l0Iiwic3B5X3JlcG9fYXQiOjE1MDEwMDUxNzEsIl9jc3JmX3Rva2VuIjoiNnowUjRCWGsvVzJhcTFhUVdORkQ1bXdkKzhqY1I1ZnRENmJLODdYbjBiQT0ifQ%3D%3D--0e17b45e19a234a9b4d0351829dda893925ee4c7; path=/; secure; HttpOnly
x-archive-orig-x-request-id: cc8e4e0db70ee147d1eb4ef6ee860cb7
x-archive-orig-x-runtime: 0.136377
x-archive-orig-content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src render.githubusercontent.com; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
x-archive-orig-strict-transport-security: max-age=31536000; includeSubdomains; preload
x-archive-orig-public-key-pins: max-age=5184000; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains
x-archive-orig-x-content-type-options: nosniff
x-archive-orig-x-frame-options: deny
x-archive-orig-x-xss-protection: 1; mode=block
x-archive-orig-x-runtime-rack: 0.141053
x-archive-orig-vary: Accept-Encoding
x-archive-orig-x-github-request-id: 81E8:23101:882661:D19AD4:59778573
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 25 Jul 2017 17:52:51 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 25 Jul 2017 17:52:51 GMT", ; rel="memento"; datetime="Tue, 25 Jul 2017 17:52:51 GMT", ; rel="next memento"; datetime="Sun, 18 Jul 2021 08:29:45 GMT", ; rel="last memento"; datetime="Tue, 03 Jan 2023 23:36:35 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: OpenCitations-20170725172136-crawl344/OpenCitations-20170725172136-03511.warc.gz
server-timing: captures_list;dur=0.505920, exclusion.robots;dur=0.029929, exclusion.robots.policy;dur=0.008862, esindex;dur=0.011733, cdx.remote;dur=51.530063, LoadShardBlock;dur=172.456011, PetaboxLoader3.datanode;dur=182.511760, PetaboxLoader3.resolve;dur=151.529005, load_resource;dur=171.331113
x-app-server: wwwb-app223
x-ts: 200
x-tr: 500
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
git/ppc at master · git/git · GitHub
Permalink
Switch branches/tags
v2.14.0-rc1
v2.14.0-rc0
v2.13.3
v2.13.2
v2.13.1
v2.13.0
v2.13.0-rc2
v2.13.0-rc1
v2.13.0-rc0
v2.12.3
v2.12.2
v2.12.1
v2.12.0
v2.12.0-rc2
v2.12.0-rc1
v2.12.0-rc0
v2.11.2
v2.11.1
v2.11.0
v2.11.0-rc3
v2.11.0-rc2
v2.11.0-rc1
v2.11.0-rc0
v2.10.3
v2.10.2
v2.10.1
v2.10.0
v2.10.0-rc2
v2.10.0-rc1
v2.10.0-rc0
v2.9.4
v2.9.3
v2.9.2
v2.9.1
v2.9.0
v2.9.0-rc2
v2.9.0-rc1
v2.9.0-rc0
v2.8.5
v2.8.4
v2.8.3
v2.8.2
v2.8.1
v2.8.0
v2.8.0-rc4
v2.8.0-rc3
v2.8.0-rc2
v2.8.0-rc1
v2.8.0-rc0
v2.7.5
v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.7.0-rc3
v2.7.0-rc2
v2.7.0-rc1
v2.7.0-rc0
v2.6.7
v2.6.6
v2.6.5
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.6.0-rc3
v2.6.0-rc2
v2.6.0-rc1
v2.6.0-rc0
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.5.0-rc3
v2.5.0-rc2
v2.5.0-rc1
v2.5.0-rc0
v2.4.12
v2.4.11
v2.4.10
v2.4.9
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.4.0-rc3
v2.4.0-rc2
v2.4.0-rc1
v2.4.0-rc0
v2.3.10
Nothing to show
Latest commit
3bc72fd
Nov 5, 2015
Atousa
committed with gitster
sha1: provide another level of indirection for the SHA-1 functions
The git source uses git_SHA1_Update() and friends to call into the code that computes the hashes. Traditionally, we used to map these directly to underlying implementation of the SHA-1 hash (e.g. SHA1_Update() from OpenSSL or blk_SHA1_Update() from block-sha1/). This arrangement however makes it hard to tweak behaviour of the underlying implementation without fully replacing. If we want to introduce a tweaked_SHA1_Update() wrapper to implement the "Update" in a slightly different way, for example, the implementation of the wrapper still would want to call into the underlying implementation, but tweaked_SHA1_Update() cannot call git_SHA1_Update() to get to the underlying implementation (often but not always SHA1_Update()). Add another level of indirection that maps platform_SHA1_Update() and friends to their underlying implementations, and by default make git_SHA1_Update() and friends map to platform_SHA1_* functions. Doing it this way will later allow us to map git_SHA1_Update() to tweaked_SHA1_Update(), and the latter can use platform_SHA1_Update() in its implementation. Signed-off-by: Atousa Pahlevan Duprat <apahlevan@ieee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
.. | |||
Failed to load latest commit information. | |||
![]() |
sha1.c | fix openssl headers conflicting with custom SHA1 implementations |
|
![]() |
sha1.h | ||
![]() |
sha1ppc.S |
You can't perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.