Initializes user-supplied memory as the IppsDESSpec context for future use.
IppStatus ippsDESInit(const Ipp8u* pKey, IppsDESSpec* pCtx);
pKey |
Pointer to the DES key. |
pCtx |
Pointer to the IppsDESSpec context being initialized. |
This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as IppsDESSpec context. In addition, the function uses the key to provide all necessary key material for both encryption and decryption operations.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.