Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Kernel Crypto (MD5)

Aram_Havarneanu-2Aram_Havarneanu-2 Member Posts: 161
Hello,

What do you guys use for crypto stuff in the Windows kernel? I know
Vista has documented some of the kernel crypto, but most of us have to
support older systems. At the moment I only need to compute md5 and I
am curious what you guys use, since I've seen people porting OpenSSL
into the kernel and obviously I don't want to go that route.

Thanks,

--
Aram Hăvărneanu

Comments

  • Maxim_S._ShatskihMaxim_S._Shatskih Member Posts: 10,396
    >support older systems. At the moment I only need to compute md5 and I
    >am curious what you guys use, since I've seen people porting OpenSSL

    Porting a single MD5 source file is OK, more so, the algo itself is published in the RFC, so, you can write your own same-kind code and be free from any licensing (open source too).

    Just validate it via the unit test against the known good code.

    --
    Maxim S. Shatskih
    Windows DDK MVP
    xxxxx@storagecraft.com
    http://www.storagecraft.com
  • Aram_Havarneanu-2Aram_Havarneanu-2 Member Posts: 161
    On Mon, Aug 23, 2010 at 6:46 PM, Maxim S. Shatskih
    <xxxxx@storagecraft.com> wrote:
    > Porting a single MD5 source file is OK, more so, the algo itself is published in the RFC, so, you can write your own same-kind code and be free from any licensing (open source too).
    >
    > Just validate it via the unit test against the known good code.

    I have ported md5.c from OpenBSD (to be free from any legalese stuff).
    As the OpenBSD version was from the kernel, it was clean and self
    contained, so porting it was trivial (3 minutes). However, I was
    interested about more complex stuff in case I will ever need it for
    something bigger.

    --
    Aram Hăvărneanu
  • BukesBukes Member Posts: 13
    The Intel Performance Primitives (IPP) package has cryptographic support routines (hashes, block ciphers, etc.), and works in the kernel. Additionally, there is some sample code on their support site that illustrates use of the libraries in Windows and Linux kernel drivers.

    -D
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA