Thank you for the info... I never used external library befor now...
I've tried this command:
Code:
gcc e-sec_min.c hmac-sha1.c hmac.h hmac-md5.c sha1.c sha1.h md5.h md5.c memxor.h memxor.c unlocked-io.h -o esec
and something is changed... now there are an error on memxor.h:
Code:
memxor.h:29:30: error: expected ;, , or ) before dest
This is memxor.h:
Code:
#ifndef MEMXOR_H# define MEMXOR_H
#include <stddef.h>
/* Compute binary exclusive OR of memory areas DEST and SRC, putting
the result in DEST, of length N bytes. Returns a pointer to
DEST. */
void *memxor (void *restrict dest, const void *restrict src, size_t n);
#endif /* MEMXOR_H */
It generate me the file "esec" but if I try to launch it i will receive:
Code:
[root@mpre-probook e-sec_min]# ./esecbash: ./esec: cannot execute binary file
What I'm doing wrong?
Thank you very mutch