Electronic Components Datasheet Search
  English  ▼

X  

ATSHA204 Datasheet(PDF) 38 Page - ATMEL Corporation

Part # ATSHA204
Description  Atmel CryptoAuthentication
PDF  65 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATSHA204 Datasheet(HTML) 38 Page - ATMEL Corporation

Back Button ATSHA204 Datasheet HTML 34Page - ATMEL Corporation ATSHA204 Datasheet HTML 35Page - ATMEL Corporation ATSHA204 Datasheet HTML 36Page - ATMEL Corporation ATSHA204 Datasheet HTML 37Page - ATMEL Corporation ATSHA204 Datasheet HTML 38Page - ATMEL Corporation ATSHA204 Datasheet HTML 39Page - ATMEL Corporation ATSHA204 Datasheet HTML 40Page - ATMEL Corporation ATSHA204 Datasheet HTML 41Page - ATMEL Corporation ATSHA204 Datasheet HTML 42Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 65 page
background image
Atmel ATSHA204 [DATASHEET]
38
8740D
−CRYPTO−3/12
8.3
DeriveKey Command
The device combines the current value of a key with the Nonce stored in TempKey using SHA-256, and places the result into
the target key slot. SlotConfig[TargetKey]. Bit13 must be set or DeriveKey will return an error.
If SlotConfig[TargetKey].Bit12 is zero, the source key that will be combined with TempKey is the target key specified in the
command line (Roll Key operation). If SlotConfig[TargetKey].Bit12 is one, the source key is the parent key of the target key,
which is found in SlotConfig[TargetKey].WriteKey (Create Key operation).
Prior to execution of this command, the Nonce command must have been run to create a valid nonce in TempKey. Depending
on the state of bit two of the input mode, this nonce must have been created with the internal random number generator, or it
must have been fixed.
If SlotConfig[TargetKey].Bit15 is set, an input MAC must be present and have been computed as:
SHA-256(ParentKey, Opcode, Param1, Param2, SN[8], SN[0:1])
where the ParentKey ID is always SlotConfig[TargetKey].WriteKey.
If SlotConfig[TargetKey].Bit12 or SlotConfig[TargetKey].Bit15 is set and SlotConfig[ParentKey].SingleUse is also set,
DeriveKey returns an error if UseFlag[ParentKey] is 0x00. DeriveKey ignores SingleUse and UseFlag for the target key if
SlotConfig[TargetKey].Bit12 and SlotConfig[TargetKey].Bit15 are both zero.
For slots 0-7 only, if input parsing and the optional MAC check succeed, UseFlag[TargetKey] gets set to 0xFF and
UpdateCount[TargetKey] is incremented. If UpdateCount currently has a value of 255, it wraps to zero. If the command fails for
any reason, these bytes are not updated. The value of UpdateCount may be corrupted if power is interrupted during the
execution of DeriveKey.
Note:
If the source and target key are the same, there is a risk of permanent loss of the key value if power is
interrupted during the write operation. If the configuration bits permit it, the key slot may be recovered using an
authenticated and encrypted write based on the parent key.
Table 8-11. Input Parameters
Name
Size
Notes
Opcode
DERIVEKEY
1
0x1C
Param1
Random
1
Bit 2: The value of this bit must match the value in TempKey.SourceFlag or the
command will return an error.
Bits 0:1, 3:7: Must be zero.
Param2
TargetKey
2
Key slot to be written.
Data
Mac
0 or 32
Optional MAC used to validate operation.
Table 8-12. Output parameter
Name
Size
Notes
Success
1
Upon successful completion, the ATSHA204 returns a value of zero.



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


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