Hello and happy new year,
with joys I have found that there is now a possibility to decrypt cip devices.
But I have problems to compile the decrypter.
Which are required so that packages compile succeeds ?
My System : Debian 5 x86
Installed Packages: make and GCC
Code: Select all
cip-update# make
gcc -O2 -Wall -pedantic -o decrypt_update decrypt_update.c -lcrypto
decrypt_update.c:8:25: error: openssl/evp.h: Datei oder Verzeichnis nicht gefunden
decrypt_update.c:9:25: error: openssl/rsa.h: Datei oder Verzeichnis nicht gefunden
decrypt_update.c:10:25: error: openssl/pem.h: Datei oder Verzeichnis nicht gefunden
decrypt_update.c: In function ?main?:
decrypt_update.c:103: warning: ISO C forbids nested functions
decrypt_update.c:103: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
decrypt_update.c:103: error: ?sha1? undeclared (first use in this function)
decrypt_update.c:103: error: (Each undeclared identifier is reported only once
decrypt_update.c:103: error: for each function it appears in.)
decrypt_update.c:104: warning: ISO C forbids nested functions
decrypt_update.c:104: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
decrypt_update.c:104: warning: ISO C90 forbids mixed declarations and code
decrypt_update.c:104: error: ?aes128cbc? undeclared (first use in this function)
decrypt_update.c:105: error: ?EVP_MD_CTX? undeclared (first use in this function)
decrypt_update.c:105: error: expected ?;? before ?keygen?
decrypt_update.c:106: error: expected ?;? before ?checksum?
decrypt_update.c:107: error: ?EVP_CIPHER_CTX? undeclared (first use in this function)
decrypt_update.c:107: error: expected ?;? before ?decrypt?
decrypt_update.c:108: warning: ISO C90 forbids mixed declarations and code
decrypt_update.c:131: error: ?RSA? undeclared (first use in this function)
decrypt_update.c:131: error: ?pubkey? undeclared (first use in this function)
decrypt_update.c:132: warning: ISO C90 forbids mixed declarations and code
decrypt_update.c:174: warning: implicit declaration of function ?strtoul?
decrypt_update.c:205: warning: implicit declaration of function ?OpenSSL_add_all_algorithms?
decrypt_update.c:210: warning: implicit declaration of function ?EVP_get_digestbyname?
decrypt_update.c:213: warning: implicit declaration of function ?EVP_cleanup?
decrypt_update.c:220: warning: implicit declaration of function ?EVP_get_cipherbyname?
decrypt_update.c:230: warning: implicit declaration of function ?EVP_MD_CTX_init?
decrypt_update.c:230: error: ?keygen? undeclared (first use in this function)
decrypt_update.c:233: warning: implicit declaration of function ?EVP_DigestInit?
decrypt_update.c:236: warning: implicit declaration of function ?EVP_MD_CTX_cleanup?
decrypt_update.c:244: warning: implicit declaration of function ?EVP_DigestUpdate?
decrypt_update.c:256: warning: implicit declaration of function ?EVP_DigestFinal?
decrypt_update.c:283: warning: implicit declaration of function ?EVP_BytesToKey?
decrypt_update.c:283: warning: implicit declaration of function ?EVP_md5?
decrypt_update.c:287: warning: implicit declaration of function ?EVP_CIPHER_CTX_init?
decrypt_update.c:287: error: ?decrypt? undeclared (first use in this function)
decrypt_update.c:289: warning: implicit declaration of function ?EVP_CipherInit?
decrypt_update.c:299: error: ?checksum? undeclared (first use in this function)
decrypt_update.c:304: warning: implicit declaration of function ?EVP_CIPHER_CTX_cleanup?
decrypt_update.c:318: warning: implicit declaration of function ?EVP_CipherUpdate?
decrypt_update.c:345: warning: implicit declaration of function ?EVP_CipherFinal?
decrypt_update.c:402: warning: implicit declaration of function ?PEM_read_RSAPublicKey?
decrypt_update.c:402: warning: comparison between pointer and integer
decrypt_update.c:420: warning: implicit declaration of function ?RSA_free?
decrypt_update.c:484: warning: implicit declaration of function ?free?
decrypt_update.c:484: warning: incompatible implicit declaration of built-in function ?free?
decrypt_update.c:487: warning: implicit declaration of function ?RSA_verify?
decrypt_update.c:487: error: ?NID_sha1? undeclared (first use in this function)
make: *** [decrypt_update] Fehler 1
Sorry for my english, translate by google
regards rubinho
Update:
with the package libssl-dev I get a little further
Code: Select all
make
gcc -O2 -Wall -pedantic -o decrypt_update decrypt_update.c -lcrypto
gcc -O2 -Wall -pedantic -o encrypt_update encrypt_update.c -lcrypto
arm-SamyGO-linux-gnueabi-gcc -O2 -Wall -o game/rsadis.so -s -shared disablesigcheck.c
make: arm-SamyGO-linux-gnueabi-gcc: Kommando nicht gefunden
make: *** [game/rsadis.so] Fehler 127
what is arm-SamyGO-linux-gnueabi-gcc ??? (Sorry... i'm a Tux Compiler Noob)