25. Cryp_des_ecb

25.1. Function description:

This demo shows the operation of cryptographic processor, algorithm is DES, algorithm mode including ECB.

  • Configure and prepare the plaintext data firstly, then start the encryption to get ciphertext data using polling mode.

  • Compare the encryption result with the standard to verify the function of encryption.

  • Configure & start the decryption using polling mode, the ciphertext data is comming from encryption result.

  • Compare the decryption result with the plaintext to verify the function of decryption.

25.2. Test result:

After the operation of encryption and decryption, if the encryption data is same as the standard & the decryption result is same as the plaintext data, then print pass, if not print fail.

25.3. IO connection:

None