Hi,
I try to use the SHA-1 authentication but it is not easy !
In the datasheet of the BQ78350 I can read :
- Generate SHA-1 input block B1 of 512 bytes (total input = 128-bit authentication key KD + 160-bit message M + 1 + 159 0s + 100100000).
- To complete the 512-bit block ... followed by 159 0s, followed by the 64 bit value for 288 (000...00100100000)
The two sentences contradict each other.
I try :