aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lzma/liblzma/check/sha256.c
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-03-21 01:54:21 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-03-21 02:05:24 +0300
commit1f10341ce6cb9a6be3d28925d43bd3360c256d27 (patch)
tree1285bccd1140f69412cbf72f969da0d9af7fd9a5 /contrib/libs/lzma/liblzma/check/sha256.c
parentda5121777959fc5aab4a13d1cd50e5e6b9aa8972 (diff)
downloadydb-1f10341ce6cb9a6be3d28925d43bd3360c256d27.tar.gz
Update contrib/libs/lzma to 5.6.0
de6c124a343d1b577cd3e4a152607415cfd3de0e
Diffstat (limited to 'contrib/libs/lzma/liblzma/check/sha256.c')
-rw-r--r--contrib/libs/lzma/liblzma/check/sha256.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/contrib/libs/lzma/liblzma/check/sha256.c b/contrib/libs/lzma/liblzma/check/sha256.c
index 6feb342565..bd0d280639 100644
--- a/contrib/libs/lzma/liblzma/check/sha256.c
+++ b/contrib/libs/lzma/liblzma/check/sha256.c
@@ -1,24 +1,17 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file sha256.c
/// \brief SHA-256
-///
-/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they
-/// are imported to liblzma, SSE instructions need to be used
-/// conditionally to keep the code working on older boxes.
//
-// This code is based on the code found from 7-Zip, which has a modified
-// version of the SHA-256 found from Crypto++ <https://www.cryptopp.com/>.
-// The code was modified a little to fit into liblzma.
+// The C code is based on the public domain SHA-256 code found from
+// Crypto++ Library 5.5.1 released in 2007: https://www.cryptopp.com/
+// A few minor tweaks have been made in liblzma.
//
-// Authors: Kevin Springle
-// Wei Dai
-// Igor Pavlov
+// Authors: Wei Dai
// Lasse Collin
//
-// This file has been put into the public domain.
-// You can do whatever you want with this file.
-//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"