|
麻烦大家帮忙看一下,
[root@xserver vfcrack-v0.2]# make
gcc -Wall -O2 -funroll-loops -c -o vfcrack.o vfcrack.c
vfcrack.c:40:25: error: openssl/sha.h: No such file or directory
vfcrack.c:41:25: error: openssl/aes.h: No such file or directory
vfcrack.c:42:26: error: openssl/hmac.h: No such file or directory
vfcrack.c:43:25: error: openssl/evp.h: No such file or directory
In file included from vfcrack.c:46:
common.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hmacsha1_ctx’
common.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘aes_decrypt_key’
vfcrack.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hmacsha1_ctx’
vfcrack.c: In function ‘apple_des3_ede_unwrap_key’:
vfcrack.c:92: error: ‘EVP_CIPHER_CTX’ undeclared (first use in this function)
vfcrack.c:92: error: (Each undeclared identifier is reported only once
vfcrack.c:92: error: for each function it appears in.)
vfcrack.c:92: error: expected ‘;’ before ‘ctx’
vfcrack.c:97: warning: implicit declaration of function ‘EVP_CIPHER_CTX_init’
vfcrack.c:97: error: ‘ctx’ undeclared (first use in this function)
vfcrack.c:103: warning: implicit declaration of function ‘EVP_DecryptInit_ex’
vfcrack.c:103: warning: implicit declaration of function ‘EVP_des_ede3_cbc’
vfcrack.c:105: warning: implicit declaration of function ‘EVP_DecryptUpdate’
vfcrack.c:107: warning: implicit declaration of function ‘EVP_DecryptFinal_ex’
vfcrack.c:110: warning: implicit declaration of function ‘EVP_CIPHER_CTX_cleanup’
vfcrack.c: In function ‘hmac_sha1_vector’:
vfcrack.c:176: error: ‘SHA_CTX’ undeclared (first use in this function)
vfcrack.c:176: error: expected ‘;’ before ‘context’
vfcrack.c:203: warning: implicit declaration of function ‘SHA1_Init’
vfcrack.c:203: error: ‘context’ undeclared (first use in this function)
vfcrack.c:204: warning: implicit declaration of function ‘SHA1_Update’
vfcrack.c:215: warning: implicit declaration of function ‘SHA1_Final’
vfcrack.c: In function ‘pbkdf2_sha1_f’:
vfcrack.c:253: error: ‘SHA_DIGEST_LENGTH’ undeclared (first use in this function)
vfcrack.c:259: warning: initialization makes integer from pointer without a cast
vfcrack.c:268: warning: passing argument 6 of ‘hmac_sha1_vector’ from incompatible pointer type
vfcrack.c:269: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
vfcrack.c:274: warning: passing argument 6 of ‘hmac_sha1_vector’ from incompatible pointer type
vfcrack.c:275: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
vfcrack.c:276: warning: comparison between pointer and integer
vfcrack.c:277: error: invalid operands to binary ^
vfcrack.c:277: error: incompatible types in assignment
vfcrack.c:277: warning: statement with no effect
vfcrack.c:253: warning: unused variable ‘tmp2’
vfcrack.c:253: warning: unused variable ‘tmp’
vfcrack.c: In function ‘pbkdf2_sha1’:
vfcrack.c:290: error: ‘SHA_DIGEST_LENGTH’ undeclared (first use in this function)
vfcrack.c:295: warning: passing argument 7 of ‘pbkdf2_sha1_f’ from incompatible pointer type
vfcrack.c:296: warning: comparison between pointer and integer
vfcrack.c:296: warning: pointer/integer type mismatch in conditional expression
vfcrack.c:296: warning: assignment makes integer from pointer without a cast
vfcrack.c:290: warning: unused variable ‘digest_’
vfcrack.c: In function ‘compute_iv’:
vfcrack.c:326: warning: implicit declaration of function ‘HMAC_Init_ex’
vfcrack.c:326: error: ‘hmacsha1_ctx’ undeclared (first use in this function)
vfcrack.c:327: warning: implicit declaration of function ‘HMAC_Update’
vfcrack.c:328: warning: implicit declaration of function ‘HMAC_Final’
vfcrack.c: In function ‘decrypt_chunk’:
vfcrack.c:337: warning: implicit declaration of function ‘AES_cbc_encrypt’
vfcrack.c:337: error: ‘aes_decrypt_key’ undeclared (first use in this function)
vfcrack.c:337: error: ‘AES_DECRYPT’ undeclared (first use in this function)
vfcrack.c: In function ‘dictfile_v2_found’:
vfcrack.c:343: error: ‘EVP_CIPHER_CTX’ undeclared (first use in this function)
vfcrack.c:343: warning: statement with no effect
vfcrack.c:343: error: expected ‘;’ before ‘ctx’
vfcrack.c:346: error: ‘AES_KEY’ undeclared (first use in this function)
vfcrack.c:346: warning: statement with no effect
vfcrack.c:346: error: expected ‘;’ before ‘aes_decrypt_key’
vfcrack.c:350: error: ‘ctx’ undeclared (first use in this function)
vfcrack.c:365: warning: implicit declaration of function ‘HMAC_CTX_init’
vfcrack.c:365: error: ‘hmacsha1_ctx’ undeclared (first use in this function)
vfcrack.c:366: warning: implicit declaration of function ‘EVP_sha1’
vfcrack.c:367: warning: implicit declaration of function ‘AES_set_decrypt_key’
vfcrack.c:367: error: ‘aes_decrypt_key’ undeclared (first use in this function)
make: *** [vfcrack.o] Error 1 |
|