cryptlib is distributed under a dual license that allows free, open-source use under a GPL-like license (aka the “Sleepycat” license) and closed-source use under a standard commercial license. In addition, cryptlib is often free for use in low-cost, non-open-source applications such as shareware, and for personal and research use.
cryptlib is multi platform but has a difficult licence:
I believe http://www.libssh.org/ and http://www.libssh2.org/ are better candidates for fpc integration. Both have linux and windows binaries available and both can use openssl for the crypto stuff.
looks like someone has already translated the header files:https://bitbucket.org/ZeljkoMarjanovic/libssh2-delphi/src/9f079e7ddfca/src/
What socket library did you use for the test?