[#EC_GROUP_get_pentanomial_basis] = EC_GROUP_get_pentanomial_basis :mrdocs: Return the pentanomial basis degrees k1, k2, k3 for a characteristic‐2 curve group. == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EC_GROUP_get_pentanomial_basis( xref:EC_GROUP.adoc[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 [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#