Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7977061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:05:10+00:00 2026-06-04T09:05:10+00:00

I tried to make simple test program with AES decryption using OpenSSL ibaries. The

  • 0

I tried to make simple test program with AES decryption using OpenSSL ibaries. The compiler/linker shows me an error. Compiler: Dev-Cpp

  [Linker error] undefined reference to `AES_set_decrypt_key'
  [Linker error] undefined reference to `AES_decrypt'  

code:

#include <stdio.h>
#include <openssl/aes.h>
int main(){
AES_KEY k;
unsigned char key[]="2641cf97291c6ea02b930a4e2a824990";
unsigned char in[]="adc8f4ad114433ffaf4597c9738d257c504db763c29d238aa05bd21e1107809f";
unsigned char out[150];

AES_set_decrypt_key(key, 256, &k);
AES_decrypt(in, out, &k);

printf("%s\n", out);

}

Tnx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:05:12+00:00Added an answer on June 4, 2026 at 9:05 am

    You should link against the openssl libraries – add this to your command line: -lssl -lcrypto

    EDIT: you may have to specify explicitly where are the libraries located using the -L option – add a -L<openssl_library_directory> to the command as well

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a simple, test program to experiment using classes. It creates a
I tried to make a simple test with facebox_render and rails 3. Here are
I tried to make an unit test for this method which is pretty simple
I tried to make a simple contact form via HTML and PHP but the
I tried to make a google map where using location ,i get my location's
Does the test of the file-size make sense here? I tried to cut the
I have a very simple game using Xcode v4.2.1, Cocos2d v5.0.1. I've tried both
I tried this simple html: TEST FONT SIZE</br> <input type=button value=test bytton style=font-size:20px> <a
I have just started out in Vala, and I tried to make a simple
I just tried to write a simple C program on OSX Lion #include <stdio.h>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.