Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

#define fsl_shw_scco_set_context ( scobject,
sccontext   ) 


copy_bytes((scobject)->context, sccontext,                             \
Set the Context (IV) for a Symmetric Cipher Context.

This is to set the context/IV for FSL_SYM_MODE_CBC mode, or to set the context (the S-Box and pointers) for ARC4. The full context size will be copied.

scobject The context object to operate on.
sccontext A pointer to the buffer which contains the context.

Definition at line 1817 of file sahara.h.

Generated by  Doxygen 1.6.0   Back to index