[#BN_GF2m_mod_sqr_arr] = BN_GF2m_mod_sqr_arr :mrdocs: Square then reduce in GF(2ˆm) with the modulus given as an int array: r = (a * a) mod p. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_GF2m_mod_sqr_arr( xref:BIGNUM.adoc[BIGNUM]* r, xref:BIGNUM.adoc[BIGNUM] const* a, int const p[], xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *r* | Destination square. | *a* | Value to square. | *p* | Descending exponent list of the irreducible, terminated by ‐1. | *ctx* | BN_CTX scratch space. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#