[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: HMAC implementation
From:       SLEE <Slee () RAINBOW ! COM>
Date:       2000-03-31 1:55:34
[Download RAW message or body]


Jeff,

Thanks for the reply.  I try to add this feature simply to match what MS CSP
provides so it will be compatible.

Shin

                -----Original Message-----
                From:   Jeff Spelman
[mailto:jeffspel@EXCHANGE.MICROSOFT.COM]
                Sent:   Friday, March 24, 2000 9:14 AM
                To:     CryptoAPI@DISCUSS.MICROSOFT.COM
                Subject:        Re: HMAC implementation

                Shin
                   There is no preprocessing or padding done to the pbInner
and pbOuter.
                The key will be XORed with the pbInner, if the inner is
shorter than the key
                then the rest of the key will be XORed with zero bytes.  If
the pbInner and
                pbOuter are larger than 64 bytes then the Microsoft CSPs
will use the inner
                and outer of the provided length.  Please note this is a
very uncommonly
                used feature, in fact I have never heard of an application
which uses this
                feature.
                Thanks Jeff

                -----Original Message-----
                From: Shin Lee [mailto:slee@RAINBOW.COM]
                Sent: Thursday, March 23, 2000 3:51 PM
                To: CryptoAPI@DISCUSS.MICROSOFT.COM
                Subject: Re: HMAC implementation


                In the case when pbInnerString and pbOuterString contain one
byte of data
                and the length is less than the size of a key, what does MS
CSP do?  Is
                there any padding or preprocessing done on the user
specified Inner/Outer
                string before doing (K XOR InnerString) or (K XOR
OuterString) calculation?
                What if the string contains more than 64 bytes of data, what
do MS CSP do
                in this case?

                Thanks in advance.

                Shin


----------------------------------------------------------------
                Users Guide
http://msdn.microsoft.com/workshop/essentials/mail.asp
                contains important info including how to unsubscribe.  Save
time, search
                the archives at
http://discuss.microsoft.com/archives/index.html


----------------------------------------------------------------
                Users Guide
http://msdn.microsoft.com/workshop/essentials/mail.asp
                contains important info including how to unsubscribe.  Save
time, search
                the archives at
http://discuss.microsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic