Added comment
This commit is contained in:
parent
85e93b4a79
commit
b21a7b5529
|
@ -236,6 +236,7 @@ void calc_sha_256(uint8_t hash[32], const void * input, size_t len)
|
||||||
h7 = h7 + h;
|
h7 = h7 + h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Produce the final hash value (big-endian): */
|
||||||
hash[0] = (uint8_t) (h0 >> 24);
|
hash[0] = (uint8_t) (h0 >> 24);
|
||||||
hash[1] = (uint8_t) (h0 >> 16);
|
hash[1] = (uint8_t) (h0 >> 16);
|
||||||
hash[2] = (uint8_t) (h0 >> 8);
|
hash[2] = (uint8_t) (h0 >> 8);
|
||||||
|
|
Loading…
Reference in New Issue