Re: Smart Cards

From: Joris Dobbelsteen (none.of_at_your.business)
Date: 06/28/04


Date: Mon, 28 Jun 2004 16:39:03 +0200

Are you sure the smart-card processor has nothing to do the job?
When looking at genplus, their processor has a on-chip RNG (I believe).
http://www.gemplus.com/techno/chipware/

You must have a source that is random. A possibility would be uninitialized
memory and hope it has some random contents.
Another way would be to use a timer and pul a number of the timer when there
is a request from the outside. Ensure the timer is fast enough to have the
full span covered before the request.
Yet another option would be an externally source generating a random signal,
by using the noise that is arround. This would be something outside the
processor. Perhaps some simple and small analog logic might help that
amplifies (or generates) some noise.
A on-chip RNG is always prefered!

- Joris

"Rony" <joe_the_black@yahoo-dot-com.no-spam.invalid> wrote in message
news:40e01d92$1_2@127.0.0.1...
> Hello,
>
> This is my first post on this forum.
>
> I have to implement the DES and RSA algorithms in C. Those codes
> will run on the Smart Card processor, the code should run on
> different smartcard processor.
>
> I'm kind of new to critography, I've read a little of the Applied
> Cryptography book, I've read the DES alghoritm.
>
>
>
> My problem is, for exmple the DES algorithm, I don't know how to
> generate the DES key.
>
> I'm reading right now the Random number generation alghoritms from
> the Applied Cryptography book, but they seem to use a seed, and that
> seed I don't know how to generate it.
>
> Acctually I don't know what alghorithm(with or without seed) to use
> for the generation of the DES key.
> The problem is that I can't use some external hardware random
> number generator device , or something like /dev/random, nor the
> mouse movements... since this code will run inside of the smart card.
>
>
> Thank you very much!!!
>
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---