Electronic Components Datasheet Search
  English  ▼

X  

ATSHA204A Datasheet(PDF) 86 Page - Microchip Technology

Part # ATSHA204A
Description  ATSHA204A Microchip CryptoAuthentication Data Sheet
PDF  93 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATSHA204A Datasheet(HTML) 86 Page - Microchip Technology

Back Button ATSHA204A Datasheet HTML 82Page - Microchip Technology ATSHA204A Datasheet HTML 83Page - Microchip Technology ATSHA204A Datasheet HTML 84Page - Microchip Technology ATSHA204A Datasheet HTML 85Page - Microchip Technology ATSHA204A Datasheet HTML 86Page - Microchip Technology ATSHA204A Datasheet HTML 87Page - Microchip Technology ATSHA204A Datasheet HTML 88Page - Microchip Technology ATSHA204A Datasheet HTML 89Page - Microchip Technology ATSHA204A Datasheet HTML 90Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 93 page
background image
DeriveKey always resets the UseFlag to 0xFF for the target key. This is the only mechanism to
reset the UseFlag bits.
Use of the DeriveKey command is optional. It is legal to be run only if WriteConfig<13> is set for
this slot. In some situations, it may be advantageous to simply have a key that can be used eight
times, in which case the other crypto commands clear the bits in UseFlag one at a time until all are
cleared and at which time the key is disabled.
13.3.5
Limited-use Key
If Slot<15>.LimitedUse is set, usage of key number 15 is limited through a different mechanism than the
single-use limitation described above, which applies only to slots 0 through 7.
Prior to any use of key 15 by a cryptographic command, the following takes place:
•
If all bytes in LastKeyUse are 0x00, return error.
•
Starting at bit 7 of the first byte of LastKeyUse (byte 68 in the Configuration zone), clear to zero the
first bit that is currently a one. If byte 68 is 0x00, check bit seven of byte 69 and so on up through
byte 83. Only a single bit is cleared each time prior to using key 15.
There is no reset mechanism for this limitation; after 128 uses (or the number of one bits set in
LastKeyUse on personalization), key 15 is permanently disabled. This capability is not susceptible to
power interruptions. Even if the power is interrupted during execution of the command, only a single bit in
LastKeyUse is unknown; all other bits in LastKeyUse are unchanged and the key remains unchanged.
If fewer than 128 uses are desired for key 15, then some of the bytes within this array should not be
initialized to 0xFF. As with UseFlag, the only legal values for bytes within this field (besides 0xFF) are
0x7F, 0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01, or 0x00. The total number of bits set to one indicates the
number of uses.
Example: Limited Use count set to a value of 16.
0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
The LimitedUse bit is ignored by the Read and Write commands and LastKeyUse does
not change as a result of their execution. The LimitedUse bit is ignored by the copy
function of the CheckMac command. The LimitedUse bit is honored for the parent key
in the DeriveKey command, but is ignored for the target key.
13.3.6
Password Checking
Many applications require a user to enter a password to enable features, decrypt stored data, or to
pursue some other purpose. Typically, the expected password has to be stored somewhere in memory
and therefore can become, subject to discovery. The ATSHA204A can securely store the expected
password and perform a number of useful operations on it. The password is never passed in the clear to
the device and it cannot be read from the device. It is hashed with a random number in the system
software before being passed to the device. The nonce in TempKey must always have been generated
using the internal RNG when a Transport Key is utilized.
The copy capability of the CheckMac command enables the following types of password checking
options:
1.
CheckMac does an internal comparison with the expected password and returns a Boolean to the
system to indicate whether the password was correctly entered or not.
ATSHA204A
Reference and Application Notes
© 2018 Microchip Technology Inc.
DS40002025A-page 86



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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