Searched refs:encryptedtext_len (Results 1 – 1 of 1) sorted by relevance
230 int keysize, encryptedtext_len, rsa_buffer_len; in encrypt_rsa_message() local240 encryptedtext_len = RSA_public_encrypt(rsa_buffer_len, rsa_buffer, *encryptedtext, rsa, pad); in encrypt_rsa_message()246 if (encryptedtext_len < 0) { in encrypt_rsa_message()251 return encryptedtext_len; in encrypt_rsa_message()254 int decrypt_rsa_message(const unsigned char *encryptedtext, const int encryptedtext_len, EVP_PKEY *… in decrypt_rsa_message() argument265 BIO *bioBuff = BIO_new_mem_buf((void*)encryptedtext, encryptedtext_len); in decrypt_rsa_message()