I don't care about patents whatsoever for a decentralised application but I know Richard Stallman and want to avoid his wrath at all costs, as will be showing him my project so he can kick my ass for the many things that will be wrong with it in his eyes.
Encryption-wise I will be using this as an additional layer of security on top of regular symmetric encryption which I have already implemented. My security consultant advised me to use NTRU.
Thanks for the response, I assume from what you are saying that it is possible to link ANY C library.