rp->pkcs_alg_len = strlen(rp->pkcs_alg_list);
/* Get supported encryption algorithms */
- rp->enc_alg_list = silc_cipher_get_supported();
+ rp->enc_alg_list = silc_cipher_get_supported(TRUE);
rp->enc_alg_len = strlen(rp->enc_alg_list);
/* Get supported hash algorithms */
/* Sign the hash value */
SILC_FSM_CALL(ske->key_op =
silc_pkcs_sign(ske->private_key, hash, hash_len, FALSE,
- ske->prop->hash,
+ ske->prop->hash, ske->rng,
silc_ske_initiator_sign_cb, ske));
/* NOT REACHED */
}
SILC_FSM_CALL(ske->key_op =
silc_pkcs_verify(ske->prop->public_key, payload->sign_data,
payload->sign_len, hash, hash_len, NULL,
- silc_ske_verify_cb, ske));
+ ske->rng, silc_ske_verify_cb, ske));
/* NOT REACHED */
}
silc_pkcs_verify(ske->prop->public_key,
recv_payload->sign_data,
recv_payload->sign_len,
- hash, hash_len, NULL,
+ hash, hash_len, NULL, ske->rng,
silc_ske_verify_cb, ske));
/* NOT REACHED */
}
/* Sign the hash value */
SILC_FSM_CALL(ske->key_op =
silc_pkcs_sign(ske->private_key, hash, hash_len, FALSE,
- ske->prop->hash,
+ ske->prop->hash, ske->rng,
silc_ske_responder_sign_cb, ske));
/* NOT REACHED */
}