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.

CCS/BQ35100: SHA-1 Authentication

Part Number: BQ35100
Other Parts Discussed in Thread: BQSTUDIO

Tool/software: Code Composer Studio

Hi,

I would like reproduced SHA-1 Authentification with my microcontroller for compared the BQ35100 value with my value for authenticate my platform.

But I don't have the same result between BQ Studio calcul and my uC calcul, i don't no why (See below).

I used another tools (https://cryptii.com/pipes/hmac)  for confirm one of the result and i have the same result that my uC result, but not the same that BQ Studio.

And I don't understand the "10.3 Authentication" of Technical Reference Manual (SLUUBH1C). I have to reinject the result HMAC1 in a new HMAC calculation for have HMAC2 (3. 4. 5. 6.) ?

128-bit authentication key KD: 0123456789ABCDEFFEDCBA9876543210

160-bit message M: 546869732069732061207465737420666F722068

HMAC1: What is it ?

160-bit hash HMAC1: What is it ?

HMAC2: What is it ?

Can you help me to understand the SHA-1 Authentication ?

BQ Studio Data:

My microcontroleur Data:

14:53:12.971 -> Key :,0123456789ABCDEFFEDCBA9876543210
14:53:13.004 -> Message :,546869732069732061207465737420666F722068
14:53:13.072 -> Expect :,5D80AC0CDB62DA0BADB8AD272AF9D6A11223E734
14:53:13.141 -> Digest :,3432BDBB97E3CF179EB616E881EDFE5E6EDF7F80


Thanks.