This is from the Gnu site, and you should be able to call these functions.
GnuPG Made Easy
GPGME (GnuPG Made Easy) is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management
Libgcrypt
Libgcrypt is GNU's basic cryptographic library.