Vybrid CAAM Module Examples / Benchmark Data

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

Vybrid CAAM Module Examples / Benchmark Data

Jump to solution
2,902 Views
rmcginnis
Contributor I

Hello,

We're using the Vybrid for a development where we have requirements to utilize the CAAM hardware within the Vybrid to support AES-256 encryption/decryption and SHA-256/384/512 hashs operations over large blocks of data.  I have access to the 'Vybrid Security Reference Manual' (supplied under NDA) and found a CAAM example in the iMX6 SDK that I believe could be ported to the Vybrid.

Questions:

1.  Does Freescale have any benchmark information related to Vybrid CAAM performance?  (Encryption/decryption performance in AES-ECB, AES-CBC, etc... using the CAAM)

2.  Does Freescale have any additional sample code containing examples of AES-256 encryption/decryption or SHA-256/384/512 hashing using the CAAM module?  (Specifically examples containing more advanced job descriptors then what was provided in the iMX6 SDK)

3.  Is there any document or application note that discusses best practices for utilizing the CAAM hardware?

Thanks,
Ryan

Labels (2)
Tags (1)
0 Kudos
Reply
1 Solution
1,882 Views
naoumgitnik
Senior Contributor V

Hello Ryan,

  1. As of now, it looks like the only way to "get taste of" the Vybrid CAAM performance would be reusing the i.MX data based on that Vybrid is running faster than i.MX (167MHz vs. 133MHz, respectively), so one can assume Vybrid to provide similar or better performance. Quite possibly we will have such data in the future (not sure if the customer can wait for them, though).
  2. I will leave questions about sample code to the SW support people.
  3. I am afraid we do not have anything discussing best practices for utilizing the CAAM hardware for Vybrid.

Sincerely yours, Naoum Gitnik.

View solution in original post

0 Kudos
Reply
5 Replies
1,882 Views
timesyssupport
Senior Contributor II

Hello,

While CAAM support is stated to be available in the Vybrid kernel, we have not yet validated it or obtained performance metrics. We will need to schedule this for testing, as well as to develop/determine what available SW examples are available.

Regards,

Timesys Support

0 Kudos
Reply
1,882 Views
Rodrigue
NXP Employee
NXP Employee

Dear Timesys Team,

Any news regarding the CAAM Linux Support for Vybrid? Is it validated?

Does it support DDR3 encryption? (real time external memory encryption and integrity checker)

thanks,

Rodrigue

0 Kudos
Reply
1,882 Views
timesyssupport
Senior Contributor II

Hello Rodrigue,

Unfortunately, we have not validated the CAAM driver with the Linux 3.0 kernel.

Our team is currently focused on updating the supported kernel for the Vybrid Tower to 3.13. Once we have core functionality completed we can investigate CAAM support in this kernel with Vybrid. The first release of the kernel is scheduled for end of Q2.

Thanks,

Timesys Support

0 Kudos
Reply
1,883 Views
naoumgitnik
Senior Contributor V

Hello Ryan,

  1. As of now, it looks like the only way to "get taste of" the Vybrid CAAM performance would be reusing the i.MX data based on that Vybrid is running faster than i.MX (167MHz vs. 133MHz, respectively), so one can assume Vybrid to provide similar or better performance. Quite possibly we will have such data in the future (not sure if the customer can wait for them, though).
  2. I will leave questions about sample code to the SW support people.
  3. I am afraid we do not have anything discussing best practices for utilizing the CAAM hardware for Vybrid.

Sincerely yours, Naoum Gitnik.

0 Kudos
Reply
1,882 Views
ioseph_martinez
NXP Employee
NXP Employee

rmcginnis

We have some simulated data from the i.mx which may be useful to extrapolate performance on Vybrid, although numbers in reality may differ:

Algorithm

i.MX6@133MHz

AES

378Mbps

DES,3DES

348Mbps

MD5

913Mbps

SHA

913Mbps

CAAM in Vybrid ca run a bit faster (166MHz) I cannot state if that would give different numbers than the one above but is important to mention.

I think Timesys was reviewing regarding sw examples for CAAM module on Vybrid.timesyssupport can you comment? thanks.

Ioseph

0 Kudos
Reply