Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-13 Thread Tasos Parisinos
usage in PC world)? Bye for now Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-13 Thread Tasos Parisinos
usage in PC world)? Bye for now Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-12 Thread Tasos Parisinos
On Wed, April 11, 2007 12:14, Tasos Parisinos wrote: If you are a vendor of a smart phone, a router, or worst, a point of sale terminal you care about three things. The first is that the end user can't open the device to probe it or alter it in a way that would create fraud. For example

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-12 Thread Tasos Parisinos
On Wed, April 11, 2007 12:14, Tasos Parisinos wrote: If you are a vendor of a smart phone, a router, or worst, a point of sale terminal you care about three things. The first is that the end user can't open the device to probe it or alter it in a way that would create fraud. For example

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-11 Thread Tasos Parisinos
version of these parts and this will take time. I think it is worth to try to make a version which will use the crypto api glue code and re-post... Best regards Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-11 Thread Tasos Parisinos
version of these parts and this will take time. I think it is worth to try to make a version which will use the crypto api glue code and re-post... Best regards Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-04 Thread Tasos Parisinos
What kind of applications are we talking about here? I'd like to hack hardware I own. payment systems, EMV terminals, mobile phone applications Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-04 Thread Tasos Parisinos
What kind of applications are we talking about here? I'd like to hack hardware I own. payment systems, EMV terminals, mobile phone applications Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
meone root privileged with a good understanding of the system internals. As for Vista, no comments :) Best regards Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at ht

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
Andi Kleen wrote: Tasos Parisinos <[EMAIL PROTECTED]> writes: From: Tasos Parisinos <[EMAIL PROTECTED]> This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the ex

[PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation is not generic but can be used only when the modulus

[PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation is not generic but can be used only when the modulus is odd

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
Andi Kleen wrote: Tasos Parisinos [EMAIL PROTECTED] writes: From: Tasos Parisinos [EMAIL PROTECTED] This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-02 Thread Tasos Parisinos
privileged with a good understanding of the system internals. As for Vista, no comments :) Best regards Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

[PATCH] crypto: RSA algorithm patch (kernel version 2.6.21-rc5-git6)

2007-03-30 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation is not generic but can be used only when the modulus

[PATCH] crypto: RSA algorithm patch (kernel version 2.6.21-rc5-git6)

2007-03-30 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch adds module rsa.ko in the kernel (built-in or as a kernel module) and offers an API to do fast modular exponentiation, using the Montgomery algorithm, thus the exponentiation is not generic but can be used only when the modulus is odd

Re: [PATCH 1/1][NEW] crypto API: rsa algorithm module patch (kernel version 2.6.20.3)

2007-03-22 Thread Tasos Parisinos
r opinion on that? All the other changes suggested where carried out Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-22 Thread Tasos Parisinos
On Wed, March 21, 2007 16:50, Tasos Parisinos wrote: A malicious person may want to alter code on the detachable (and unsafe) file system. Lots of stuff including the kernel will be in a trapped casing (opening, probing it, power analyzing it, heating it etc will result in system suicide

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-22 Thread Tasos Parisinos
On Wed, March 21, 2007 16:50, Tasos Parisinos wrote: A malicious person may want to alter code on the detachable (and unsafe) file system. Lots of stuff including the kernel will be in a trapped casing (opening, probing it, power analyzing it, heating it etc will result in system suicide

Re: [PATCH 1/1][NEW] crypto API: rsa algorithm module patch (kernel version 2.6.20.3)

2007-03-22 Thread Tasos Parisinos
suggested where carried out Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
specific use, other may want to use it to (maybe for the same reasons, who knows) why not make it available? Isn't that what open source is about? And on the bottom line, why not have a module and functionality that Linux competitors provide and advertise? Best Regards Tasos Parisinos

[PATCH 1/1][NEW] crypto API: rsa algorithm module patch (kernel version 2.6.20.3)

2007-03-21 Thread Tasos Parisinos
This patch changes the crypto/Kconfig crypto/Makefile and adds crypto/rsa.c. These files add module named rsa.o (rsa.ko) built-in or as a kernel module and offer an API to do fast modular exponentiation and other multi-precision arithmetics. Signed-off-by: Tasos Parisinos <[EMAIL PROTEC

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
on the previous message the exponent is not 32 bits but 64 bits, sorry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
Indan Zupancic wrote: On Wed, March 21, 2007 14:07, Tasos Parisinos wrote: On Wed, March 21, 2007 10:15, Tasos Parisinos wrote: Protecting a TripleDES key in high security standards is not as simple as making the kernel read protected, you need a whole lot and that also means

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
On Wed, March 21, 2007 10:15, Tasos Parisinos wrote: Protecting a TripleDES key in high security standards is not as simple as making the kernel read protected, you need a whole lot and that also means hardware (cryptomemories e.t.c) So you forget about all this overhead when you use

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
a symmetric scheme Tasos Parisinos - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
Assuming you have a secure kernel binary that is tamper proof, why do you need slow and complex asymmetric encryption again? If you can write protect the kernel, you can also read protect it (or let the boot loader pass the key to the kernel). So what stops you from using a simple symmetric key

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
Assuming you have a secure kernel binary that is tamper proof, why do you need slow and complex asymmetric encryption again? If you can write protect the kernel, you can also read protect it (or let the boot loader pass the key to the kernel). So what stops you from using a simple symmetric key

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
a symmetric scheme Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
On Wed, March 21, 2007 10:15, Tasos Parisinos wrote: Protecting a TripleDES key in high security standards is not as simple as making the kernel read protected, you need a whole lot and that also means hardware (cryptomemories e.t.c) So you forget about all this overhead when you use

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
Indan Zupancic wrote: On Wed, March 21, 2007 14:07, Tasos Parisinos wrote: On Wed, March 21, 2007 10:15, Tasos Parisinos wrote: Protecting a TripleDES key in high security standards is not as simple as making the kernel read protected, you need a whole lot and that also means

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
on the previous message the exponent is not 32 bits but 64 bits, sorry - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH 1/1][NEW] crypto API: rsa algorithm module patch (kernel version 2.6.20.3)

2007-03-21 Thread Tasos Parisinos
This patch changes the crypto/Kconfig crypto/Makefile and adds crypto/rsa.c. These files add module named rsa.o (rsa.ko) built-in or as a kernel module and offer an API to do fast modular exponentiation and other multi-precision arithmetics. Signed-off-by: Tasos Parisinos [EMAIL PROTECTED

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-21 Thread Tasos Parisinos
specific use, other may want to use it to (maybe for the same reasons, who knows) why not make it available? Isn't that what open source is about? And on the bottom line, why not have a module and functionality that Linux competitors provide and advertise? Best Regards Tasos Parisinos

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
code, don't depend anyhow on userland, don't care about elf formats, or where the signature is, or key management, i leave those up to the others to design this is just modular exponentiation as simple as can be Tasos Parisinos - - To unsubscribe from this list: send the line "unsubs

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
Thanks for your comments On Mon, Mar 19, 2007 at 06:22:15PM +0200, Tasos Parisinos wrote: +static inline _i32 rsa_max(_i32 x, _i32 y) +{ +return (x > y)? x: y; +} We've got a max() already. Use tabs. This is right, will be fixed, just hate discipline + +/* + * Module load

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
arithmetics, if any kernel module may need it -- Tasos Parisinos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
arithmetics, if any kernel module may need it -- Tasos Parisinos - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
Thanks for your comments On Mon, Mar 19, 2007 at 06:22:15PM +0200, Tasos Parisinos wrote: +static inline _i32 rsa_max(_i32 x, _i32 y) +{ +return (x y)? x: y; +} We've got a max() already. Use tabs. This is right, will be fixed, just hate discipline + +/* + * Module loading callback

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-20 Thread Tasos Parisinos
code, don't depend anyhow on userland, don't care about elf formats, or where the signature is, or key management, i leave those up to the others to design this is just modular exponentiation as simple as can be Tasos Parisinos - - To unsubscribe from this list: send the line unsubscribe

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1) (and i hope pine does not break it either)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast m

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast m

[PATCH 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos <[EMAIL PROTECTED]> This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast m

[PATCH 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast modular

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast modular

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1) (and i hope pine does not break it either)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast modular