When do HMAC use less CPU power than Hash function in a MAC



When do HMAC use less CPU power than Hash function, (if it does it)
assume HMAC (Data) when Data can be from 8 to 120 byte compared with
a MAC message usingt Hash(Source address, Data) and Source address can
be from 2 to 8 byte.

Regards
Ulf Reiman

.



Relevant Pages

  • Re: Question about MAC algorithms
    ... >> Using the HMAC sheme you only have to implement one hash function ... If we make use of the random oracle model for a hash function then ... > I'm not sure I agree about the use of CBC mode here. ... since i already know the encryption of A and B ...
    (sci.crypt)
  • Re: Humble Contribution
    ... NMAC uses two applications of the hash function but with secret ... The difference between NMAC and HMAC is that in NMAC you use the ... >keys as secret IVs to the hash function and in HMAC the known IVs are ...
    (sci.crypt)
  • Re: Slow but secure has function for small data
    ... current attacks on the SHA-series (including MD5) are irrelevant to ... HMAC provided the key itself is unknown (page 4 paragraph beginning ... "Forgery and Partial Key-Recovery Attacks ... results demonstrate that the strength of a cryptographic scheme can be greatly weakened by the insecurity of the underlying hash function. ...
    (sci.crypt)
  • Re: Humble Contribution
    ... > You should look at the HMAC paper and the section on NMAC. ... NMAC uses two applications of the hash function but with secret ... keys as secret IVs to the hash function and in HMAC the known IVs are ...
    (sci.crypt)
  • Re: Humble Contribution
    ... >>You should look at the HMAC paper and the section on NMAC. ... NMAC uses two applications of the hash function but with secret ... > keys as secret IVs to the hash function and in HMAC the known IVs are ...
    (sci.crypt)