SelfTest
CommandThe SelfTest
command performs a test of one or more of
the cryptographic engines within the ATECC608A-TFLXTLS chip.
Some or all of the algorithms will be tested depending on the Input mode parameter.
For the
ATECC608A-TFLXTLS device, the SelfTest
command has been disabled from running automatically after a
Power-up or Wake event. However, the command may be executed
by the system if so desired. There is no requirement to run
this test.
If any self test fails, whether called automatically on power-up, wake or via this command, the chip will enter a Failure state, in which chip operation is limited. The stored Failure state is always cleared upon a wake or power cycle. Note that the self-test failure (error code: 0x07) is not the same as a health-test failure (error code: 0x08).
When in the Failure state, the following operations are allowed:
Opcode |
Mode (1 Byte)1 |
Param2 |
||||||
---|---|---|---|---|---|---|---|---|
b[7:6] | b[5] | b[4] | b[3] | b[2] | b[1] | b[0] | ||
2’b00 |
SHA | AES | ECDH | ECDSA (Sign, Verify) | 0 | RNG, DRBG | 0x00 00 |
1
’
indicates that the test will be run. If the bit is ‘0
’, then
the test will not be run.Name | Size | Description |
---|---|---|
Success | 1 byte |
0x00 - All Tests Passed |