Initializes user-supplied memory as the IppsRijndael192Spec context for future use.
IppStatus ippsRijndael192Init(const Ipp8u *pKey, IppsRijndaelKeyLength keylen, IppsRijndael192Spec* pCtx);
pKey |
Pointer to the Rijndael192 key. |
keylen |
Key byte stream length in bytes as defined by the IppsRijndaelKeyLength enumerator. |
pCtx |
Pointer to the IppsRijndael192Spec context. |
This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as the IppsRijndael192Spec context. In addition, the function uses the key to provide all the necessary key material for both encryption and decryption operations.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.