DAATDESInit

Initializes user-supplied memory as the IppsDAATDESState context for future use.

Syntax

IppStatus ippsDAATDESInit(const Ipp8u* pKey, const Ipp8u* pKey2, const Ipp8u* pKey3, IppsDAATDESState* pCtx);

Parameters

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.

Description

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.

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.

See Also

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.