Problems with 'OffloadModExpo'

From: Vitali (vitali@cipheractive.com)
Date: 01/30/03


From: "Vitali" <vitali@cipheractive.com>
Date: Thu, 30 Jan 2003 03:46:12 -0800


I need some help from people who worked with Win2K Server
option of Offloading Modulo Exponentiations from CPU to
Hardware Accelerator.

Here is the discription of the problem.

I'm trying to build an 'OffloadModExpo' function, before
all I must have a working module build on some standard
library functions (If anyone has working one and doesn't
mind sharing it with me I'd appreciate that very much).
>From my part I attach the file I've build.

I've build 'OffloadModExpo' function using GNU standard
library. I've build a test application for it; they both
work, but when I try to use it in the OS I get to the
scenario that means that the OS gets wrong result from my
Offload.

For Debug purposes, inside the 'OffloadModExpo' I print
the Input and Output to a file so when the OS calls to my
Offload I get all the inputs and outputs of the call in
the file.

I've checked the data from the OS calls and it is
consistent, i.e. the output of my function matches the
input.

So I return to the OS the right result, BUT the OS seems
like disregarding it.

The OffloadModExpo function returns only TRUE value.

I'd be very grateful if anyone could help me with this in
any way.