[PATCH 06/11] ARM: sha256: Remove unused functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sha256_export and sha256_import are not used in the tree. remove them.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/crypto/sha256_glue.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/arch/arm/crypto/sha256_glue.c b/arch/arm/crypto/sha256_glue.c
index 3876f9adc9..2bb7122aab 100644
--- a/arch/arm/crypto/sha256_glue.c
+++ b/arch/arm/crypto/sha256_glue.c
@@ -150,24 +150,6 @@ static int sha224_final(struct digest *desc, u8 *out)
 	return 0;
 }
 
-int sha256_export(struct digest *desc, void *out)
-{
-	struct sha256_state *sctx = digest_ctx(desc);
-
-	memcpy(out, sctx, sizeof(*sctx));
-
-	return 0;
-}
-
-int sha256_import(struct digest *desc, const void *in)
-{
-	struct sha256_state *sctx = digest_ctx(desc);
-
-	memcpy(sctx, in, sizeof(*sctx));
-
-	return 0;
-}
-
 static struct digest_algo sha224 = {
 	.base = {
 		.name		=	"sha224",
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux