Visible to Intel only — GUID: GUID-DE6730AD-79D6-4CA7-9F7E-4F527A33E92A
Visible to Intel only — GUID: GUID-DE6730AD-79D6-4CA7-9F7E-4F527A33E92A
ARCFourInit
Initializes user-supplied memory as the IppsARCFourState context for future use (deprecated).
Syntax
IppStatus ippsARCFourInit(const Ipp8u* pKey, int keyLen, IppsARCFourState* pCtx);
Include Files
ippcp.h
Parameters
pKey |
Pointer to the user-defined key. |
keyLen |
Length of the user-defined key in octets. |
pCtx |
Pointer to the IppsARCFourState context being initialized. |
Description
The function initializes the memory pointed by pCtx as IppsARCFourState context. In addition, the function uses the key to provide all necessary key material for both encryption and decryption operations.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsLengthErr |
Indicates an error condition if keyLen <1 or keyLen >256. |
Related Information