BN_gcd
return BN_gcd(r, in_a, in_b, ctx);
int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
BN_gcd(x, x, val, ctx);