Atmel AT88SA10HS Host Authentication Chip
The 512-bit message block that will be hashed with the SHA-256 algorithm will consist of:
256-bits
256-bits
key[KeyID]
challenge
If the overwrite parameter is 0, then the 512-bit message block that will be hashed using the SHA-256 algorithm
will consist of:
256-bits
256-bits
key[KeyID]
challenge
If the overwrite parameter has a value of 0x01, then the 512-bit message block that will be hashed using the SHA-
256 algorithm will consist of:
192-bits
64-bits
256-bits
key[KeyID]
Fuse[0-63]
challenge
All other values of the overwrite parameter are not recommended for use.
5.2.
HOST1
Completes the two block SHA-256 digest started by HOST0 and leaves the resulting digest within the internal
memory of the Atmel® AT88SA10HS. This command returns an error if HOST0 has not been successfully run
previously within this Wake cycle.
As a security precaution, this command does not return the digest. A subsequent command is required to
compare the response generated by the client with the one generated by the host.
Table 5-3. Input Parameters
Name
Size
Opcode
HOST1
1
Param1
Mode
1
Param2
Zero
2
Data
OtherInfo
13
Notes
0x40
Controls composition of message, see below for details
Must be 0x00 00
Input portion of message to be digested
Table 5-4. Output Parameters
Name
Size Notes
Success
1 Upon successful completion of HOST1, a value of 0 will be returned by Atmel AT88SA10HS
13
8595F–SMEM–8/10