Thread (3 messages) 3 messages, 2 authors, 2008-03-04

Re: [PATCH 1/4] generic sha_update and sha_final for s390

From: Sebastian Siewior <hidden>
Date: 2008-03-03 22:05:31

* Jan Glauber | 2008-03-03 17:19:43 [+0100]:
quoted hunk ↗ jump to hunk
Index: cryptodev-2.6/arch/s390/crypto/Makefile
===================================================================
--- cryptodev-2.6.orig/arch/s390/crypto/Makefile
+++ cryptodev-2.6/arch/s390/crypto/Makefile
@@ -2,8 +2,8 @@
# Cryptographic API
#

-obj-$(CONFIG_CRYPTO_SHA1_S390) += sha1_s390.o
-obj-$(CONFIG_CRYPTO_SHA256_S390) += sha256_s390.o
+obj-$(CONFIG_CRYPTO_SHA1_S390) += sha1_s390.o sha_common.o
+obj-$(CONFIG_CRYPTO_SHA256_S390) += sha256_s390.o sha_common.o
So this is a little trick to avoid select in Kconfig? nice :)
quoted hunk ↗ jump to hunk
obj-$(CONFIG_CRYPTO_DES_S390) += des_s390.o des_check_key.o
obj-$(CONFIG_CRYPTO_AES_S390) += aes_s390.o
obj-$(CONFIG_S390_PRNG) += prng.o
Index: cryptodev-2.6/arch/s390/crypto/sha.h
===================================================================
--- /dev/null
+++ cryptodev-2.6/arch/s390/crypto/sha.h
@@ -0,0 +1,34 @@
+/*
+ * Cryptographic API.
+ *
+ * s390 generic implementation of the SHA Secure Hash Algorithms.
+ *
+ * Copyright IBM Corp. 2007
Just a nitpick: shouldn't this be the year you wrote the code? I really
don't know.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help