Rijndael128CCMEncrypt

Encrypts a data buffer in the CCM mode.

Syntax

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

Parameters

pSrc

Pointer to the input plaintext data stream of a variable length.

pDst

Pointer to the resulting ciphertext 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 encrypts the input 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.