Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270875AbTHKCik (ORCPT ); Sun, 10 Aug 2003 22:38:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270927AbTHKCij (ORCPT ); Sun, 10 Aug 2003 22:38:39 -0400 Received: from waste.org ([209.173.204.2]:19644 "EHLO waste.org") by vger.kernel.org with ESMTP id S270875AbTHKCi2 (ORCPT ); Sun, 10 Aug 2003 22:38:28 -0400 Date: Sun, 10 Aug 2003 21:38:18 -0500 From: Matt Mackall To: Jamie Lokier Cc: "David S. Miller" , linux-kernel@vger.kernel.org, jmorris@intercode.com.au Subject: Re: [RFC][PATCH] Make cryptoapi non-optional? Message-ID: <20030811023817.GD31810@waste.org> References: <20030809074459.GQ31810@waste.org> <20030809010418.3b01b2eb.davem@redhat.com> <20030809140542.GR31810@waste.org> <20030809103910.7e02037b.davem@redhat.com> <20030809194627.GV31810@waste.org> <20030809131715.17a5be2e.davem@redhat.com> <20030810081529.GX31810@waste.org> <20030811021512.GF10446@mail.jlokier.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030811021512.GF10446@mail.jlokier.co.uk> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 20 On Mon, Aug 11, 2003 at 03:15:12AM +0100, Jamie Lokier wrote: > Matt Mackall wrote: > > > > Ok, can I export some more cryptoapi primitives? > > Why so complicated? Just move the "sha1_transform" function to its > own file in lib, and call it from both drivers/char/random.c and > crypto/sha1.c. > > Problem solved. Because I can't eventually put random=sha384,aes and on the command line and get hardware acceleration. -- Matt Mackall : http://www.selenic.com : of or relating to the moon - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/