Searched refs:encryptedtext (Results 1 – 1 of 1) sorted by relevance
211 int encrypt_rsa_message(const char *plaintext, EVP_PKEY *public_key, unsigned char **encryptedtext)… in encrypt_rsa_message() argument220 *encryptedtext = (unsigned char*)OPENSSL_malloc(keysize); in encrypt_rsa_message()224 encryptedtext_len = RSA_public_encrypt(rsa_buffer_len, rsa_buffer, *encryptedtext, rsa, pad); in encrypt_rsa_message()233 int decrypt_rsa_message(const unsigned char *encryptedtext, const int encryptedtext_len, EVP_PKEY *… in decrypt_rsa_message() argument244 BIO *bioBuff = BIO_new_mem_buf((void*)encryptedtext, encryptedtext_len); in decrypt_rsa_message()