Thread: Problem with a Crypto Library

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Problem with a Crypto Library

    Hi...
    I'm new in this forum, but I like it a lot...

    I've a problem with my new project, I need to do "hmac-sha1" of a part of a file and put the first 16 values of that hash in a new file...

    I've found a libray on "koders" (i don't know if I can post here the link, if I can, I will post it in the next post).

    But if I try to compile it, I will receive this error:
    Code:
    [mpre@mpre-probook e-sec_min]$ gcc e-sec_min.c -o esec
    /tmp/ccn86muF.o: In function `rehash_sec':
    e-sec_min.c:(.text+0x234): undefined reference to `hmac_sha1'
    collect2: ld returned 1 exit status
    In attachment I will put my directory where there are all the file needed by the program.

    Can any of you help me to make working that function?
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Crypto API
    By inferno_gogo in forum C Programming
    Replies: 1
    Last Post: 02-21-2009, 02:04 PM
  2. Crypto API - Import Private Key (DER or PEM)
    By magic.mike in forum Windows Programming
    Replies: 0
    Last Post: 01-14-2009, 08:48 AM
  3. crypto questions
    By talz13 in forum Windows Programming
    Replies: 1
    Last Post: 07-13-2004, 12:20 PM
  4. Binary Tree Crypto
    By Elint in forum C++ Programming
    Replies: 4
    Last Post: 04-14-2004, 06:43 AM