Encrypt more than 128 Byte of source data Using AES 128 on SE050

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

Encrypt more than 128 Byte of source data Using AES 128 on SE050

Jump to solution
1,401 Views
mohamedaslam_m
Contributor II

Hi Folks,

     I am using the SE050 development board for encryption purposes and I was checking the ex_symmetric example given in Plug and trust middleware. The example is given as 128 bits of Key, input data, and IV. 

How do we encrypt if we have more than 128 bits of input data?

 

Regards

Aslam

Labels (2)
0 Kudos
1 Solution
1,393 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @mohamedaslam_m ,

 

The following functions are provided for your case, the basic steps are init->update->update ... ->finish, as described in AN12413.

sss functions for cipher operation.png

 

Hope that makes sense,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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
1 Reply
1,394 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @mohamedaslam_m ,

 

The following functions are provided for your case, the basic steps are init->update->update ... ->finish, as described in AN12413.

sss functions for cipher operation.png

 

Hope that makes sense,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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