ECCBGetOrderBitSize

Retrieves order size of the elliptic curve base point over GF(2m) in bits.

Syntax

IppStatus ippsECCBGetOrderBitSize(int* pBitSize, IppsECCBState* pECC);

Parameters

pBitSize

Pointer to the size of the base point (in bits).

pECC

Pointer to the cryptosystem context.

Description

This function is declared in the ippcp.h file.

The function retrieves the order size (in bits) of the elliptic curve base point G from the context of elliptic cryptosystem over a binary finite field GF(2m) and allocates it in accordance with the pointer pBitsSize.

The elliptic curve domain parameters must be hitherto defined by one of the functions: ECCBSet or ECCBSetStd.

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 cryptosystem context is not valid.

Submit feedback on this help topic

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