You are right, Linux for i.MX25 provides so called
Freescale Security Hardware API (FSL SHW API), which is intended
for access to security hardware components of Freescale.
To get more details how it may be used with i.MX25, please apply to
1) Chapter 18 (DryIce Driver) of “pdk2009_12_imx25_Linux_RM.pdf”
and
2) DOXYGEN documentation
in Linux documentation package on the Web.
Relevant functions may be found as “fsl_shw_*”.
As has been mentioned, SAHARA is not included in i.MX25,
but some (general purpose, 3DES) crypto acceleration is available
for i.MX25, since the DryIce can work in pair with the SCC,
providing (external) keys.