Symmetric/Asymmetric Hashing and Random Accelerator (Sahara) Drivers
i.MX51 EVK Linux Reference Manual
23-8
Freescale Semiconductor
23.4
Source Code Structure
lists the source files associated with the SAHARA driver that are available in the directory
<ltib_dir>/rpm/BUILD/linux/drivers/mxc/security/sahara2.
lists the header files associated with the SAHARA driver are found in the directory
<ltib_dir>/rpm/BUILD/linux/drivers/mxc/security/sahara2/include.
Table 23-2. Sahara Source Files
File
Description
sah_driver_interface.c
Sahara low level driver
sah_hardware_interface.c
Provides an interface to the SAHARA hardware registers
sah_interrupt_handler.c
Sahara Interrupt Handler
sah_memory_mapper.c
Re-creates SAHARA Data structures in kernel memory such that they are suitable for DMA
sah_queue.c
Provides FIFO Queue implementation
sah_queue_manager.c
This file provides a Queue Manager implementation. The Queue Manager manages
additions and removal from the queue and updates the status of queue entries. Also calls
sah_HW_*
functions to interact with the hardware.
sah_status_manager.c
Contains functions which processes the SAHARA status registers
sf_util.c
Security Functions component API - Utility functions
fsl_shw_auth.c
Contains the routines which do the combined encryption and authentication
fsl_shw_hash.c
Implements Cryptographic Hashing functions of the API
fsl_shw_hmac.c
Provides HMAC functions of the API
fsl_shw_rand.c
Generates random numbers
fsl_shw_sym.c
Provides Symmetric-Key encryption support for block cipher algorithms
fsl_shw_user.c
Implements user and platform capabilities functions
fsl_shw_wrap.c
Implements Key-Wrap (Black Key) functions
km_adaptor.c
Adaptor provides interface to driver for kernel user
Table 23-3. Sahara Header Files
File
Description
fsl_shw.h
Sahara Definition of the Freescale Security Hardware API
fsl_platform.h
File to isolate code which might be platform-dependent
sahara.h
All of the defines used throughout user and kernel space
sah_driver_common.h
Provides types and defined values for use in the Driver Interface
sah_hardware_interface.h
Provides an interface to the SAHARA hardware registers
sah_interrupt_handler.h
Provides a hardware interrupt handling mechanism for device driver
sah_kernel.h
Provides definitions for items that user-space and kernel-space share
sah_memory_mapper.h
Re-creates SAHARA Data structures in kernel memory such that they are suitable for DMA
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...