X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilcacc%2Fsilcacc_pkcs.c;fp=lib%2Fsilcacc%2Fsilcacc_pkcs.c;h=cc666880811b635db25652f8c69b5a2da000a639;hp=72452920b9dd66344a1a480826bae819405624ac;hb=80dc2a39c614ea1376a2e19ebe2460af11c9afee;hpb=9f20f0382b6229eca740925a73f96294f6dcedc6 diff --git a/lib/silcacc/silcacc_pkcs.c b/lib/silcacc/silcacc_pkcs.c index 72452920..cc666880 100644 --- a/lib/silcacc/silcacc_pkcs.c +++ b/lib/silcacc/silcacc_pkcs.c @@ -332,7 +332,7 @@ SilcPublicKey silc_acc_public_key(SilcAccelerator acc, /* Accelerate the public key. Returns accelerator context. */ if (!acc->pkcs[i].import_public_key(&acc->pkcs[i], public_key, 0, &acc_pubkey->context)) { - SILC_LOG_ERROR(("Error accelerating public key with accelerator '%s'", + SILC_LOG_DEBUG(("Error accelerating public key with accelerator '%s'", acc->name)); silc_free(acc_pubkey); silc_free(pubkey->pkcs); @@ -417,7 +417,8 @@ SilcPrivateKey silc_acc_private_key(SilcAccelerator acc, acc_privkey->acc = acc; acc_privkey->pkcs_index = i; - /* Accelerate the public key. Returns accelerator context. */ + /* Accelerate the public key. Returns accelerator context. The + import_public_key operation is used to accelerate the key. */ 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'",