Packs/unpacks the IppsRijndael256Spec context into/from a user-defined buffer.
IppStatus ippsRijndael256Pack (const IppsRijndael256Spec* pCtx, Ipp8u* pBuffer);
IppStatus ippsRijndael256Unpack (const Ipp8u* pBuffer, IppsRijndael256Spec* pCtx);
pCtx |
Pointer to the IppsRijndael256Spec context. |
pBuffer |
Pointer to the user-defined buffer. |
This functions are declared in the ippcp.h file. The Rijndael256Pack function transforms the *pCtx context to a position-independent form and stores it in the *pBuffer buffer. The Rijndael256Unpack function performs the inverse operation, that is, transforms the contents of the *pBuffer buffer into a normal IppsRijndael256Spec context. The Rijndael256Pack and Rijndael256Unpack functions enable replacing the position-dependent IppsRijndael256Spec context in the memory.
Call the Rijndael256GetSize function prior to Rijndael256Pack/Rijndael256Unpack to determine the size of the buffer.
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 - 2011, Intel Corporation. All rights reserved.