Re: ISO/IEC 9797-1 MAC Algorithm 3 how to?

From: Valery Pryamikov (valery_at_harper.no)
Date: 04/14/05


Date: Thu, 14 Apr 2005 07:22:38 +0200

Did you see my post where I answered you how to do it? It could be done with
.Net if you simply follow my perscription. and right - MACTripleDES is a
different thing.

-Valery.
http://www.harper.no/valery

"Frank Fritze" <frank.fritze@bdr.de> wrote in message
news:dfcb9d01.0504131241.1cf7e340@posting.google.com...
> frank.fritze@bdr.de (Frank Fritze) wrote in message
> news:<dfcb9d01.0504130641.6b27b0db@posting.google.com>...
>> Hi,
>>
>>
>> I need to calculate the Cryptographic checksum using ISO/IEC 9797-1 MAC
>> algorithm 3 with block cipher DES, zero IV (8bytes), and ISO 9797-1
>> padding method 2. The MAC length must be 8 bytes.
>>
>>
>> Any ideas on how to do it?
>>
>>
>> As a sample, the data I am working on now is:
>> Data =
>> '72C29C2371CC9BDB65B779B8E8D37B29ECC154AA56A8799FAE2F498F76ED92F2'
>> Kmac = '7962D9ECE03D1ACD4C76089DCE131543'
>>
>>
>> Resultant MAC[Kmac](Data)='5F1448EEA8AD90A7' (I want to know how to get
>> to this value).
>
>
> In addition to my question:
>
> I've already tried to calculate it over MACTripledes ... but with no
> success..
> And I'm sure, it can be done with .NET, isn't it ?
>
> Regards
>
> Frank