[Swan-dev] sha2 support for klips with cryptoapi

Paul Wouters paul at nohats.ca
Thu Sep 18 19:26:34 EEST 2014


On Thu, 18 Sep 2014, Wolfgang Nothdurft wrote:

> I have added a ticket with an unfinished version.
>
> https://bugs.libreswan.org/show_bug.cgi?id=210

Thanks. A quick peak shows:

+	if (ixt->ixt_a_hmac_set_key==NULL && ixt->ixt_a_hmac_new_key == NULL)
+		barf_out(KERN_ERR "a_hmac_set_key() or a_hmac_new_key() must be not NULL\n");

I think you mean || and not && there?

Hopefully David can have a peek at the patch, he knows much more about
cryptoapi than I do (and might want to get sha2 support in KLIPS as well :)

Paul


More information about the Swan-dev mailing list