[git commit] libbb/yescrypt: remove forgotten SHA256 HMAC header file

Denys Vlasenko vda.linux at googlemail.com
Mon Jul 7 08:51:13 UTC 2025


commit: https://git.busybox.net/busybox/commit/?id=63025e8bca426f1013ac0ae7ef103bf8a7f71622
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/yescrypt/alg-sha256.h | 31 -------------------------------
 libbb/yescrypt/y.c          |  1 -
 2 files changed, 32 deletions(-)

diff --git a/libbb/yescrypt/alg-sha256.h b/libbb/yescrypt/alg-sha256.h
deleted file mode 100644
index 862f49dbe..000000000
--- a/libbb/yescrypt/alg-sha256.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*-
- * Copyright 2005-2016 Colin Percival
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-/* Context structure for HMAC-SHA256 operations. */
-typedef struct {
-	sha256_ctx_t ictx;
-	sha256_ctx_t octx;
-} HMAC_SHA256_CTX;
diff --git a/libbb/yescrypt/y.c b/libbb/yescrypt/y.c
index e7d447531..d5ab8903f 100644
--- a/libbb/yescrypt/y.c
+++ b/libbb/yescrypt/y.c
@@ -10,7 +10,6 @@
 #include "libbb.h"
 
 #define YESCRYPT_INTERNAL
-#include "alg-sha256.h"
 #include "alg-yescrypt.h"
 #include "alg-sha256.c"
 #include "alg-yescrypt-kdf.c"


More information about the busybox-cvs mailing list