XCBCRijndael128Init

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

Syntax

IppStatus ippsXCBCRijndael128Init(const Ipp8u* pKey, IppsRijndaelKeyLength keyLen, IppsXCBCRijndael128State* pState);

Parameters

pKey

Pointer to the authentication key.

keyLen

Length of the key.

pState

Pointer to the IppsXCBCRijndael128State context.

Description

This function is declared in the ippcp.h file. The function initializes the memory pointed by pState as the IppsXCBCRijndael128State context.

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 set to IppsRijndaelKey128, IppsRijndaelKey192 or IppsRijndaelKey256.

See Also

Submit feedback on this help topic

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