Encryption algorithm sources - not really FS related

I’m looking for some plain C encryption library sources.
It has to be useable in a VXDs and NT drivers (yes, for encryption
driver).
Since most members of this list have been along this road, I’d like
to ask if any of you have found any good encryption library that can be
used for this purpose.
Frankly, the only C code I found is that from Eric Young (but
available through other libraries only! as it’s no longer available by
itself). It’s great really, except that it has only a small choice of
algorithms.
All ideas appreciated.
Non freeware with source is acceptable, only if the source CAN be
distributed! (with royalty)


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Alfa File Monitor - File monitoring system for Win32 developers.
Alfa File Protector - File protection and hiding system for Win32
developers.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

BeeCrypt, free LPGL. http://www.virtualunlimited.com/products/
OpenSSL, free, LPGL. www.openssl.org
RSA’s products. (bsafe, etc.) Not free.

----- Original Message -----
From: “Dejan Maksimovic”
To: “File Systems Developers”
Sent: Tuesday, December 18, 2001 2:16 PM
Subject: [ntfsd] Encryption algorithm sources - not really FS related

>
> I’m looking for some plain C encryption library sources.
> It has to be useable in a VXDs and NT drivers (yes, for encryption
> driver).
> Since most members of this list have been along this road, I’d like
> to ask if any of you have found any good encryption library that can be
> used for this purpose.
> Frankly, the only C code I found is that from Eric Young (but
> available through other libraries only! as it’s no longer available by
> itself). It’s great really, except that it has only a small choice of
> algorithms.
> All ideas appreciated.
> Non freeware with source is acceptable, only if the source CAN be
> distributed! (with royalty)
>
> –
> Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
> E-mail: xxxxx@alfasp.com
> ICQ#: 56570367
> Alfa File Monitor - File monitoring system for Win32 developers.
> Alfa File Protector - File protection and hiding system for Win32
> developers.
>
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@figure8.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

All of these will need A LOT (oxymoron when talking about drivers?:slight_smile: of
work to work in NT drivers, and not to mention VXDs.
Thanks - any other suggestions?

Regards, Dejan.

William Chow wrote:

BeeCrypt, free LPGL. http://www.virtualunlimited.com/products/
OpenSSL, free, LPGL. www.openssl.org
RSA’s products. (bsafe, etc.) Not free.
> I’m looking for some plain C encryption library sources.
> It has to be useable in a VXDs and NT drivers (yes, for encryption
> driver).
> Since most members of this list have been along this road, I’d like
> to ask if any of you have found any good encryption library that can be
> used for this purpose.
> Frankly, the only C code I found is that from Eric Young (but
> available through other libraries only! as it’s no longer available by
> itself). It’s great really, except that it has only a small choice of
> algorithms.
> All ideas appreciated.
> Non freeware with source is acceptable, only if the source CAN be
> distributed! (with royalty)


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Alfa File Monitor - File monitoring system for Win32 developers.
Alfa File Protector - File protection and hiding system for Win32 developers.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Define “a lot of work.” You’ll obviously need to take the source and modify
the appropriate algorithms to match the appropriate datastructure in a
filter driver (I assume you’re writing a ciphering filter driver). Most of
the algorithms AFAIK take in standard x amount of bytes and spit out the
appropriate ciphered block and have nothing to do with system specific
issues. In my experience (obviously in a nutshell) one takes the appropriate
buffer passed by a FastIO request, divides it into appropriate chunks for
the cipher algorithm, gets the cipher text, and pumps it down the chain.
Reverse for the read request.

----- Original Message -----
From: “Dejan Maksimovic”
To: “File Systems Developers”
Sent: Tuesday, December 18, 2001 4:16 PM
Subject: [ntfsd] Re: Encryption algorithm sources - not really FS related

>
> All of these will need A LOT (oxymoron when talking about drivers?:slight_smile:
of
> work to work in NT drivers, and not to mention VXDs.
> Thanks - any other suggestions?
>
> Regards, Dejan.
>
> William Chow wrote:
>
> > BeeCrypt, free LPGL. http://www.virtualunlimited.com/products/
> > OpenSSL, free, LPGL. www.openssl.org
> > RSA’s products. (bsafe, etc.) Not free.
> > > I’m looking for some plain C encryption library sources.
> > > It has to be useable in a VXDs and NT drivers (yes, for encryption
> > > driver).
> > > Since most members of this list have been along this road, I’d
like
> > > to ask if any of you have found any good encryption library that can
be
> > > used for this purpose.
> > > Frankly, the only C code I found is that from Eric Young (but
> > > available through other libraries only! as it’s no longer available by
> > > itself). It’s great really, except that it has only a small choice of
> > > algorithms.
> > > All ideas appreciated.
> > > Non freeware with source is acceptable, only if the source CAN be
> > > distributed! (with royalty)
>
> –
> Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
> E-mail: xxxxx@alfasp.com
> ICQ#: 56570367
> Alfa File Monitor - File monitoring system for Win32 developers.
> Alfa File Protector - File protection and hiding system for Win32
developers.
>
>
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@figure8.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Define “a lot of work.”

I tried converting the existing code into a LIB that can be compiled into a
SYS driver, and it wasn’t fun! I still didn’t achieve anything.

You’ll obviously need to take the source and modify the appropriate algorithms
to match the appropriate datastructure in a filter driver (I assume you’re
writing a ciphering filter driver). Most of the algorithms AFAIK take in
standard x amount of bytes and spit out the appropriate ciphered block and
have nothing to do with system specific issues. In my experience (obviously in
a nutshell) one takes the appropriate buffer passed by a FastIO request,
divides it into appropriate chunks for the cipher algorithm, gets the cipher
text, and pumps it down the chain.
Reverse for the read request.

The filtering part is easy - it’s the encryption ITSELF that’s not:-(


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Alfa File Monitor - File monitoring system for Win32 developers.
Alfa File Protector - File protection and hiding system for Win32 developers.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

This site has a smorgasboard of source, tools, and crypto-related stuff.

http://tirnanog.ls.fi.upm.es/Servicios/Software/ap_crypt/indice.html

Unfortunately, you’re not going to find exactly what you want. Most
crypto stuff is written for a specific purpose – either a particular
hardware environment (like DES and derivatives) or for performance,
or blocksize or datatype or whatever. I’m not sure I’ve come across
an open source crypto lib specifically written for use by file system
drivers.

OTOH, file systems are usually block oriented devices, way down close
to the hardware. And ciphers typically work on blocks of data. This
commonality should make your life easier, wouldn’t you think?

ERX

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dejan Maksimovic
Sent: Tuesday, December 18, 2001 5:17 PM
To: File Systems Developers
Subject: [ntfsd] Encryption algorithm sources - not really FS related

I’m looking for some plain C encryption library sources.
It has to be useable in a VXDs and NT drivers (yes, for encryption
driver).
Since most members of this list have been along this road, I’d like
to ask if any of you have found any good encryption library that can be
used for this purpose.
Frankly, the only C code I found is that from Eric Young (but
available through other libraries only! as it’s no longer available by
itself). It’s great really, except that it has only a small choice of
algorithms.
All ideas appreciated.
Non freeware with source is acceptable, only if the source CAN be
distributed! (with royalty)


Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Alfa File Monitor - File monitoring system for Win32 developers.
Alfa File Protector - File protection and hiding system for Win32
developers.


You are currently subscribed to ntfsd as: xxxxx@spinnakernet.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com