Visible to Intel only — GUID: GUID-FA9E8843-CA8A-4258-AE06-8ED236F0D7E8
Visible to Intel only — GUID: GUID-FA9E8843-CA8A-4258-AE06-8ED236F0D7E8
AESSetKey
Resets the AES secret key in the initialized IppsAESSpec context.
Syntax
IppStatus ippsAESSetKey(const Ipp8u* pKey, int keylen, IppsAESSpec* pCtx);
Include Files
ippcp.h
Parameters
pKey |
Pointer to the AES key. |
keylen |
Length of the secret key. |
pCtx |
Pointer to the initialized IppsAESSpec context. |
Description
This function resets the AES secret key in the initialized IppsAESSpec context with the user-supplied secret key.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if the pCtx pointer is NULL. |
ippStsLengthErr |
Returns an error condition if keyLen is not equal to 16, 24, or 32. |
Related Information