Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATSHA204A Datasheet(PDF) 65 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) 65 Page - Microchip Technology

Back Button ATSHA204A Datasheet HTML 61Page - Microchip Technology ATSHA204A Datasheet HTML 62Page - Microchip Technology ATSHA204A Datasheet HTML 63Page - Microchip Technology ATSHA204A Datasheet HTML 64Page - Microchip Technology ATSHA204A Datasheet HTML 65Page - Microchip Technology ATSHA204A Datasheet HTML 66Page - Microchip Technology ATSHA204A Datasheet HTML 67Page - Microchip Technology ATSHA204A Datasheet HTML 68Page - Microchip Technology ATSHA204A Datasheet HTML 69Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 93 page
background image
Whenever the input data is encrypted an authorizing input MAC is always required when writing the Data
zone. This MAC is computed as follows:
SHA-256 (TempKey, Opcode, Param1, Param2, SN<8>, SN<0:1>, <25 bytes of 0’s>, PlainTextData)
Prior to locking of the OTP/Data zones, Zone<6> is used to indicate to the device whether or not the input
data is encrypted. After locking of the OTP/Data zones, Zone<6> is ignored and only SlotConfig<14>
corresponding to the slot being written is used to determine whether or not the input data is encrypted.
If data encryption is indicated, then TempKey must be valid prior to this command being called and it
must be the result of GenDig. Specifically, this means that TempKey.Valid and TempKey.GenDig must
both be set to one. Prior to data locking, any key can be used to generate TempKey. After locking, the last
slot used by GenDig for TempKey creation and stored in TempKey.SlotID must match that in
SlotConfig.WriteKey. If the slot number being written is even, then TempKey.SourceFlag must be RAND.
If the slot number is odd, then TempKey.SourceFlag must match the value in Config.CheckMacSource
corresponding to the slot.
Table 8-40. Input Parameters
Name
Size
Notes
Opcode Write
1
0x12
Param1 Zone
1
Bit 7:
0 = 4 bytes of date are written to the specified zone.
1 = 32 bytes of data are written to the specified zone.
Bit 6:
0 = Data is written in the clear.
1 = Input data must be encrypted.
Must be zero if Data/OTP zones are locked.
Bits 5-2:
Must be zero.
Bits 1-0:
Select among Config, OTP or Data. See Section Zone Encoding.
Param2 Address
2
Address of first word to be written within the zone. See Section Address Encoding.
Data_1 Value
4 or 32 Information to be written to the zone; may be encrypted.
Data_2 Mac
0 or 32 Message authentication code to validate address and data.
Table 8-41. Output Parameter
Name
Size
Notes
Success
1
Upon successful completion, the ATSHA204A returns a value of 0x00.
ATSHA204A
Security Commands
© 2018 Microchip Technology Inc.
DS40002025A-page 65



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