ARCFourReset

Resets the IppsARCFourState context to the initial state.

Syntax

IppStatus ippsARCFourReset(IppsARCFourState* pCtx);

Parameters

pCtx

Pointer to the IppsARCFourState context being reset.

Description

This function is declared in the ippcp.h file. The function resets the IppsARCFourState context to the state it had immediately after the ARCFourInit function call. Contrary to ARCFourInit, ARCFourReset requires no secret key to initialize the S-Box.

Return Values

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.