[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: 'OffloadModExpo' function in Windows Server 2003
From:       Dan Griffin <dangriff () WINDOWS ! MICROSOFT ! COM>
Date:       2003-05-29 14:44:49
[Download RAW message or body]

For this interface, prime1 ("P") will be greater than prime2 ("Q").

Dan Griffin [MS]

-----Original Message-----
From: Microsoft Cryptographic API
[mailto:CryptoAPI@DISCUSS.MICROSOFT.COM] On Behalf Of Vitali
Sent: Thursday, May 29, 2003 12:57 AM
To: CryptoAPI@DISCUSS.MICROSOFT.COM
Subject: Re: 'OffloadModExpo' function in Windows Server 2003


Hello John,

And another little question: are there any assumptions about the two
primes (meaning the first is bigger then the second or versa)?

--
Best regards,
 Vitali                            mailto:vitali@cipheractive.com

Wednesday, May 28, 2003, 7:34:27 PM, you wrote:

JB> I remember suggesting something like this back when the interface 
JB> was being designed, but it didn't happen. I don't really expect this

JB> interface to change any time soon.

JB> It is still possible for an offload module to compute these values 
JB> once and then cache them for use in the future. This should work 
JB> pretty well for most scenarios.

JB> Regards,
JB> John

JB> -----Original Message-----
JB> From: Microsoft Cryptographic API 
JB> [mailto:CryptoAPI@DISCUSS.MICROSOFT.COM] On Behalf Of Vitali
JB> Sent: Wednesday, May 28, 2003 6:36 AM
JB> To: CryptoAPI@DISCUSS.MICROSOFT.COM
JB> Subject: Re: 'OffloadModExpo' function in Windows Server 2003

JB> Hello John,

JB> Thank You, that information is valuable for me.

JB> Actually I thought that it would be a PKCS#1 like structure (meaning

JB> p, q, d_p, d_q and q_inv).

JB> Considering that the information being transferred in 'pReserved' is

JB> for CRT mode calculation I think for a user of 'OffloadModExpo' it 
JB> would be more convenient to get all of the numbers and not 
JB> calculating them. (If it is still changable...;-)

JB> --
JB> Best regards,
JB>  Vitali                            mailto:vitali@cipheractive.com

JB> Wednesday, May 28, 2003, 2:32:43 AM, you wrote:

JB>> If the pReserved pointer isn't NULL then it points to the following

JB>> structure. This should be pretty self explanatory. I'm attempting 
JB>> to

JB>> get this added to MSDN.


JB>> typedef struct _OFFLOAD_PRIVATE_KEY
JB>> {
JB>>     DWORD dwVersion;
JB>>     DWORD cbPrime1;
JB>>     DWORD cbPrime2;
JB>>     PBYTE pbPrime1;             // "p"
JB>>     PBYTE pbPrime2;             // "q"
JB>> } OFFLOAD_PRIVATE_KEY, *POFFLOAD_PRIVATE_KEY;

JB>> #define CUR_OFFLOAD_VERSION             1


JB>> Regards,
JB>> John


JB>> -----Original Message-----
JB>> From: Microsoft Cryptographic API 
JB>> [mailto:CryptoAPI@DISCUSS.MICROSOFT.COM] On Behalf Of Vitali
JB>> Sent: Tuesday, May 27, 2003 7:27 AM
JB>> To: CryptoAPI@DISCUSS.MICROSOFT.COM
JB>> Subject: 'OffloadModExpo' function in Windows Server 2003

JB>> Hello,

JB>> I wounder if there is any documentation about the parameter
JB> 'pReserved'
JB>> in Windows Server 2003.

JB>> In win2K it is NULL, but in windows Server 2003 is not.

JB>> I heard that it is a pointer to some kind of structure for 
JB>> calculating the ModExponent in CRT mode.

JB>> Does anyone have any information about this structure if any?

JB>> --
JB>> Best regards,
JB>>  Vitali                          mailto:vitali@cipheractive.com

JB>> ----------------------------------------------------------------
JB>> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
JB>> contains important info. Save time, search the archives at 
JB>> http://discuss.microsoft.com/archives/index.html . To unsubscribe,
JB>> mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

JB>> ----------------------------------------------------------------
JB>> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
JB>> contains important info. Save time, search the archives at 
JB>> http://discuss.microsoft.com/archives/index.html . To unsubscribe,
JB>> mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

JB> ----------------------------------------------------------------
JB> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
JB> contains important info. Save time, search the archives at 
JB> http://discuss.microsoft.com/archives/index.html . To unsubscribe, 
JB> mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

JB> ----------------------------------------------------------------
JB> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
JB> contains important info. Save time, search the archives at 
JB> http://discuss.microsoft.com/archives/index.html . To unsubscribe, 
JB> mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html . To unsubscribe,
mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic