[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: test vectors for HMAC-SHA-1




> O.K., O.K., C. Harald Koch gets the "Mirror Image" award for spotting what
> should have been obvious to us.

I would suggest that keys be picked which will identify problems with
byte ordering in the keys.  The key below is the same for big endian
and little endian. Thus, the Cylink results are correct if you reverse the
byte ordering of the key and results. 

>HMAC KEY =
>0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b,
0x0b, 0x0b, 0x0b, 0x0b

I suggest using a key such as 
 0x00 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
 0x0d, 0x0e, 0x0f


I've been bit by this dog before,

Tom Markham