Electronic Components Datasheet Search
  English  ▼

X  

ATSHA204 Datasheet(PDF) 12 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) 12 Page - ATMEL Corporation

Back Button ATSHA204 Datasheet HTML 8Page - ATMEL Corporation ATSHA204 Datasheet HTML 9Page - ATMEL Corporation ATSHA204 Datasheet HTML 10Page - ATMEL Corporation ATSHA204 Datasheet HTML 11Page - ATMEL Corporation ATSHA204 Datasheet HTML 12Page - ATMEL Corporation ATSHA204 Datasheet HTML 13Page - ATMEL Corporation ATSHA204 Datasheet HTML 14Page - ATMEL Corporation ATSHA204 Datasheet HTML 15Page - ATMEL Corporation ATSHA204 Datasheet HTML 16Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 65 page
background image
Atmel ATSHA204 [DATASHEET]
12
8740D
−CRYPTO−3/12
3.
Cryptographic Information
The ATSHA204 implements a challenge-response protocol using either SHA-256 or HMAC/SHA-256, details are below. The
response is always a 256-bit digest.
The Nonce command (see Section 8.9) accepts an input challenge from the system and optionally combines it with an
internally generated random number to generate a nonce (number used once) for the calculation. This seed is then combined
with a secret key as part of the authentication calculation for any of the crypto commands (MAC, HMAC, Read, Write, or
GenDig). For compatibility reasons, the input challenge may be passed directly to the MAC command; however, this operation
is deprecated.
The device can guarantee the uniqueness of the Nonce only if the device has included the output of its random number
generator in the calculation, because the system input may or may not be unique. Every random Nonce is guaranteed to be
unique when compared to all previous nonces, ensuring that each transaction is unique over all time.
3.1
SHA-256
The ATSHA204 MAC command calculates the digest of a secret key concatenated with the challenge or nonce. It optionally
includes various other pieces of information stored on the device within the digested message.
The ATSHA204 computes the SHA-256 digest based on the algorithm documented here:
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
The complete SHA-256 message processed by the ATSHA204 is listed in Sections 8.5 and 8.9 for each of the particular
commands (GenDig and Nonce) that use the algorithm. Most standard software implementations of the algorithm
automatically add the appropriate number of pad and length bits to this message to match the operation the device performs
internally.
The SHA-256 algorithm is also used for encryption by taking the output digest of the hash algorithm and XORing it with the
plain text data to produce the ciphertext. Decryption is the reverse – the ciphertext is XORed with the digest, and the result is
the plain text.
3.2
HMAC/SHA-256
The response to the challenge can also be computed using the HMAC algorithm based on SHA-256 documented here:
http://csrc.nist.gov/publications/fips/fips198/fips-198a.pdf
Because of the increased computation complexity, the HMAC command is not as flexible as the MAC command and the
computation time for HMAC is extended. While the HMAC sequence is not necessary to ensure the security of the digest, it is
included for compatibility with various software packages.
3.3
Key Values
All keys within the CryptoAuthentication family are 256 bits long. The ATSHA204 uses these keys as part of the messages
hashed with the MAC, CheckMac, HMAC, and GenDig commands. Any slot in the data zone of the EEPROM can be used to
store a key, though the value will be secret only if the read and write permissions are properly set within SlotConfig (including
the IsSecret bit).
Except for the GenDig command, all but the least-significant four bits of the KeyID parameter are ignored in determining the
source of key data. Only the least-significant four bits are used to select one of the slots of the data zone. See Section 3.3.7,
below, for information on how GenDig uses other KeyID values.
In all cases for which a SHA-256 calculation is performed using Param2, the entire 16-bit KeyID as input is included in the
message.



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