Dear,
MPCOS-EMV has a crypto-engine(3DES) which it uses it for some specifi(ed)ic purpose.
It cannot be used to encrypt arbitrary data. It is basically used in commands which
have a 'secure messaging' option + almost all payment commands.
>Is it possible to generate 3des key in the MPCOS-EMV card using OCF??
No. You have to create keys outside the card and inject(load) the key unto the card.
>If so, what is the procedure to generate key ?
As mentioned earlier, the cards do not support key generation.
>and How to encrypt and decrypt the data using that key ??
Please go thru the card manual and it should be very clear.
Note on key generation: Please note that you don't really need a key generation module
inside the card. Unlike assymetric algorithms like RSA, 3DES doesn't force you to
derive(compute) the keys in a particular fashion. Ofcourse, it MAY discourage you to
use weak keys like
00000000 00000000
00000000 FFFFFFFF
FFFFFFFF 00000000
FFFFFFFF FFFFFFFF
Warm Regards
----------
"Daddy picked them up and looked underneath. I think it's printed on the bottom."
- 3 year old son, when his mother asked how his father knew the gender of four new
baby kittens.
>-----Original Message-----
>From: anil kumar [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, January 11, 2001 7:56 PM
>To: [EMAIL PROTECTED]
>Subject: [OCF] How to generate 3des key in the MPCOS-EMV card..???
>
>
>Hai All,
>
>Happy New Year.
>
>Is it possible to generate 3des key in the MPCOS-EMV card using OCF??
>If so, what is the procedure to generate key ?
>and How to encrypt and decrypt the data using that key ??
>
>Thank You in advance,
>
>--Anil Kumar
>
>____________________________________________________________________
>Get free email and a permanent address at
>http://www.netaddress.com/?N=1
>
>
>---
>> Visit the OpenCard web site at http://www.opencard.org/ for more
>> information on OpenCard---binaries, source code, documents.
>> This list is being archived at
http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.