Download MPC184 Descriptor Programmer`s Guide--PCI View
Transcript
Descriptor Classes Table 15. Actual Descriptor DPD_Type 0001_3DES_CBC_Encrypt (continued) Field Value/Type PTR_7 Nul PTR_NEXT Pointer Description Null Pointer to next descriptor Table 16 defines the second (or N middle) DPD_3DES_CBC_Encrypt descriptor in the static chain. Note that the IV and key are not loaded, as they remain in the DEU key and IV register. Table 16. Actual Descriptor DPD_Type 0001_3DES_CBC_Encrypt Field Value/Type Description Header 0x2070_0010 LEN_1 Length Null PTR_1 Pointer Null LEN_2 Length Null PTR_2 Pointer Null LEN_3 Length Null PTR_3 Pointer Null LEN_4 Length Number of bytes to be ciphered PTR_4 Pointer PCI address of data to be ciphered LEN_5 Length Bytes to be written (should be equal to length of data-in) PTR_5 Pointer PCI address where ciphered data is to be written LEN_6 Nul Null PTR_6 Nul Null LEN_7 Nul Null PTR_7 Nul Null PTR_NEXT Pointer DPD_Type 0001_3DES_CBC_Encrypt Pointer to next descriptor Table 17 defines the final DPD_3DES_CBC_Encrypt descriptor in the static chain. Note that the IV and key are not loaded, as they remain in the DEU key and IV register. The IV may be optionally unloaded at the conclusion of the descriptor. On completion of this descriptor, the EU should be reset, and the EU should be released via a write to the EU assignment control register in the controller. Table 17. Actual Descriptor DPD_Type 0001_3DES_CBC_Encrypt Field Value/Type Description Header 0x2070_0010 DPD_Type 0001_3DES_CBC_Encrypt LEN_1 Length Null PTR_1 Pointer Null LEN_2 Length Null MPC184 Descriptor Programmer’s Guide-PCI View, Rev. 1 Freescale Semiconductor 21