Return the pentanomial basis degrees k1, k2, k3 for a characteristic‐2 curve group.

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_get_pentanomial_basis(
    EC_GROUP const* group,
    unsigned int* k1,
    unsigned int* k2,
    unsigned int* k3);

Return Value

1 on success, or 0 if group does not use a pentanomial basis.

Parameters

Name

Description

group

EC_GROUP defined over GF(2ˆm) with a pentanomial field polynomial.

k1

Receives the lowest middle‐term degree of xˆm + xˆk3 + xˆk2 + xˆk1 + 1.

k2

Receives the middle middle‐term degree.

k3

Receives the highest middle‐term degree.

Created with MrDocs