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

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

 



* Jan Glauber | 2008-03-03 17:19:43 [+0100]:

>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 :)

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux