Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: linux-crypto@vger.kernel.org, "David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH 6/7] crypto: serpent: add 8-way parallel x86_64/SSE2 assembler implementation
Date: Wed, 9 Nov 2011 11:44:43 +0800	[thread overview]
Message-ID: <20111109034442.GA15096@gondor.apana.org.au> (raw)
In-Reply-To: <20111017210318.13543.78194.stgit@localhost6.localdomain6>

On Tue, Oct 18, 2011 at 12:03:18AM +0300, Jussi Kivilinna wrote:
> Patch adds x86_64/SSE2 assembler implementation of serpent cipher. Assembler
> functions crypt data in eigth block chunks (two 4 block chunk SSE2 operations
> in parallel to improve performance on out-of-order CPUs). Glue code is based
> on one from AES-NI implementation, so requests from irq context are redirected
> to cryptd.

This doesn't build for me:

  CC [M]  arch/x86/crypto/serpent_sse2_glue.o
arch/x86/crypto/serpent_sse2_glue.c:154: error: ‘THIS_MODULE’ undeclared here (not in a function)
arch/x86/crypto/serpent_sse2_glue.c:716: error: expected declaration specifiers or ‘...’ before string constant
arch/x86/crypto/serpent_sse2_glue.c:716: warning: data definition has no type or storage class
arch/x86/crypto/serpent_sse2_glue.c:716: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCRIPTION’
arch/x86/crypto/serpent_sse2_glue.c:716: warning: function declaration isn’t a prototype
arch/x86/crypto/serpent_sse2_glue.c:717: error: expected declaration specifiers or ‘...’ before string constant
arch/x86/crypto/serpent_sse2_glue.c:717: warning: data definition has no type or storage class
arch/x86/crypto/serpent_sse2_glue.c:717: warning: type defaults to ‘int’ in declaration of ‘MODULE_LICENSE’
arch/x86/crypto/serpent_sse2_glue.c:717: warning: function declaration isn’t a prototype
arch/x86/crypto/serpent_sse2_glue.c:718: error: expected declaration specifiers or ‘...’ before string constant
arch/x86/crypto/serpent_sse2_glue.c:718: warning: data definition has no type or storage class
arch/x86/crypto/serpent_sse2_glue.c:718: warning: type defaults to ‘int’ in declaration of ‘MODULE_ALIAS’
arch/x86/crypto/serpent_sse2_glue.c:718: warning: function declaration isn’t a prototype
make[2]: *** [arch/x86/crypto/serpent_sse2_glue.o] Error 1
make[1]: *** [arch/x86/crypto] Error 2
make: *** [arch/x86] Error 2

So I've applied patches 1-5, please resubmit 6-7 after you've
fixed them up.

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

  reply	other threads:[~2011-11-09  3:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 21:02 [PATCH 0/7] crypto: add SSE2-x86_64/i586 implementation of Serpent cipher Jussi Kivilinna
2011-10-17 21:02 ` [PATCH 1/7] crypto: testmgr: add new serpent test vectors Jussi Kivilinna
2011-10-17 21:02 ` [PATCH 2/7] crypto: tcrypt: add test_acipher_speed Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 3/7] crypto: tcrypt: add serpent speed tests Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 4/7] crypto: serpent: export common functions for x86_64/i386-sse2 assembler implementations Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 5/7] crypto: serpent: rename module from serpent to serpent_generic Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 6/7] crypto: serpent: add 8-way parallel x86_64/SSE2 assembler implementation Jussi Kivilinna
2011-11-09  3:44   ` Herbert Xu [this message]
2011-10-17 21:03 ` [PATCH 7/7] crypto: serpent: add 4-way parallel i586/SSE2 " Jussi Kivilinna

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=20111109034442.GA15096@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=davem@davemloft.net \
    --cc=jussi.kivilinna@mbnet.fi \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox