comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: Bignum modular types in Ada95
Date: 1998/01/30
Date: 1998-01-30T00:00:00+00:00	[thread overview]
Message-ID: <Pine.BSF.3.96.980130082046.5746A-100000@shell5.ba.best.com> (raw)
In-Reply-To: 34D053EB.167E@cl.cam.ac.uk


On Thu, 29 Jan 1998, Markus Kuhn wrote:
> The cryptosupport in the next generation of workstation processors
> will not mean that the full internal bus will get 1024 bits wide!

OK, I misunderstood you then.

> The 1024-bit registers will be more like the floating-point registers
> that we have already today: only few, only special operations,
> and much larger than the bus width. It is also not necessary to
> actually implement full 1024-bit registers to do 1024 bit operations:
> If you have suitably designed 256-bit registers and arithmetic
> logic, then you can easily fold 1024, 768, and 512 bit operations
> efficiently into this hardware by just iterating a few times.

True even if you have 64 (or 32 or ...) bit registers of course.

> You can get today already microcontrollers for security applications
> from Siemens, Phillips, SGS Thompson, Dallas Semiconductor,
> Motorola, etc. that feature hardware support for efficient 768 or
> 1024 bit modular integer arithmetic (especially exponentiation).

Could you point me to some datasheets for some of these parts? A part
number, or a URL for the Acrobat file would be helpful. I'm still not sure 
we're on the same page, so to speak. 

> I would suggest that System.Max_int be redefined to show the largest
> integer word size that the processor can handle efficiently (usually
> 2**31-1 or 2**63-1) in case the compiler supports bignum integers
> and does not actually have a fixed largest integer value. Does
> this sound reasonable?

I'm not sure what this would mean. Scalar types are passed by value, and
there would seem to be a conflict. I agree with your general point
about the growing importance of cryptographic applications and the
nice match to Ada 95's modular types, but it seems that what you want 
(very big modular types) will be very hard to achieve.

-- Brian






  reply	other threads:[~1998-01-30  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-27  0:00 Bignum modular types in Ada95 Markus Kuhn
1998-01-28  0:00 ` Nick Roberts
1998-01-28  0:00   ` Nick Roberts
1998-02-01  0:00     ` Robert Dewar
1998-02-07  0:00       ` Nick Roberts
1998-02-09  0:00         ` Robert Dewar
1998-01-28  0:00   ` Larry Kilgallen
1998-01-28  0:00 ` Markus Kuhn
1998-01-28  0:00   ` Brian Rogoff
1998-01-29  0:00     ` Markus Kuhn
1998-01-30  0:00       ` Brian Rogoff [this message]
     [not found]   ` <EnIIvn.3zr@world.std.com>
1998-01-29  0:00     ` Mats Weber
     [not found]       ` <EnKEtu.KGp@world.std.com>
1998-01-30  0:00         ` Markus Kuhn
1998-01-30  0:00           ` Mats Weber
1998-01-30  0:00             ` Markus Kuhn
1998-01-31  0:00               ` Nick Roberts
1998-02-01  0:00           ` Robert Dewar
1998-01-30  0:00         ` Mats Weber
1998-02-01  0:00           ` Robert Dewar
1998-02-01  0:00           ` Robert Dewar
1998-01-31  0:00         ` Nick Roberts
1998-02-01  0:00         ` Robert Dewar
1998-01-29  0:00     ` Markus Kuhn
1998-01-31  0:00       ` Nick Roberts
1998-02-01  0:00     ` Robert Dewar
1998-02-01  0:00   ` Robert Dewar
1998-02-02  0:00     ` Tarjei T. Jensen
1998-02-02  0:00       ` Robert Dewar
1998-02-03  0:00         ` Tarjei T. Jensen
1998-02-04  0:00           ` Keith Thompson
1998-01-28  0:00 ` Dmitriy Anisimkov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox