RSA_set_ex_data
#define RSA_set_app_data(s,arg) RSA_set_ex_data(s,0,arg)
int RSA_set_ex_data(RSA *r, int idx, void *arg);
RSA_set_ex_data(rsa, 0, keypair->pubkey_hash) == 0) {
RSA_set_ex_data(rsa, 1, ctx->config) == 0 ||
RSA_set_ex_data(rsa, rsa_idx, k11);