This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ40Z80: SHA1/HMAC Digest calculation

Part Number: BQ40Z80
Other Parts Discussed in Thread: BQ26100, BQSTUDIO,

Hi all,

I have problem with SHA1/HMAC digest calculation (I read the "How to Implement SHA-1/HMAC Authentication for bq26100" and I still can't get the point ), I use almost every calculator on web and every time I got different results(digests) from bq studio 

I use 4 different way 

1) Big endian key, big endian message(challange) (2 round)(first digest is 2nd message as write on the "how to Implement SHA-1/HMAC Authentication for bq26100")

2) Little endian key, little endian message(challange) (2 round)

3)Big endian key,little endian message(challange) (2 round)

4) Little endian key, big endian message(challange) (2 round)

and I can't get the same result(digest) from bq studio

what's wrong with my calculating? can you explain the calculation step by step?