Re: A new idea.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alle 04:05, marted́ 29 ottobre 2002, Tener, Stuart B., IT3 , USNR-R ha 
scritto:
> Crypto listmembers:
>
> 	Has anyone thought about the idea of taking the encryption code
> from loop-aes and making a standardized set of calls out of it and
> packaging it as a loadable module?

I do not know about the AES protocol, in specific, but there are a few crypto 
libraries, most of them available for free at freshmeat and sourceforge, that 
supply you with several cryptographic protocols (DES, RSA, Blowfish, IDEA, 
Gost, etc...) and tools. As long as I know, these libraries are available at 
least for C, C++, Java and Python. Most likely, you can find libraries 
compatible with most of the existing language. A few of these libraries can 
be used as statically linked libraries, as dinamically loadable modules and 
as "components", via CORBA, MS D/COM or KDE DCOP.

If this is what you were thinking about, you will find anyone of these open 
source projects very interesting for you. Have a look at the cryptographic 
sections of freshmeat.net, sourceforge.net and GNU savannah.

>
> 	If this could be done, the system calls could be used by any
> software and distributed independent of the Linux kernel, and be
> standardized for an inordinate number of uses, no?

As long as I know, Loop-AES _is_ usable form any linux software 
(transparently), _is_ distributed indipendently from the Linux Kernel (you 
have to compile and install it by yourself, no?) and _can_ be considered a 
"standard" (as long as the software, no matter which one, does not have to 
worry about it).

>
> 	I am just learning about adding system calls to Linux via
> loadable modules, so its why I am asking this question. I have not read
> the loop-aes code extensively so I do not know if this is technically
> feasible absent an overtly difficult rewrite of the code.
>

Most likely, it is possible, if not easy, to make available the internal 
calls of Loop-AES to external programs. For sure, the AES code is quite 
complex and dealing with it requires a deep understanding of cryptography and 
programming.

(Have a look at the SWIG and SIP tools used to auto-magically transform a 
standard C/C++ program in a library. You can find SIP at the activestate.com 
web site. SWIG should have its own web site and/or a project at sourceforge 
or freshemeat).
 
---------------------
Alessandro Bottoni
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux