Initializes user-supplied memory as the IppsDAATDESState context for future use.
IppStatus ippsDAATDESInit(const Ipp8u* pKey, const Ipp8u* pKey2, const Ipp8u* pKey3, IppsDAATDESState* pCtx);
pKey |
Pointer to the TDES key. |
pKey2 |
Pointer to the TDES key. |
pKey3 |
Pointer to the TDES key. |
pCtx |
Pointer to the IppsDAATDESState context being initialized. |
This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as the IppsDAATDESState context. In addition, DAATDESInit 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 - 2010, Intel Corporation. All rights reserved.