sha256.c (256281) | sha256.c (263285) |
---|---|
1/////////////////////////////////////////////////////////////////////////////// 2// 3/// \file sha256.c 4/// \brief SHA-256 5/// 6/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they 7/// are imported to liblzma, SSE instructions need to be used 8/// conditionally to keep the code working on older boxes. | 1/////////////////////////////////////////////////////////////////////////////// 2// 3/// \file sha256.c 4/// \brief SHA-256 5/// 6/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they 7/// are imported to liblzma, SSE instructions need to be used 8/// conditionally to keep the code working on older boxes. |
9/// We could also support using some external libary for SHA-256. | |
10// 11// This code is based on the code found from 7-Zip, which has a modified 12// version of the SHA-256 found from Crypto++ <http://www.cryptopp.com/>. 13// The code was modified a little to fit into liblzma. 14// 15// Authors: Kevin Springle 16// Wei Dai 17// Igor Pavlov --- 184 unchanged lines hidden --- | 9// 10// This code is based on the code found from 7-Zip, which has a modified 11// version of the SHA-256 found from Crypto++ <http://www.cryptopp.com/>. 12// The code was modified a little to fit into liblzma. 13// 14// Authors: Kevin Springle 15// Wei Dai 16// Igor Pavlov --- 184 unchanged lines hidden --- |