From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753490AbXDBL3P (ORCPT ); Mon, 2 Apr 2007 07:29:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933663AbXDBL3P (ORCPT ); Mon, 2 Apr 2007 07:29:15 -0400 Received: from mail.suse.de ([195.135.220.2]:49990 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753476AbXDBL3O (ORCPT ); Mon, 2 Apr 2007 07:29:14 -0400 To: Tasos Parisinos Cc: herbert@gondor.apana.org.au, linux-kernel@vger.kernel.org, randy.dunlap@oracle.com, indan@nul.nu Subject: Re: [PATCH resend][CRYPTO]: RSA algorithm patch References: <4610D25F.7080005@ceid.upatras.gr> From: Andi Kleen Date: 02 Apr 2007 14:27:40 +0200 In-Reply-To: <4610D25F.7080005@ceid.upatras.gr> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Tasos Parisinos writes: > From: Tasos Parisinos > > This patch adds module rsa.ko in the kernel (built-in or as a kernel > module) and offers an API to do fast modular exponentiation, using the > Montgomery algorithm, thus the exponentiation is not generic but can > be used only when > the modulus is odd, such as RSA public/private key pairs. This module is the > computational core (using multiple precision integer arithmetics) and does not > provide any means to do key management, implement padding schemas e.t.c. so the > calling code should implement all those as needed. Signed-off-by: > Tasos Parisinos You forgot to answer the most important question. What would want to use RSA in the kernel and why? -Andi