All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: Re: vmx ghash buggy on ppc64le
Date: Mon, 16 Oct 2017 21:09:53 -0200	[thread overview]
Message-ID: <20171016230953.GA13502@dublin> (raw)
In-Reply-To: <20170919031845.GA28732@gondor.apana.org.au>

Tue, Sep 19, 2017 at 11:18:45AM +0800, Herbert Xu wrote:
> Hi:
> 
> I have received a report that ghash on ppc64le does not interoperate
> with other implementations of ghash, e.g., on x86-64.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1490972
> 
> Could you guys take a look at this and see if this is a bug in
> the mainline vmx driver too?
> 
> Thanks!
> -- 
> Email: Herbert Xu <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> 

Hi Herbert,

It seems that this bug is affected by the fact that ctr mode is using
blkcipher for the fallback.

I just sent a patch [1] to make it use skcipher and, since then, ipsec
with  ikev2 and ghash are working fine for ppc64 and ppc64le.

Best regards,

-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center

[1] https://lkml.org/lkml/2017/10/16/911

  reply	other threads:[~2017-10-16 23:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19  3:18 vmx ghash buggy on ppc64le Herbert Xu
2017-10-16 23:09 ` Paulo Flabiano Smorigo [this message]
2017-10-17 13:10   ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171016230953.GA13502@dublin \
    --to=pfsmorigo@linux.vnet.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.