Gets the size of the IppsECCBState context.
IppStatus ippsECCBGetSize(int feBitSize, int *pSize);
feBitSize |
Size (in bits) of the field element. |
pSize |
Pointer to the size of the context (in bytes). |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.