Skip to contentSkip to conversation

RSA

DISCUSSION Michel Machado 2 participants 3 messages Aug 11, 2011 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi there,

I'm implementing a new network stack in Linux's kernel [1], and I
need a RSA implementation to keep the guarantees of the design [2].

Searching the archive of Linux's mailing lists, I've found that
adding RSA to the kernel has been already tried, but it was left out because the uses were not convincing then.

I intend to submit my work [3, 4] when I get a reasonable working
version. Until there, could anyone point me to a working patch to add RSA to the kernel? The old patch [5] doesn't integrate with the current Crypto API.

Is there hope to have RSA added to Linux? If not for a ready use,
it'd help to experiment with things that are still in the making.

[1] http://www.cs.cmu.edu/~xia/
[2] http://reports-archive.adm.cs.cmu.edu/anon/2011/CMU-CS-11-100.pdf
[3] git://github.com/AltraMayor/XIA-for-Linux.git
[4] git://github.com/AltraMayor/xiaconf.git
[5] http://lwn.net/Articles/228892/

Signature · 2 lines
[ ]'s
Michel Machado
#1 lore raw

Hi,

Please look to the patch just before your email...
[RFC v1.1 2/5] crypto: ksign - digital signature verification support

It implements RSA verification for IMA/EVM.
May be it would be interesting to you.

- Dmitry

Quoted 23 lines · Michel Machado

Hi there,

I'm implementing a new network stack in Linux's kernel [1], and I
need a RSA implementation to keep the guarantees of the design [2].

Searching the archive of Linux's mailing lists, I've found that
adding RSA to the kernel has been already tried, but it was left out because the uses were not convincing then.

I intend to submit my work [3, 4] when I get a reasonable working
version. Until there, could anyone point me to a working patch to add RSA to the kernel? The old patch [5] doesn't integrate with the current Crypto API.

Is there hope to have RSA added to Linux? If not for a ready use,
it'd help to experiment with things that are still in the making.

[1] http://www.cs.cmu.edu/~xia/
[2] http://reports-archive.adm.cs.cmu.edu/anon/2011/CMU-CS-11-100.pdf
[3] git://github.com/AltraMayor/XIA-for-Linux.git
[4] git://github.com/AltraMayor/xiaconf.git
[5] http://lwn.net/Articles/228892/

#2 lore raw

Hi Dmitry,

Thanks for pointing out that patch. I does make bringing a full RSA
API into the kernel easier, but it doesn't do it. I may end up doing it myself, and could certainly use the MPI library you're adding with that patch, but I'd rather not since I already have a lot on my plate.

Signature · 2 lines
[ ]'s
Michel Machado
Quoted 38 lines · Dmitry Kasatkin

Hi,

Please look to the patch just before your email...
[RFC v1.1 2/5] crypto: ksign - digital signature verification support

It implements RSA verification for IMA/EVM.
May be it would be interesting to you.

- Dmitry

Quoted 14 lines · Michel Machado

Hi there,

I'm implementing a new network stack in Linux's kernel [1], and I
need a RSA implementation to keep the guarantees of the design [2].

Searching the archive of Linux's mailing lists, I've found that
adding RSA to the kernel has been already tried, but it was left out because the uses were not convincing then.

I intend to submit my work [3, 4] when I get a reasonable working
version. Until there, could anyone point me to a working patch to add RSA to the kernel? The old patch [5] doesn't integrate with the current Crypto API.

Quoted 9 lines

Is there hope to have RSA added to Linux? If not for a ready use,
it'd help to experiment with things that are still in the making.

[1] http://www.cs.cmu.edu/~xia/
[2] http://reports-archive.adm.cs.cmu.edu/anon/2011/CMU-CS-11-100.pdf
[3] git://github.com/AltraMayor/XIA-for-Linux.git
[4] git://github.com/AltraMayor/xiaconf.git
[5] http://lwn.net/Articles/228892/

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html