Re: [PATCH v3 1/1] staging: skein: Removes skein_debug include

2014-10-29 Thread Eric Rost
On Wed, 2014-10-29 at 19:12 -0500, Eric Rost wrote: > Removes skein_debug.h include since skein_debug.h is nonexistent. > Removes unneeded debug empty macro defines and their uses. > > Signed-off-by: Eric Rost > --- Jason, I wanted you to take one last look at this before I put

[PATCH v3 1/1] staging: skein: Removes skein_debug include

2014-10-29 Thread Eric Rost
Removes skein_debug.h include since skein_debug.h is nonexistent. Removes unneeded debug empty macro defines and their uses. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.c | 18 - drivers/staging/skein/skein_base.h | 17 - drivers/staging/skein

[PATCH v2 1/1] staging: skein: Removes skein_debug include

2014-10-28 Thread Eric Rost
Removes skein_debug.h include since skein_debug.h is nonexistent. Removes unneeded debug empty macro defines and their uses. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.c | 18 -- drivers/staging/skein/skein_base.h | 17 - drivers/staging

[PATCH v6 7/7] staging: skein: Removes skein_debug include

2014-10-24 Thread Eric Rost
Removes skein_debug.h include since skein_debug.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 0111fa4

[PATCH v6 6/7] staging: skein: Removes unneeded #define

2014-10-24 Thread Eric Rost
Removes unneeded #define SKEIN_PORT_CODE since skein_port.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/skein/skein_base.c b/drivers/staging/skein/skein_base.c index e0994ea..ebc436a 100644

[PATCH v6 4/7] staging: skein: Adds Loadable Module Support

2014-10-24 Thread Eric Rost
Adds loadable module support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/Makefile| 13 +++-- drivers/staging/skein/skein_generic.c | 19 ++- 3 files changed, 26

[PATCH v6 5/7] staging: skein: Inlines rotl_64

2014-10-24 Thread Eric Rost
Inlines the rotl_64 macro. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..0111fa4 100644 --- a

[PATCH v6 3/7] staging: skein: Adds CryptoAPI Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile| 3 +- drivers/staging/skein/skein_base.h| 5 + drivers/staging/skein/skein_generic.c | 199 ++ 3 files changed, 206

[PATCH v6 2/7] staging: skein: Renames skein to skein_base

2014-10-24 Thread Eric Rost
Renames skein.c to skein_base.c and skein.h to skein_base.h in preparation for naming loadable module skein.ko Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile | 2 +- drivers/staging/skein/skein_api.h | 2 +- drivers/staging/skein/{skein.c

[PATCH v6 0/7] staging: skein: CryptoAPI and Module Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI and loadable module support to the Skein Hashing Algorithm. Collapses threefish module into skein module. Renames skein.c and skein.h to skein_base.c and skein_base.h so module can be named skein.ko. Inlines rotl_64 macro. Removes unneeded #define and skein_debug.h include. Eric

[PATCH v6 1/7] staging: skein: Collapses threefish module

2014-10-24 Thread Eric Rost
Collapses threefish module into skein module. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +++--- drivers/staging/skein/Makefile | 11 +-- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/drivers/staging/skein/Kconfig b/drivers/staging

[PATCH v5 7/7] staging: skein: Removes skein_debug include

2014-10-24 Thread Eric Rost
Removes skein_debug.h include since skein_debug.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 0111fa4

[PATCH v5 6/7] staging: skein: Removes unneeded #define

2014-10-24 Thread Eric Rost
Removes unneeded #define SKEIN_PORT_CODE since skein_port.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/skein/skein_base.c b/drivers/staging/skein/skein_base.c index e0994ea..ebc436a 100644

[PATCH v5 5/7] staging: skein: Inlines rotl_64

2014-10-24 Thread Eric Rost
Inlines the rotl_64 macro. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..0111fa4 100644 --- a

[PATCH v5 3/7] staging: skein: Adds CryptoAPI Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile| 3 +- drivers/staging/skein/skein_generic.c | 191 ++ 2 files changed, 193 insertions(+), 1 deletion(-) create mode 100644

[PATCH v5 4/7] staging: skein: Adds Loadable Module Support

2014-10-24 Thread Eric Rost
Adds loadable module support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/Makefile| 13 +++-- drivers/staging/skein/skein_generic.c | 19 ++- 3 files changed, 26

[PATCH v5 1/7] staging: skein: Collapses threefish module

2014-10-24 Thread Eric Rost
Collapses threefish module into skein module. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +++--- drivers/staging/skein/Makefile | 11 +-- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/drivers/staging/skein/Kconfig b/drivers/staging

[PATCH v5 2/7] staging: skein: Renames skein to skein_base

2014-10-24 Thread Eric Rost
Renames skein.c to skein_base.c and skein.h to skein_base.h Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile| 2 +- drivers/staging/skein/skein.c | 883 - drivers/staging/skein/skein.h | 346 - drivers/staging

[PATCH v5 0/7] staging: skein: CryptoAPI and Module Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI and Module support to Skein Hash Algorithm. Also inlines rotl_64 macro, and removes nonexistent header references. Eric Rost (7): staging: skein: Collapses threefish module staging: skein: Renames skein to skein_base staging: skein: Adds CryptoAPI Support staging: skein

Re: [PATCH v4 0/7] staging: skein: CryptoAPI and Module Support

2014-10-24 Thread Eric Rost
On Fri, 2014-10-24 at 06:16 -0500, Eric Rost wrote: > Adds CryptoAPI and Module support to Skein Hash Algorithm. Also inlines > rotl_64 macro, and removes nonexistent header references. This should be [PATCH v5], sorry. -- To unsubscribe from this list: send the line "unsubscribe l

[PATCH v4 7/7] staging: skein: Removes skein_debug include

2014-10-24 Thread Eric Rost
Removes skein_debug.h include since skein_debug.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 0111fa4

[PATCH v4 6/7] staging: skein: Removes unneeded #define

2014-10-24 Thread Eric Rost
Removes unneeded #define SKEIN_PORT_CODE since skein_port.h is nonexistent. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/skein/skein_base.c b/drivers/staging/skein/skein_base.c index e0994ea..ebc436a 100644

[PATCH v4 5/7] staging: skein: Inlines rotl_64

2014-10-24 Thread Eric Rost
Inlines the rotl_64 macro. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..0111fa4 100644 --- a

[PATCH v4 4/7] staging: skein: Adds Loadable Module Support

2014-10-24 Thread Eric Rost
Adds loadable module support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/Makefile| 13 +++-- drivers/staging/skein/skein_generic.c | 19 ++- 3 files changed, 26

[PATCH v4 3/7] staging: skein: Adds CryptoAPI Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI support to the Skein Hashing Algorithm driver. Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile| 3 +- drivers/staging/skein/skein_generic.c | 191 ++ 2 files changed, 193 insertions(+), 1 deletion(-) create mode 100644

[PATCH v4 2/7] staging: skein: Renames skein to skein_base

2014-10-24 Thread Eric Rost
Renames skein.c to skein_base.c and skein.h to skein_base.h Signed-off-by: Eric Rost --- drivers/staging/skein/Makefile| 2 +- drivers/staging/skein/skein.c | 883 - drivers/staging/skein/skein.h | 346 - drivers/staging

[PATCH v4 1/7] staging: skein: Collapses threefish module

2014-10-24 Thread Eric Rost
Collapses threefish module into skein module. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +++--- drivers/staging/skein/Makefile | 11 +-- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/drivers/staging/skein/Kconfig b/drivers/staging

[PATCH v4 0/7] staging: skein: CryptoAPI and Module Support

2014-10-24 Thread Eric Rost
Adds CryptoAPI and Module support to Skein Hash Algorithm. Also inlines rotl_64 macro, and removes nonexistent header references. Eric Rost (7): staging: skein: Collapses threefish module staging: skein: Renames skein to skein_base staging: skein: Adds CryptoAPI Support staging: skein

[PATCH v4 3/3] staging: skein: Inlines rotl_64

2014-10-23 Thread Eric Rost
Inlines the macro definition rotl_64 to avoid bugs. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..769bcb4 100644

[PATCH v4 2/3] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

[PATCH v4 1/3] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +- drivers

[PATCH v4 0/3] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hash Algorithm. Also inlines the rotl_64 macro. Eric Rost (3): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support staging: skein: Inlines rotl_64 drivers/staging/skein/Kconfig | 24

[PATCH v3 2/2] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

[PATCH v3 1/2] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +- drivers

[PATCH v3 0/2] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hashing Algorithm. Eric Rost (2): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support drivers/staging/skein/Kconfig | 24 +- drivers/staging/skein/Makefile| 13 +- drivers/staging/skein

[PATCH v2 2/2] staging: skein: Add Loadable Module Support

2014-10-22 Thread Eric Rost
Adds loadable module support for skein_mod, containing skein256, skein512, and skein1024 algorithms. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 122 ++ 2 files changed, 123 insertions(+), 1

[PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-22 Thread Eric Rost
Adds crypto API support for the skein module. Also collapses the threefish module into the skein module. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +-- drivers/staging/skein/Makefile| 13 ++-- drivers/staging/skein/skein.c | 1 + drivers

[PATCH v2 0/2] staging: skein: Add Crypto API and Loadable Module support

2014-10-22 Thread Eric Rost
This patchset adds crypto api support and loadable module support to the skein driver. Eric Rost (2): staging: skein: Add Crypto API support staging: skein: Add Loadable Module Support drivers/staging/skein/Kconfig | 24 +--- drivers/staging/skein/Makefile| 13 +- drivers

Re: [PATCH v2] staging: skein: Loadable Module Support

2014-10-22 Thread Eric Rost
On Wed, 2014-10-22 at 11:10 -0400, Jason Cooper wrote: > > If you don't mind, could you split this > patch in two? The first integrating into the crypto API (such that > userspace could call into it), and the second enabling loadable module > support? > Will do! >

[PATCH v2] staging: skein: Loadable Module Support

2014-10-21 Thread Eric Rost
Adds loadable module support for Skein256, Skein512, and Skein1024 Hash Algorithms. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 12 + drivers/staging/skein/Makefile| 6 +++ drivers/staging/skein/skein.c | 11 +++- drivers/staging/skein

[PATCH] staging: skein: Loadable Module Support

2014-10-20 Thread Eric Rost
ric.c b/drivers/staging/skein/skein1024_generic.c new file mode 100644 index 000..4152e61 --- /dev/null +++ b/drivers/staging/skein/skein1024_generic.c @@ -0,0 +1,88 @@ +/* + * Cryptographic API. + * + * Skein1024 Hash Algorithm. + * + * Derived from cryptoapi implementation, adapted for in-place

[PATCH v4 2/2] staging: skein: File Reorg

2014-09-30 Thread Eric Rost
Reorganizes file to remove #defines from middle of functions. Also removes #if'd loop declarations and adds ternary if driven loops. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 680 ++- 1 file changed, 351 insertions(+), 329 dele

[PATCH v4 1/2] staging: skein: Whitespace cleanup

2014-09-30 Thread Eric Rost
Pretties up multiline #defines and many other whitespace issues Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 585 +++ 1 file changed, 315 insertions(+), 270 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging

[PATCH v4 0/2] staging: skein: Fixes Conditional white space problems

2014-09-30 Thread Eric Rost
16) + for (r = 1; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024) [...] + { It also removes macro definitions from inside functions and cleans up whitespace issues. Eric Rost (2): staging: skein: Whitespace cleanup staging: skein: File Reorg drivers/staging

Re: [PATCH v3 2/3] drivers: staging: skein: In progress

2014-09-30 Thread Eric Rost
On Tue, 2014-09-30 at 09:21 -0700, Greg KH wrote: > On Tue, Sep 30, 2014 at 02:00:05AM -0500, Eric Rost wrote: > > In progress commit > > Signed-off-by: Eric Rost > > --- > > What does this mean? > > And you need a blank line before your signed-off-by: line. >

[PATCH v3 3/3] staging: skein: File Reorg

2014-09-30 Thread Eric Rost
Reorganizes file to remove #defines from middle of functions. Also removes #if'd loop declarations and adds ternary if driven loops. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 568 ++- 1 file changed, 291 insertions(+), 277 dele

[PATCH v3 2/3] drivers: staging: skein: In progress

2014-09-30 Thread Eric Rost
In progress commit Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 132 +++ 1 file changed, 70 insertions(+), 62 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index 71c14f5..b8e4bd8 100644

[PATCH v3 1/3] staging: skein: Whitespace cleanup

2014-09-30 Thread Eric Rost
Pretties up multiline #defines and many other whitespace issues Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 585 +++ 1 file changed, 315 insertions(+), 270 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging

[PATCH v3 0/3] staging: skein: checkpatch.pl warnings

2014-09-29 Thread Eric Rost
; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024) [...] + { Eric Rost (3): staging: skein: Whitespace cleanup drivers: staging: skein: In progress drivers: staging: skein: File Reorg drivers/staging/skein/skein_block.c | 933 +++ 1 file change

[PATCH v2 4/4] staging: skein: File Reorg

2014-09-29 Thread Eric Rost
Reorganizes file to remove #defines from middle of functions. Also removes #if'd loop declarations and adds ternary if driven loops. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 568 ++- 1 file changed, 291 insertions(+), 277 dele

[PATCH v2 3/4] staging: skein: In progress changes

2014-09-29 Thread Eric Rost
In progress commit Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 132 +++ 1 file changed, 70 insertions(+), 62 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index 71c14f5..b8e4bd8 100644

[PATCH v2 2/4] staging: skein: Additional Whitespace Issues

2014-09-29 Thread Eric Rost
Fixes leading and trailing whitespace issues. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index

[PATCH v2 1/4] staging: skein: Whitespace cleanup

2014-09-29 Thread Eric Rost
Pretties up multiline #defines and many other whitespace issues Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 585 +++ 1 file changed, 315 insertions(+), 270 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging

[PATCH v2 0/4] staging: skein: Fixes whitespace warnings

2014-09-29 Thread Eric Rost
This patchset reorganizes skein_block.c to move macro definitions out of functions, fixes whitspace issues, and removes the need for the #if'd for loops. Eric Rost (4): drivers: staging: skein: Whitespace cleanup drivers: staging: skein: Additional Whitespace Issues drivers: staging:

Re: [PATCH] staging: skein: Fixed Conditional white space problems

2014-09-29 Thread Eric Rost
> >I'll be looking to see that no object > code has changed (./scripts/objdiff) across your patch series. Hmm... I'm thinking of digging into it, but I'm not sure the #if's can be gotten rid of sans object code changes, since its picking codeblocks in the precompiler stage, right? -- To unsubscri

Re: [PATCH] Fixed Conditional white space problems

2014-09-28 Thread Eric Rost
Greg KH wrote: > > > On Sun, Sep 28, 2014 at 04:54:26PM -0500, Eric Rost wrote: > > > > My first patch, resent to appropriate multiple addresses! > > > > > > That's great, but it doesn't belong here in the body of the changelog :) >

[PATCH] staging: skein: Fixed Conditional white space problems

2014-09-28 Thread Eric Rost
16) + for (r = 1; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024) [...] + { Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_b

[PATCH] Fixed Conditional white space problems

2014-09-28 Thread Eric Rost
ode indent for conditional statements (16, 16) + for (r = 1; r <= 2 * RCNT; r += 2 * SKEIN_UNROLL_1024) [...] + { Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s