I'm trying to use the cryptography pack on Android using Delphi Berlin.
The blog (http://www.tmssoftware.com/site/blog.asp?post=352) says it works on Android, but the only documentation I found (http://www.tmssoftware.biz/Download/Manuals/TMSCryptographyPack.pdf) doesn't show how to.
I open TMSCryptoPkgDXE10.dproj project change the Target platform to Android and it builds successfully, despite not finding where it writes the libTMSCryptoPkgDXE10.so
When try to build the cryptoDemoFMX it gives me the error:
arm-linux-androideabi-ld.exe: error: cannot find -lCrypto
So I got the file libcrytpto.a from https://github.com/emileb/OpenSSL-for-Android-Prebuilt/tree/master/openssl-1.0.2 and put it into the Descriptor, but it din't work too.
After that I got de --libpath: argument from the dccaarm.exe command line (in the Output window) and copied the file into it. Still getting the same error.
Changing the capital letter "C" to libCrytpto.a (althought compiling on Windows, it seems to be case sensitive) it finds de file, but now giving me another error:
MiscObj.o: in function Miscobj::CharToHexa(unsigned char*, int, unsigned char*):MiscObj(.text._ZN7Miscobj10CharToHexaEPhiS0_+0x4): error: undefined reference to 'CharToHexa'
MiscObj.o: in function Miscobj::HexaToChar(unsigned char*, unsigned char*):MiscObj(.text._ZN7Miscobj10HexaToCharEPhS0_+0x4): error: undefined reference to 'HexaToChar'
MiscObj.o: in function Miscobj::Base64ToChar(unsigned char*, unsigned char*):MiscObj(.text._ZN7Miscobj12Base64ToCharEPhS0_+0x4): error: undefined reference to 'Base64ToChar'
Miscobj::CharToBase64(unsigned char*, int, unsigned char*):MiscObj(.text._ZN7Miscobj12CharToBase64EPhiS0_+0x4): error: undefined reference to 'CharToBase64'
Miscobj::ErrorMessage(int, unsigned char*, int):MiscObj(.text._ZN7Miscobj12ErrorMessageEiPhi+0x4): error: undefined reference to 'ErrorMessage'
ESObj.o: in function Aesobj::AES_ECB_EncryptFile(unsigned char*, unsigned char*, unsigned char*, int):AESObj(.text._ZN6Aesobj19AES_ECB_EncryptFileEPhS0_S0_i+0x4): error: undefined reference to 'AES_ECB_EncryptFile'
[and so on...]
It there some tip of how to get it working on Android?