Re: [Cfrg] Request For Opinions

Gé Weijers <Ge.Weijers@Sun.COM> Tue, 13 May 2003 19:00 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA24640 for <cfrg-archive@odin.ietf.org>; Tue, 13 May 2003 15:00:24 -0400 (EDT)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h4DIQXT19206 for cfrg-archive@odin.ietf.org; Tue, 13 May 2003 14:26:33 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h4DIQXB19202 for <cfrg-web-archive@optimus.ietf.org>; Tue, 13 May 2003 14:26:33 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24604 for <cfrg-web-archive@ietf.org>; Tue, 13 May 2003 14:59:53 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19Ff25-0006se-00 for cfrg-web-archive@ietf.org; Tue, 13 May 2003 15:01:49 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 19Ff25-0006sb-00 for cfrg-web-archive@ietf.org; Tue, 13 May 2003 15:01:49 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h4DINNB18946; Tue, 13 May 2003 14:23:23 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h4DILuB18687 for <cfrg@optimus.ietf.org>; Tue, 13 May 2003 14:21:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24391 for <cfrg@ietf.org>; Tue, 13 May 2003 14:55:16 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19Fexc-0006oS-00 for cfrg@ietf.org; Tue, 13 May 2003 14:57:13 -0400
Received: from patan.sun.com ([192.18.98.43] helo=brmea-mail-2.sun.com) by ietf-mx with esmtp (Exim 4.12) id 19Fexc-0006oP-00 for cfrg@ietf.org; Tue, 13 May 2003 14:57:12 -0400
Received: from esunmail ([129.147.58.198]) by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h4DIwHY9019777 for <cfrg@ietf.org>; Tue, 13 May 2003 12:58:17 -0600 (MDT)
Received: from xpa-fe2 ([129.147.58.198]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HEU00B0R9Z88Q@edgemail1.Central.Sun.COM> for cfrg@ietf.org; Tue, 13 May 2003 12:57:09 -0600 (MDT)
Received: from ANCHOR ([129.147.154.31]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTPSA id <0HEU00DI49Z7Q2@mail.sun.net> for cfrg@ietf.org; Tue, 13 May 2003 12:57:08 -0600 (MDT)
Date: Tue, 13 May 2003 11:57:00 -0700
From: Gé Weijers <Ge.Weijers@Sun.COM>
Subject: Re: [Cfrg] Request For Opinions
In-reply-to: <4.3.2.7.1.20030512230632.0215e120@mail.attbi.com>
To: Alex Alten <alten@attbi.com>
Cc: Anton Stiglic <astiglic@okiok.com>, cfrg@ietf.org
Message-id: <Pine.WNT.4.53.0305131101251.1644@ANCHOR>
Organization: Sun Microsystems
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset="iso-8859-1"
References: <F6242D340921D5118D1E00508BB9837A0188BF94@tlnmail1.toplayer.com> <4.3.2.7.1.20030509172533.092f1650@mail.attbi.com> <4.3.2.7.1.20030510020259.022d57e0@mail.attbi.com> <4.3.2.7.1.20030510140640.092ed1e0@mail.attbi.com> <4.3.2.7.1.20030510152608.093186f0@mail.attbi.com> <4.3.2.7.1.20030512230632.0215e120@mail.attbi.com>
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by www1.ietf.org id h4DILuB18688
Sender: cfrg-admin@ietf.org
Errors-To: cfrg-admin@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@ietf.org?subject=subscribe>
X-MIME-Autoconverted: from 8bit to quoted-printable by www1.ietf.org id h4DINNB18946
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id h4DIQXB19202
Content-Transfer-Encoding: 8bit

On Tue, 13 May 2003, Alex Alten wrote:

> The facts about PK are:
> 1. Key generation is dog slow
> 2. Key setup is damn slow.
> 3. Encryption is like watching grass grow or paint to dry.

4. It's often the only tool that gets the job done.

If we cannot solve a problem satisfactorily using our usual symmetric
primitives like PRPs, PRFs, hash functions, MACs etc. we will have to
resort to more expensive primitives.  They're the cheapest ones that get
the job done.

Some operations are actually quite efficient, for example RSA encryption
using a low exponent (3 or 65537).

I wrote a signature verification routine in portable C about 4-5 years
back, to verify Rabin-based signatures. The large integer routines were
home grown and far from optimized. Verification took about 1 ms on a 200
Mhz pentium clone processor (1024 bit keys). Our hardware is at least 10
times faster now, so we're probably talking about 100us verification
times.

Signature generation (2 512-bit exponentiations and an application of
Garner's algorithm) took 500 ms using a good bignum library, so on current
hardware we're probably getting close to 50 ms. No paint dries this fast.

Some new processors have instruction sets optimized to perform big number
arithmetic efficiently, so this will soon even be less of an issue. And if
you're really in a hurry you can buy accellerators that perform modular
exponentiation in hardware.

Ge'

-- 
Gé Weijers                mailto:ge.weijers@sun.com
_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg