mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 602

no-image

mcf51jf128

Manufacturer Part Number
mcf51jf128
Description
Mcf51jf128 Reference Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51jf128VLH
Manufacturer:
MITSUBISHI
Quantity:
321
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Part Number:
mcf51jf128VLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Functional Description
26.6.3.20 Secure Hash Shift (SHS)
The SHS command does a set of parallel register-to-register move and shift operations
for implementing SHA-1. The following source and destination assignments are made:
26.6.3.21 Message Digest Shift (MDS)
The MDS command does a set of parallel register-to-register move operations for
implementing MD5. The following source and destination assignments are made:
602
CA4
CA3
CA2
CA1
CA0
CAA
CA3
HFx Code
Register
Register
A
B
2
3
4
5
6
7
8
9
cp0ld.l
cp0ld.l
Define
HF2C
HF2M
HF2U
HF2S
HF2T
HF2V
HFH
HFC
HFM
HFx
HFI
#SHS
#MDS
Table 26-19. Hash Function Codes (continued)
MCF51JF128 Reference Manual, Rev. 2, 03/2011
MD5 H(), SHA Parity()
SHA-256 Sigma 0
SHA-256 Sigma 1
SHA-256 sigma 0
SHA-256 sigma 1
Hash Function
SHA-256 Maj()
CA4
CA3
CA2
CA1
CA0
CAA
CA3
SHA-256 Ch()
Value prior to command
Value prior to command
SHA Maj()
Table continues on the next page...
SHA Ch()
MD5 I()
Preliminary
ROTR
ROTR
ROTR
(CA1 & CA2) ^ (CA1 & CA3) ^ (CA2 & CA3)
(CA0 & CA1) ^ (CA0 & CA2) ^ (CA1 & CA2)
ROTR
2
6
17
(CA0) ^ ROTR
(CA4) ^ ROTR
7
(CA8) ^ ROTR
(CA8) ^ ROTR
(CA1 & CA2) ^ (CA1 & CA3)
(CA4 & CA5) ^ (CA1 & CA6)
CA3
CA2
CA1<<<30
CA0
CAA
CAA<<<5
CA2
Value after command executes
Value after command executes
CA2 ^ (CA1 | CA3)
CA1 ^ CA2 ^ CA3
Hash Logic
Freescale Semiconductor, Inc.
13
11
18
19
(CA0) ^ ROTR
(CA4) ^ ROTR
(CA8) ^ SHR
(CA8) ^ SHR
3
10
22
25
(CA8)
(CA8)
(CA0)
(CA4)

Related parts for mcf51jf128