Advertisement

07.11.2005 at 06:32PM PDT, ID: 21487970
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

AES cipher using openSSL

Asked by choo_chu in Unix Network Security

Tags: ,

Hi All,

I'm having some problems getting the EVP_aes_XXX functions to work in my program.  Here is a little test I wrote to reproduce the problem.

int
main()
{
   unsigned char key[MAX_EVP_KEY_LENGTH]
   Generate_Random_Val( key, MAX_EVP_KEY_LENGTH);
   unsigned char iv[MAX_EVP_IV_LENGTH];
   Generate_Random_Val(iv, MAX_EVP_IV_LENGTH];

   EVP_CIPHER_CTX ctx;
   EVP_EncryptInit(  &ctx,  EVP_aes_256_cbc(),  key, iv );
 
   EVP_EncryptFinal(...);
   return 0;
}

Generate_Random_Val is defined else where and makes random keys for iv and key.
This code compiles, but when it links, it says
   EVP_aes_256_cbc()   is undefined reference, not found.
It finds EVP_EncryptInit and EVP_EncryptFinal, tho and my own functions.

I'm using openSSL 0.9.7g on Solaris 9.
According to the openSSL documentation, AES is supported, but I don't understand why it isn't working.

Any help is appreciated.

Thanks.

Melinda



Start Free Trial
 
Loading Advertisement...
 
[+][-]07.11.2005 at 07:26PM PDT, ID: 14418108

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.12.2005 at 07:03AM PDT, ID: 14421466

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.12.2005 at 07:47AM PDT, ID: 14421962

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.12.2005 at 11:34AM PDT, ID: 14424351

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.12.2005 at 06:58PM PDT, ID: 14427576

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Unix Network Security
Tags: openssl, aes
Sign Up Now!
Solution Provided By: jlevie
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.12.2005 at 08:41PM PDT, ID: 14428019

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.12.2005 at 10:03PM PDT, ID: 14428258

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.13.2005 at 06:49AM PDT, ID: 14430917

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2005 at 08:25AM PDT, ID: 14432092

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.13.2005 at 10:01AM PDT, ID: 14433303

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.13.2005 at 12:21PM PDT, ID: 14434669

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.13.2005 at 12:42PM PDT, ID: 14434881

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081119-EE-VQP-49