Rijndael128GCMInit

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

Syntax

IppStatus ippsRijndael128GCMInit(const Ipp8u* pKey, IppsRijndaelKeyLength keyLen, IppsRijndael128GCMState* pState);

Parameters

pKey

Pointer to the secret key.

keyLen

Length of the secret key.

pState

Pointer to the IppsRijndael128GCMState context.

Description

This function is deprecated. Use Rijndael128GCMInitManaged instead of it.

This function is declared in the ippcp.h file. The function initializes the memory pointed by pState as IppsRijndael128GCMState context. In addition, the function uses the initialization variable and additional authenticated data to provide all necessary key material for both encryption and decryption.

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.

ippStsContextMatchErr

Indicates an error condition if the context parameter does not match the operation.

ippStsLengthErr

Indicates an error condition if keyLen is not set to IppsRijndaelKey128, IppsRijndaelKey192 or IppsRijndaelKey256.

Submit feedback on this help topic

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