Return the trinomial basis degree k for a characteristic-2 curve group.
Declared in <openssl/ec.h>
int
EC_GROUP_get_trinomial_basis(
EC_GROUP const* group,
unsigned int* k);
1 on success, or 0 if group does not use a trinomial basis.
| 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. |