ECCBGetSize

Gets the size of the IppsECCBState context.

Syntax

IppStatus ippsECCBGetSize(int feBitSize, int *pSize);

Parameters

feBitSize

Size (in bits) of the field element.

pSize

Pointer to the size of the context (in bytes).

Description

This function is declared in the ippcp.h file.

The function computes the size of the context in bytes for the elliptic cryptosystem over a binary finite field GF (2m).

Context is a structure IppsECCBState designed to store information about the cryptosystem status.

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.

ippStsSizeErr

Indicates an error condition if the value of the parameter feBitSize is less than 1.

Submit feedback on this help topic

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