Can you use the DMA to do AES encryption

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can you use the DMA to do AES encryption

Jump to solution
956 Views
henry_lovett
Contributor III

Hi, 

I was wondering if it is possible to run the AES crypto using the DMA on a LPC54S018? The example code in the SDK uses a poll from the CPU, rather than DMA or interrupt based - is there any reason it is done this way? 

Many thanks,

Henry 

Labels (1)
Tags (2)
0 Kudos
1 Solution
843 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

The AES encryption and decryption engine supports DMA for transferring data between memory and the AES engine.

See user manual Chapter 45. Security features.  45.9.3 General description

However I just checked we don't have this demo code, user may make it by themselves.

pastedImage_1.png


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
844 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

The AES encryption and decryption engine supports DMA for transferring data between memory and the AES engine.

See user manual Chapter 45. Security features.  45.9.3 General description

However I just checked we don't have this demo code, user may make it by themselves.

pastedImage_1.png


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
843 Views
henry_lovett
Contributor III

Hi, 

Perfect - thank you very much for clarifying. 

Henry 

0 Kudos
843 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!

0 Kudos