Gets the size of the IppsGFSpec_8u context in bytes.
IppStatus ippsGFGetSize_8u(int feBitSize, int* pSize);
feBitSize |
Size of the field element (in bits). |
pSize |
Pointer to the size of the context (in bytes). |
This function is declared in the ippdi.h file. The function computes the size of the buffer to be allocated by the application and used in future as the context of the finite field GF(2feBitzise). This context has type IppsGFSpec_8u and is necessary for each operation over the finite field.
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. |
ippStsRangeErr |
Indicates an error condition if the value of the parameter feBitSize is less than 1 or greater than 8. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.