All pastes #408738 Raw Edit

Stuff

public text v1 · immutable
#408738 ·published 2007-03-25 01:54 UTC
rendered paste body
g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen
ChainWalkContext.cpp:14:26: error: openssl/rand.h: No such file or directory
ChainWalkContext.cpp: In member function 'void CChainWalkContext::GenerateRandomIndex()':
ChainWalkContext.cpp:348: error: 'RAND_bytes' was not declared in this scope
HashAlgorithm.cpp:9:34: error: /usr/bin/openssl/des.h: No such file or directory
HashAlgorithm.cpp:10:34: error: /usr/bin/openssl/md5.h: No such file or directory
HashAlgorithm.cpp:11:34: error: /usr/bin/openssl/sha.h: No such file or directory
HashAlgorithm.cpp:16: error: 'des_key_schedule' has not been declared
HashAlgorithm.cpp: In function 'void setup_des_key(unsigned char*, int&)':
HashAlgorithm.cpp:18: error: 'des_cblock' was not declared in this scope
HashAlgorithm.cpp:18: error: expected `;' before 'key'
HashAlgorithm.cpp:20: error: 'key' was not declared in this scope
HashAlgorithm.cpp:30: error: 'des_set_key' was not declared in this scope
HashAlgorithm.cpp: In function 'void HashLM(unsigned char*, int, unsigned char*)':
HashAlgorithm.cpp:45: error: 'des_key_schedule' was not declared in this scope
HashAlgorithm.cpp:45: error: expected `;' before 'ks'
HashAlgorithm.cpp:47: error: 'ks' was not declared in this scope
HashAlgorithm.cpp:48: error: 'des_cblock' was not declared in this scope
HashAlgorithm.cpp:48: error: expected primary-expression before ')' token
HashAlgorithm.cpp:48: error: expected primary-expression before ')' token
HashAlgorithm.cpp:48: error: 'DES_ENCRYPT' was not declared in this scope
HashAlgorithm.cpp:48: error: 'des_ecb_encrypt' was not declared in this scope
HashAlgorithm.cpp: In function 'void HashMD5(unsigned char*, int, unsigned char*)':
HashAlgorithm.cpp:53: error: 'MD5' was not declared in this scope
HashAlgorithm.cpp: In function 'void HashSHA1(unsigned char*, int, unsigned char*)':
HashAlgorithm.cpp:58: error: 'SHA1' was not declared in this scope
make: *** [rtgen] Error 1