silc_pkcs_decrypt
SYNOPSIS
SilcBool silc_pkcs_decrypt(SilcPrivateKey private_key, unsigned char *src, SilcUInt32 src_len, unsigned char *dst, SilcUInt32 dst_size, SilcUInt32 *dst_len);
DESCRIPTION
Decrypts with the private key. Returns FALSE on error. The length of the decrypted data is returned to `dst_len' if it is non-NULL.
This call cannot be used if `public_key' is accelerated. All accelerators are usually asynchronous and the function will return before the decryption has been done. In this case the silc_pkcs_decrypt_async should be used.