6.1 HOST0
Concatenates the key stored in AT88SA10HS with an input 256-bit challenge and generates the digest of this message. The
result is left in internal memory and cannot be read. In general, the challenge should be a random number generated by the
host system, which will be sent to both the host (AT88SA10HS) and client (AT88SA100S or AT88SA102S).
Table 6-1. Input Parameters
Opcode
Param1
Param2
Data
Name
HOST0
Overwrite
KeyID
Challenge
Size
1
1
2
32
Notes
0x08
If non-zero, overwrite part of internally generated key with secret fuses
The internal key to be used to generate the digest
Challenge to be sent to the client AT88SA100S or AT88SA102S
Table 6-2. Output Parameters
Name
Size Notes
Success
1 Upon successful completion of HOST0, a value of zero will be returned by AT88SA10HS
The 512-bit message block that will be hashed with the SHA-256 algorithm will consist of:
256-bits
key[KeyID]
256-bits
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
key[KeyID]
256-bits
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
key[KeyID]
64-bits
Fuse[0-63]
256-bits
challenge
All other values of the overwrite parameter are not recommended for use.
Atmel AT88SA10HS [DATASHEET] 13
8595G−CRYPTO−9/11