b2i_PublicKey
EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length);
EVP_PKEY *pkey = b2i_PublicKey(&datap, data_len);