DAARijndael256Init

Initializes user-supplied memory as IppsDAARijndael256State context for future use.

Syntax

IppStatus ippsDAARijndael256Init(const Ipp8u* pKey, IppsDAARijndaelKeyLength keyLen, IppsRijndael256State* pCtx);

Parameters

pKey

Pointer to the Rijndael256 key.

keyLen

Key byte stream length in bytes defined by the IppsRijndaelKeyLength enumerator.

pCtx

Pointer to the IppsDAARijndael256State being initialized.

Description

This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as the IppsDAARijndael256State 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 is not equal to IppsRijndaelKey128, IppsRijndaelKey192, or IppsRijndaelKey256.

See Also

Submit feedback on this help topic

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