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.
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:
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!
-----------------------------------------------------------------------------------------------------------------------