/* Accelerate the public key. Returns accelerator context. */
if (!acc->pkcs[i].import_public_key(&acc->pkcs[i], public_key, 0,
&acc_pubkey->context)) {
/* Accelerate the public key. Returns accelerator context. */
if (!acc->pkcs[i].import_public_key(&acc->pkcs[i], public_key, 0,
&acc_pubkey->context)) {
if (!acc->pkcs[i].import_private_key(&acc->pkcs[i], private_key, 0,
&acc_privkey->context)) {
SILC_LOG_ERROR(("Error accelerating private key with accelerator '%s'",
if (!acc->pkcs[i].import_private_key(&acc->pkcs[i], private_key, 0,
&acc_privkey->context)) {
SILC_LOG_ERROR(("Error accelerating private key with accelerator '%s'",