From patchwork Sun Mar 1 18:30:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Stockhausen X-Patchwork-Id: 5908861 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D85B4BF440 for ; Sun, 1 Mar 2015 18:30:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A1692026D for ; Sun, 1 Mar 2015 18:30:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69C1C20259 for ; Sun, 1 Mar 2015 18:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753231AbbCASas (ORCPT ); Sun, 1 Mar 2015 13:30:48 -0500 Received: from mailrelay.collogia.de ([194.8.207.98]:46699 "HELO mailrelay.collogia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752173AbbCASas (ORCPT ); Sun, 1 Mar 2015 13:30:48 -0500 Received: from 10.8.207.99 by mailrelay.collogia.de (InterScan VirusWall); Sun, 01 Mar 2015 19:30:56 +0100 Received: from EXCHANGE.collogia.de (192.168.10.9) by edge.collogia.de (10.8.207.99) with Microsoft SMTP Server (TLS) id 14.3.224.2; Sun, 1 Mar 2015 19:30:46 +0100 Received: from collogia.de (192.168.11.43) by exchange.collogia.de (192.168.10.9) with Microsoft SMTP Server id 14.3.224.2; Sun, 1 Mar 2015 19:30:46 +0100 Subject: [PATCH v1 3/3] crypto: powerpc/md5 - kernel config From: Markus Stockhausen Date: Sun, 1 Mar 2015 19:30:46 +0100 To: CC: X-Mailer: @(#) mailsend v1.17b14 (Unix) X-Copyright: BSD. It is illegal to use this software for Spamming MIME-Version: 1.0 Message-ID: <9abb69cb-3cca-4cc4-b3ed-e3b569c97b2a@EXCHANGE.collogia.de> X-TM-AS-Product-Ver: ISVW-7.00.0.1392-7.5.0.1018-21366001 X-TM-AS-Result: No X-TM-AS-Category-Info: 31:0,000000 X-TM-AS-MatchedID: 140275-147015-121463-703523-700918-701016-188019-121624-7 00476-702520-702376-160005-148035-148036-23116-29102-30060-42003 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP [PATCH v1 3/3] crypto: powerpc/md5 - kernel config Integrate the module into the kernel config tree. Signed-off-by: Markus Stockhausen **************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** diff --git a/arch/powerpc/crypto/Makefile b/arch/powerpc/crypto/Makefile index d400bf9..c6b25cba 100644 --- a/arch/powerpc/crypto/Makefile +++ b/arch/powerpc/crypto/Makefile @@ -5,11 +5,13 @@ # obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o +obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes_spe_glue.o +md5-ppc-y := md5-asm.o md5_glue.o sha1-powerpc-y := sha1-powerpc-asm.o sha1.o sha1-ppc-spe-y := sha1-spe-asm.o sha1_spe_glue.o sha256-ppc-spe-y := sha256-spe-asm.o sha256_spe_glue.o diff --git a/crypto/Kconfig b/crypto/Kconfig index 7fc084f..b7c3ce3 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -427,6 +427,14 @@ config CRYPTO_MD5 help MD5 message digest algorithm (RFC1321). +config CRYPTO_MD5_PPC + tristate "MD5 digest algorithm (PPC)" + depends on PPC + select CRYPTO_HASH + help + MD5 message digest algorithm (RFC1321) implemented + in PPC assembler. + config CRYPTO_MD5_SPARC64 tristate "MD5 digest algorithm (SPARC64)" depends on SPARC64