Convert a GF(2ˆm) polynomial BIGNUM into a descending exponent index array.
Synopsis
Declared in <openssl/bn.h>
int
BN_GF2m_poly2arr(
BIGNUM const* a,
int p[],
int max);
Return Value
Number of exponents written (excluding ‐1), or 0 if max is too small / on error.
Parameters
Name |
Description |
a |
Polynomial whose set bits become exponents. |
p |
Destination array of size at least |
max |
Capacity of |
Created with MrDocs