Rijndael128CCMDecrypt

Decrypts a data buffer in the CCM mode.

Syntax

IppStatus ippsRijndael128CCMDecrypt(const Ipp8u* pSrc, Ipp8u* pDst, Ipp32u len, IppsRijndael128CCMState* pState);

Parameters

pSrc

Pointer to the input ciphertext data stream of 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 IppsRijndael128CCMState context.

Description

This function is declared in the ippcp.h file. The function decrypts the input ciphered data stream of a variable length in the CCM mode as specified in [NIST SP 800-38C].

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.

Submit feedback on this help topic

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