softacc

NAME

    silc_softacc

DESCRIPTION

The software accelerator context. It can be used when initializing the accelerator. It may be used directly with the SILC Accelerator Interface after initialization also.

Softare accelerator need not be registered with silc_acc_register because it is registered automatically in SILC Crypto Toolkit, however it must be initialized.

The software accelerator must be initialized once per application. If it is initialized again it will be uninitialized first automatically and then re-initialized. When it is not needed anymore (usually when the program is ended) it must be uninitialized by calling the silc_acc_uninit.

EXAMPLE

    // Initialize the software accelerator.
    silc_acc_init(SILC_SOFTACC, "min_threads", 2, "max_threads", 8, NULL);