Speedup multisig using BN_CTX