RM0082
AS_Cryptographic co-processor (C3)
Doc ID 018672 Rev 1
395/844
Bits 22 to 0 - Reserved
These bits are reserved and should be written zero.
21.10.6
Key registers (AES_KEY)
The Key Registers contain the key.
21.10.7 Channel
ID
(AES_ID)
The Channel ID register contains the Identifier of this version of the AES channel. The
Channel ID for this version of the AES channel is 0x0000_3000.
21.11
Unified hash with HMAC channel
21.11.1 Overview
Unified HASH channel can compute MD5 and SHA-1 digests of a message, executing C3
Flow type instruction set's HASH [MD5/SHA1] instruction.
It can compute the HMAC of a message with MD5 and SHA-1, executing C3 Flow type
instruction set's HMAC [MD5/SHA1] instruction.
It can save and restore the internal context in order to allow the stop and the resume of the
computation, executing C3 Flow type instruction set's HASH [CONTEXT] and HMAC
[CONTEXT] instructions.
21.11.2 Instruction
set
The UHH Channel executes HASH [MD5/SHA1/CONTEXT] and HMAC
[MD5/SHA1/CONTEXT] instructions specified in the C3v3 flow type instruction set.
Instructions that do not conform to the following bit encodings are unknown to the UHH
Channel that will go in error state.
21.11.3 HASH
instruction
There are 4 different HASH instructions:
●
HASH MD5
●
HASH SHA1
●
HASH CONTEXT
The first 3 instructions are used for computing the digest of a message and work in the
same way. The last one is used for saving and restoring the context.
21.11.4 HASH
[MD5/SHA1] instructions
Each HASH [MD5/SHA1] instruction is composed by 3 sub-instructions:
●
INIT
●
APPEND
●
END