ATSHA204 ATMEL [ATMEL Corporation], ATSHA204 Datasheet - Page 38

no-image

ATSHA204

Manufacturer Part Number
ATSHA204
Description
Atmel CryptoAuthentication
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATSHA204-MAH-DA-T
Manufacturer:
NVIDIA
Quantity:
340
Part Number:
ATSHA204-SH-DA-B
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATSHA204-SH-DA-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATSHA204-TSU-T
Manufacturer:
EPSON
Quantity:
418
Part Number:
ATSHA204-TSU-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATSHA204A
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATSHA204A-MAHDA-T
Manufacturer:
AT
Quantity:
20 000
Company:
Part Number:
ATSHA204A-MAHFD-T
Quantity:
14 270
Company:
Part Number:
ATSHA204A-MAHMF-S
Quantity:
2 973
Part Number:
ATSHA204A-SSHDA-B
Manufacturer:
ATMEL
Quantity:
3 450
Part Number:
ATSHA204A-SSHDA-B
Manufacturer:
AT
Quantity:
21 810
Company:
Part Number:
ATSHA204A-SSHDA-B
Quantity:
50 000
Part Number:
ATSHA204A-SSHDA-T
Manufacturer:
ATMEL
Quantity:
3 450
Part Number:
ATSHA204A-STUCZ-T
Manufacturer:
ATMEL
Quantity:
12 000
Company:
Part Number:
ATSHA204A-TSU-T
Quantity:
569
Company:
Part Number:
ATSHA204A-XHDA-T
Quantity:
3 360
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:
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:
Table 8-11. Input Parameters
Table 8-12. Output parameter
Opcode
Param1
Param2
Data
Name
Success
SHA-256(ParentKey, Opcode, Param1, Param2, SN[8], SN[0:1])
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.
Name
DERIVEKEY
Random
TargetKey
Mac
Size
1
Notes
Upon successful completion, the ATSHA204 returns a value of zero.
0 or 32
Size
1
1
2
Notes
0x1C
Key slot to be written.
Optional MAC used to validate operation.
Bit 2: The value of this bit must match the value in TempKey.SourceFlag or the
Bits 0:1, 3:7: Must be zero.
command will return an error.
Atmel ATSHA204 [DATASHEET]
8740D−CRYPTO−3/12
38

Related parts for ATSHA204