linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vmx ghash buggy on ppc64le
@ 2017-09-19  3:18 Herbert Xu
  2017-10-16 23:09 ` Paulo Flabiano Smorigo
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2017-09-19  3:18 UTC (permalink / raw)
  To: Paulo Flabiano Smorigo, Linux Crypto Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vmx ghash buggy on ppc64le
  2017-09-19  3:18 vmx ghash buggy on ppc64le Herbert Xu
@ 2017-10-16 23:09 ` Paulo Flabiano Smorigo
  2017-10-17 13:10   ` Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Paulo Flabiano Smorigo @ 2017-10-16 23:09 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linux Crypto Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vmx ghash buggy on ppc64le
  2017-10-16 23:09 ` Paulo Flabiano Smorigo
@ 2017-10-17 13:10   ` Herbert Xu
  0 siblings, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2017-10-17 13:10 UTC (permalink / raw)
  To: Paulo Flabiano Smorigo; +Cc: Linux Crypto Mailing List

On Mon, Oct 16, 2017 at 09:09:53PM -0200, Paulo Flabiano Smorigo wrote:
> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-17 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19  3:18 vmx ghash buggy on ppc64le Herbert Xu
2017-10-16 23:09 ` Paulo Flabiano Smorigo
2017-10-17 13:10   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).