silc_pkcs_decrypt_async

SYNOPSIS

    SilcAsyncOperation
    silc_pkcs_decrypt_async(SilcPrivateKey private_key,
                            unsigned char *src,
                            SilcUInt32 src_len,
                            SilcPKCSDecryptCb decrypt_cb,
                            void *context);

DESCRIPTION

Decrypts with the private key. The `decrypt_cb' will be called to deliver the decrypted data. The decryption operation may be asynchronous if the `private_key' is accelerated private key. If this returns NULL the asynchronous operation cannot be controlled.