09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Cryptographic processor (CRYP) <strong>RM0090</strong><br />

Figure 205. DES/TDES-CBC mode encryption<br />

DATATYPE<br />

AHB2 data write<br />

(before CRYP<br />

is enabled)<br />

O is written back<br />

into IV at the<br />

same time as it<br />

is pushed into<br />

the OUT FIFO<br />

IV0(L/R)<br />

1. K: key; C: cipher text; I: input block; O: output block; Ps: plain text before swapping (when decoding) or<br />

after swapping (when encoding); P: plain text; IV: initialization vectors.<br />

551/1416 Doc ID 018909 Rev 3<br />

K1<br />

K2<br />

K3<br />

64<br />

64<br />

64<br />

DATATYPE<br />

64<br />

IN FIFO<br />

plaintext P<br />

swapping<br />

+<br />

DEA, encrypt<br />

DEA, decrypt<br />

DEA, encrypt<br />

OUT FIFO<br />

ciphertext C<br />

P, 64 bits<br />

Ps, 64 bits<br />

I, 64 bits<br />

O, 64 bits<br />

swapping<br />

C, 64 bits<br />

ai16070b

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!