Decrypts a data buffer in the GCM mode.
IppStatus ippsRijndael128GCMDecrypt(const Ipp8u* pSrc, Ipp8u* pDst, Ipp32u len, IppsRijndael128GCMState* pState);
pSrc |
Pointer to the input ciphertext data stream of a variable length. |
pDst |
Pointer to the resulting plaintext data stream. |
len |
Length of the plaintext and ciphertext data stream in bytes. |
pState |
Pointer to the IppsRijndael128GCMState context. |
This function is declared in the ippcp.h file. The function decrypts the input cipher data stream of a variable length according to GCM as specified in [NIST SP 800-38D].
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.