BIO *keybio = BIO_new_mem_buf((void*)strKey.c_str(), strKey.size()); if (keybio==NULL) { printf( "Failed to create key BIO\n"); return NULL; } if( rsaType==Type_RSA_Public_Encrypt||rsaType==Type_RSA_Public_Decrypt) { rsa = PEM_read_bio_RSA_PUBKEY(keybio, &res, NULL...