Freescale's P4080 security engine (SEC 4.4)

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

Freescale's P4080 security engine (SEC 4.4)

705 Views
zaglauer_domini
Contributor I

Hi,

we want to use Freescale's P4080 security engine (SEC 4.4) cryptographic acceleration and offloading hardware
with VxWorks 7 (Core Kernel version: 1.2.6.0) to speedup OpenSSL operations (especially AES128-CBC and SHA).

If that's even possible, please can you provide us some hints where we can find useful information/documentation how it works.

The documentation we have found, there is always talked about Linux and cryptodev.

Many thanks in advance and
Best regards.

0 Kudos
1 Reply

501 Views
bpe
NXP Employee
NXP Employee

P4080 SEC offers offload for  both generic algorithms like
AES encryption/decryption combined with HMAC and for protocol-specific
operations over packet/message header and data. Hardware-level
details can be found in P4080SECRM, Sections 1.9.15, 1.9.16, 1.10.2.2.

There is a Job Descriptor construction tool for SEC, called RTA, which
is easy to port to any environment. Details can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-E75BF7D4-92D5-46E9-86CA-A...

The same package provides some examples that you may find useful:

privacy+hash:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/flib.git/tree/sec/rta/tests/dual_1.c
http://git.freescale.com/git/cgit.cgi/ppc/sdk/flib.git/tree/sec/rta/tests/dual_2.c

TLS processing:

http://git.freescale.com/git/cgit.cgi/ppc/sdk/flib.git/tree/sec/rta/tests/dtls_encap_iv_ver.c


As of VxWorks, please contact Wind River for available ready solutions
and/or applicable APIs/drivers/configuration.


Have a great day,
Platon

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

0 Kudos