Freescale Semiconductor
SEC 2.0 Reference Device Driver
User's Guide
1 Overview
The SEC2 device driver manages the operation of the SEC 2.0
commonly instantiated into PowerQUICC processors. It is a fully
functional component, meant to serve as an example of application
interaction with the SEC2 core.
The driver is coded in ANSI C. In it's design, an attempt has been
made to write a device driver that is as operating system agnostic
as practical. Where necessary, operating system dependencies are
identified and
Section 8, "Porting"
Testing has been accomplished on VxWorks 5.5 and LinuxPPC
using kernel version 2.4.27.
Application interfaces to this driver are implemented through the
function call. Requests made through this interface can
ioctl()
be broken down into specific components, including
miscellaneous requests and process requests. The miscellaneous
requests are any requests not related to the direct processing of
data by the SEC2 core.
Process requests comprise the majority of the requests and all are
executed using the same
to compose these requests are described in detail in
"Process Request Structures."
Throughout the document, the acronyms CHA (crypto hardware
accelerator) and EU (execution unit) are used interchangeably.
This document contains information on a new product. Specifications and information herein
are subject to change without notice.
© Freescale Semiconductor, Inc., 2005. All rights reserved.
PRELIMINARY-SUBJECT TO CHANGE WITHOUT NOTICE
addresses them.
access point. Structures needed
ioctl()
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
5. Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8. Porting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Section 3.3.6,
SEC2SWUG
Rev. 0, 02/2005
Contents
Need help?
Do you have a question about the SEC2SWUG and is the answer not in the manual?
Questions and answers