| Electronic Components Datasheet Search |
|
ATSHA204A Datasheet(PDF) 87 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATSHA204A Datasheet(HTML) 87 Page - Microchip Technology |
|
87 / 93 page ![]() 2. If the device determines that the correct password has been entered, then the value of the password can optionally be combined with a stored or ephemeral value to create a key that can be used by the system for data protection purposes. 3. If the device determines that the correct password has been entered, then the device can use this fact to optionally release a secondary high entropy secret, which can be used for data protection without the risk of an exhaustive dictionary attack. 4. If the password has been lost, an entity with knowledge of a parent key value can optionally write a new password into the slot. Optionally, the current value can be encrypted with a parent key and read from the device. Passwords should be stored in even-numbered slots. If the password is to be mapped to a secondary value (use Step 3 above), then the target slot containing this value is located in the next higher slot number (the password slot number plus one); otherwise, the target slot is the same as the password slot. ReadKey for the target slot must be set to 0x0 to enable this capability. In order to prevent fraudulent or unintended usage of this capability, do not set ReadKey for any slot to 0x0 unless this CheckMac/Copy capability is specifically required. In particular, do not assume that other bits in the configuration word for a particular slot override the enablement of this capability specified by ReadKey = 0x0. This capability is enabled only if the mode parameter to CheckMac has a value of 0x01 or 0x05 and TempKey.SourceFlag matches Mode<2>. Note: Care should be taken when using Mode 0x05 as the system is subject to a replay attack; however, there may be some system configurations in which this arrangement is advantageous. • The first 32 bytes of the SHA-256 message are stored in a data slot in the EEPROM (the password). • The second 32 bytes of the SHA-256 message must be a randomly generated nonce in the TempKey register. If the above conditions are met and the input response matches the internally generated digest, then the contents of the target key are copied to TempKey. The other TempKey register bits are set as follows: • SourceFlag is set to one (not random). • GenData is set to zero (not generated by the GenData command). • CheckFlag is set to zero (TempKey is not restricted to the CheckMac command). • Valid is set to one. 13.3.7 Transport Keys The ATSHA204A device includes an internal hardware array of keys (transport keys) that are intended for secure personalization prior to locking of the data section. The values of the hardware keys are kept secret and are made available to qualified customers upon request to Microchip. These keys can be used with the GenDig command only and are indicated by a SlotID value greater than or equal to 0x8000. For GenDig and all other commands, SlotID values less than 0x8000 always reference keys that are stored in the Data zone of the EEPROM. In these cases, only the four least-significant bits of SlotID are used to determine the slot number, while the entire 16-bit SlotID as input is used in any SHA-256 message calculation. ATSHA204A Reference and Application Notes © 2018 Microchip Technology Inc. DS40002025A-page 87 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |