Return the trinomial basis degree k for a characteristic‐2 curve group.

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_get_trinomial_basis(
    EC_GROUP const* group,
    unsigned int* k);

Return Value

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

Parameters

Name

Description

group

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

k

Receives the middle term degree of xˆm + xˆk + 1.

Created with MrDocs