Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/dd_rescue: Update to 1.99.13
- Loading branch information
MANTANI Nobutaka
authored and
MANTANI Nobutaka
committed
Feb 17, 2024
1 parent
6e197c6
commit f891e9c
Showing
8 changed files
with
58 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1659154970 | ||
SHA256 (dd_rescue-1.99.12.tar.bz2) = f304750aecf2b04a4798b26373a66483cf075e0a8e4619e78dc307e8f794c895 | ||
SIZE (dd_rescue-1.99.12.tar.bz2) = 181798 | ||
TIMESTAMP = 1708181857 | ||
SHA256 (dd_rescue-1.99.13.tar.bz2) = f40fe9c770ff5d27d323297ee73d0bbed332d3eafac4e4732e542eadb1c5c1e8 | ||
SIZE (dd_rescue-1.99.13.tar.bz2) = 182574 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- sha256.c.orig 2024-02-17 15:17:02 UTC | ||
+++ sha256.c | ||
@@ -108,7 +108,7 @@ void sha256_64(const uint8_t* msg, hash_t* ctx) | ||
#endif | ||
#endif | ||
/* Extend the first 16 words into the remaining 48 words w[16..63] of the message schedule array: */ | ||
- for (int i = 16; i < 64; ++i) { | ||
+ for (i = 16; i < 64; ++i) { | ||
const uint32_t s0 = RIGHTROTATE(w[i-15], 7) ^ RIGHTROTATE(w[i-15], 18) ^ (w[i-15] >> 3); | ||
const uint32_t s1 = RIGHTROTATE(w[i-2], 17) ^ RIGHTROTATE(w[i-2] , 19) ^ (w[i-2] >> 10); | ||
w[i] = w[i-16] + s0 + w[i-7] + s1; | ||
@@ -117,7 +117,7 @@ void sha256_64(const uint8_t* msg, hash_t* ctx) | ||
uint32_t a = ctx->sha256_h[0], b = ctx->sha256_h[1], c = ctx->sha256_h[2], d = ctx->sha256_h[3]; | ||
uint32_t e = ctx->sha256_h[4], f = ctx->sha256_h[5], g = ctx->sha256_h[6], h = ctx->sha256_h[7]; | ||
/* Compression function main loop: */ | ||
- for (int i = 0; i < 64; ++i) { | ||
+ for (i = 0; i < 64; ++i) { | ||
const uint32_t S1 = RIGHTROTATE(e, 6) ^ RIGHTROTATE(e, 11) ^ RIGHTROTATE(e, 25); | ||
//const uint32_t ch = (e & f) ^ ((~e) & g); | ||
const uint32_t ch = g ^ (e & (f ^ g)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters