s32k144 CSEc CMD_ENC_ECB padding

cancel
Showing results for 
Search instead for 
Did you mean: 

s32k144 CSEc CMD_ENC_ECB padding

Jump to solution
53 Views
Contributor II

Hi

In s32k144 CSEc CMD_ENC_ECB, how can I make input data padding in the application(the data length is not a multiple of 128-bit).

 

example)

data : 01 02 03 04 05(5Byte)

 

 

skseofh_0-1600406077232.png

- S32K144 RM page 885

 

Is it a PKCS #7 padding or just add 0s?

0 Kudos
1 Solution
43 Views
NXP TechSupport
NXP TechSupport

Hi,

you can use whatever you wish. It's up to you. Nice description can be found here, for example:

https://www.di-mgt.com.au/cryptopad.html

Regards,

Lukas

 

View solution in original post

0 Kudos
1 Reply
44 Views
NXP TechSupport
NXP TechSupport

Hi,

you can use whatever you wish. It's up to you. Nice description can be found here, for example:

https://www.di-mgt.com.au/cryptopad.html

Regards,

Lukas

 

View solution in original post

0 Kudos