[#BN_nist_mod_func] = BN_nist_mod_func :mrdocs: Return a fast modular‐reduction function for a known NIST prime. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int(* BN_nist_mod_func(xref:BIGNUM.adoc[BIGNUM] const* p))(xref:BIGNUM.adoc[BIGNUM]*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BN_CTX.adoc[BN_CTX]*); ---- == Return Value Specialized mod function for `p,` or NULL if `p` is not a built‐in NIST prime. == Parameters [cols="1,4"] |=== | Name| Description | *p* | Prime to look up (for example a BN_get0_nist_prime_* value). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#